simpleGraph-class {giRaph} | R Documentation |
A class for simple-graphs
Objects can be created by calls of the form new("simpleGraph", ...)
.
adjacencyMatrix
:"adjacencyMatrix"
adjacencyList
:"adjacencyList"
incidenceMatrix
:"incidenceMatrix"
incidenceList
:"incidenceList"
Class "multiGraph"
, directly, with explicit coerce.
Class "generalGraph"
, directly, with explicit coerce.
Class "anyGraph"
, directly, with explicit coerce.
signature(from = "anyGraph", to = "simpleGraph")
:
only ordinary directed and undirected edges, but no loops nor parallel edges, are kept in the conversionsignature(from = "generalGraph", to = "simpleGraph")
:
hyper-edges, loops and parallel edges are lost in the conversionsignature(from = "multiGraph", to = "simpleGraph")
:
loops and parallel edges are lost in the conversionsignature(from = "mathgraph", to = "simpleGraph")
: ... signature(from = "simpleGraph", to = "mathgraph")
: ... signature(object = "simpleGraph")
: gets the adjacency matrix representationsignature(x = "simpleGraph")
: sets the adjacency matrix representationsignature(x = "simpleGraph")
: ... signature(object = "simpleGraph")
: ... Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca
adjacencyMatrix-class
and adjacencyMatrix