|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransitiveClosureAnalyzer
An interface to the analyzers for the computation of transitive closure of a directed graph.
graph.analysis.TransitiveClosureAnalysis
Method Summary | |
---|---|
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. |
Methods inherited from interface mocgraph.analysis.analyzer.GraphAnalyzer |
---|
graph |
Methods inherited from interface mocgraph.analysis.analyzer.Analyzer |
---|
toString, valid |
Method Detail |
---|
boolean 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.Graph#nodeLabel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |