The {@link #transitiveClosureMatrix()} method returns the transitive closure ofthe graph in the form of a two dimensional array. The first dimension represents source node label while the second one represents sink node label. Assume i and j are labels of two nodes. Matrix[i][j] is true if there is a path on the graph from "i" to "j".
@see ptolemy.graph.Graph#nodeLabel @since Ptolemy II 2.0 @Pt.ProposedRating Red (shahrooz) @Pt.AcceptedRating Red (ssb) @author Shahrooz Shahparnia @version $Id: TransitiveClosureAnalysis.java,v 1.18 2005/07/08 19:59:02 cxh Exp $
|
|
|
|