Creates an object representing a mixed graph. The methods that are currently available to be used on the mixed graph include
ancestors
descendants
parents
siblings
isSibling
htrFrom
trFrom
getHalfTrekSystem
getTrekSystem
inducedSubgraph
L
O
nodes
numNodes
stronglyConnectedComponent
tianComponent
tianDecompose
see the individual function documentation for more information.
MixedGraph(
L = matrix(0, 1, 1),
O = matrix(0, 1, 1),
vertexNums = seq(1, length = nrow(L))
)
An object representing the MixedGraph
see graphID
for the appropriate form of L.
as for L.
the labeling of the vertices in the graph in the order of the rows of L and O. Labels must be positive integers.