multiGraph-class {giRaph} | R Documentation |
A class for multi-graphs.
Objects can be created by calls of the form new("multiGraph", ...)
.
adjacencyList
:"adjacencyList"
incidenceMatrix
:"incidenceMatrix"
incidenceList
:"incidenceList"
Class "generalGraph"
, directly, with explicit coerce.
Class "anyGraph"
, directly, with explicit coerce.
signature(from = "anyGraph", to = "multiGraph")
:
all but ordinary directed and undirected edges are lost in the conversionsignature(from = "generalGraph", to = "multiGraph")
:
hyper-edges are lost in the conversionsignature(from = "simpleGraph", to = "multiGraph")
:
no edges are lost in the conversion as every simple-graph is a multi-graphsignature(object = "multiGraph")
: gets the adjacency list representationsignature(x = "multiGraph")
: sets the adjacency list representationJens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca
adjacencyList-class
and adjacencyList