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 = 1:nrow(L))
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.
An object representing the MixedGraph