| anyGraph-class {giRaph} | R Documentation |
A class for graphs of any kind.
Objects can be created by calls of the form new("anyGraph", ...).
An anyGraph object consists of a single slot (incidenceList)
for the only possible representation.
incidenceList:"incidenceList"signature(.Object="anyGraph"):
constructs any graph from incidence list representationsignature(object = "anyGraph"): displays the available representations of any graphsignature(x = "anyGraph"): static graphical representation via package 'mathgraph'signature(object = "anyGraph"):
dynamic graphical representation via package 'dynamicGraph'signature(x = "anyGraph"): sets the incidence list representationsignature(object = "anyGraph"): gets the incidence list representationsignature(x = "anyGraph"): gets the character vertex identifiers of any graphsignature(x = "anyGraph"): sets the character vertex identifiers of any graphsignature(object = "anyGraph"):
returns the number of vertices and the total number of edge occurrences in any graphsignature(object = "anyGraph"):
a graph object is empty if all its possible representations are emptysignature(el = "edge", ou = "anyGraph"):
an edge occurs in a graph object if it occurs in its non-empty slotssignature(x = "anyGraph", y = "anyGraph"):
x and y are the same if their non-empty slots represent the same graphsignature(x = "anyGraph"): extracts an induced subgraphsignature(x = "anyGraph"): extracts the character identifier of a vertexsignature(from = "generalGraph", to = "anyGraph"):
no edges are lost in the conversion to the most general class of graphssignature(from = "multiGraph", to = "anyGraph"):
no edges are lost in the conversion to the most general class of graphssignature(from = "simpleGraph", to = "anyGraph"):
no edges are lost in the conversion to the most general class of graphssignature(from = "anyGraph", to = "dg.graph"):
conversion to class 'dg.graph' of package 'dynamicGraph'signature(e1 = "anyGraph", e2 = "vertexSet"):
adds a vertex set to any graph by making the new vertices isolatedsignature(e1 = "anyGraph", e2 = "vertexSet"):
removes a vertex set from any graph by dropping all edges involving the vertex setsignature(e1 = "anyGraph", e2 = "edge"):
adds an edge to any graphsignature(e1 = "anyGraph", e2 = "edge"):
removes an edge from any graphsignature(e1 = "anyGraph", e2 = "vertexSet"):
restricts any 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.
Coercion to class dg.graph is implemented via coercion to class generalGraph. Graphical
representation via package 'mathgraph' is obtained by means of coercion to class simpleGraph.
Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca
incidenceList-class and incidenceList