public interface TransitiveClosureAnalyzer extends GraphAnalyzer
TransitiveClosureAnalysis| Red (ssb) |
| Red (shahrooz) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
pathExistence(Node startNode,
Node endNode)
Check if there exist a path between a starting node "startNode" and an
ending node "endNode" on the graph under analysis.
|
boolean[][] |
transitiveClosureMatrix()
Return the transitive closure of the graph under analysis in the
form of two dimensional array.
|
graphboolean pathExistence(Node startNode, Node endNode)
startNode - The starting node.endNode - The ending node.boolean[][] transitiveClosureMatrix()
transitiveClosureMatrix()[i][j] is true if there
is a path on the graph from "i" to "j".Graph.nodeLabel(ptolemy.graph.Node)