Description Objects from the Class Slots Extends Methods Note Author(s) See Also
A class for multi-graphs.
Objects can be created by calls of the form new("multiGraph", ...).
A multiGraph object consists of three slots, one for each possible representation:
adjacencyList, incidenceMatrix and incidenceList.
adjacencyList:Object of class "adjacencyList"
incidenceMatrix:Object of class "incidenceMatrix"
incidenceList:Object of class "incidenceList"
Class "generalGraph", directly, with explicit coerce.
Class "anyGraph", directly, with explicit coerce.
signature(.Object="multiGraph"):
constructs a multi-graph from one of the three possible representations
signature(object = "multiGraph"): displays the available representations of a multi-graph
signature(x = "multiGraph"): static graphical representation via package 'mathgraph'
signature(object = "multiGraph"):
dynamic graphical representation via package 'dynamicGraph'
signature(x = "multiGraph"): sets the incidence list representation
signature(x = "multiGraph"): sets the incidence matrix representation
signature(x = "multiGraph"): sets the adjacency list representation
signature(object = "multiGraph"): gets the incidence list representation
signature(object = "multiGraph"): gets the incidence matrix representation
signature(object = "multiGraph"): gets the adjacency list representation
signature(x = "multiGraph"): gets the character vertex identifiers of a multi-graph
signature(x = "multiGraph"): sets the character vertex identifiers of a multi-graph
signature(object = "multiGraph"):
returns the number of vertices and the total number of edge occurrences in a multi-graph
signature(object = "multiGraph"):
a graph object is empty if all its possible representations are empty
signature(el = "edge", ou = "multiGraph"):
an edge occurs in a graph object if it occurs in its non-empty slots
signature(x = "multiGraph", y = "multiGraph"):
x and y are the same if their non-empty slots represent the same graph
signature(x = "multiGraph"): extracts an induced subgraph
signature(x = "multiGraph"): extracts the character identifier of a vertex
signature(from = "anyGraph", to = "multiGraph"):
all but ordinary directed and undirected edges are lost in the conversion
signature(from = "generalGraph", to = "multiGraph"):
hyper-edges are lost in the conversion
signature(from = "simpleGraph", to = "multiGraph"):
no edges are lost in the conversion as every simple-graph is a multi-graph
signature(from = "multiGraph", to = "dg.simple.graph"):
conversion to class 'dg.simple.graph' of package 'dynamicGraph'
signature(from = "multiGraph", to = "dg.graph"):
conversion to class 'dg.graph' of package 'dynamicGraph'
signature(e1 = "multiGraph", e2 = "vertexSet"):
adds a vertex set to a multi-graph by making the new vertices isolated
signature(e1 = "multiGraph", e2 = "vertexSet"):
removes a vertex set from a multi-graph by dropping all edges involving the vertex set
signature(e1 = "multiGraph", e2 = "edge"):
adds an edge to a multi-graph
signature(e1 = "multiGraph", e2 = "edge"):
removes an edge from a multi-graph
signature(e1 = "multiGraph", e2 = "vertexSet"):
restricts a multi-graph to a vertex set by dropping all edges involving vertices outside the vertex set
Graphical representation via package 'dynamicGraph' is based on coercion to class dg.graph,
implemented via coercion to class dg.simple.graph. Coercion to class dg.simple.graph is
implemented via coercion to class simpleGraph, thus dropping loops and parallel edges. Graphical
representation via package 'mathgraph' is obtained by means of coercion to class simpleGraph.
Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca
adjacencyList-class and adjacencyList
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.