Function
transitive_closure
Determines whether there is a path between any two given vertices or not.
Parameters
In-parameter:A directed graph. Types: Directed graph | |
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