transitive.closure {RBGL} | R Documentation |
Compute transitive closure of a graph
transitive.closure(g)
g |
an instance of the graph class |
This function calculates the transitive closure of a given graph. See documentation on this function in Boost Graph Library for more details.
A list of
vertices |
the vertices of the transitive closure |
edges |
the edges of the transitive closure |
Li Long <li.long@isb-sib.ch>
Boost Graph Library by Siek et al.
coex <- fromGXL(file(system.file("XML/dijkex.gxl",package="RBGL"), open="r")) transitive.closure(coex)