Function
transitive_closure
Determines whether there is a path between any two given vertices or not.
transitive_closure(g, closure)
Parameters
g
In-parameter:A directed graph.
closure
Out-parameter:A matrix which indicates the closure.
Types: Matrix
Remarks: Entry (i,j) in this matrix indicates whether there is a path from i to j in the graph or not.
Return Values
void
Example Programs
SeqAn - Sequence Analysis Library - www.seqan.de