|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AllPairShortestPathAnalyzer
An interface for all the analyzers that compute the all pair shortest path of a directed graph.
AllPairShortestPathAnalysis
| Red (ssb) |
| Red (shahrooz) |
| Method Summary | |
|---|---|
java.util.List |
shortestPath(Node startNode,
Node endNode)
Return the nodes on the shortest path from the node "startNode" to the node "endNode" in the form of an ordered list. |
double |
shortestPathLength(Node startNode,
Node endNode)
Return the length of the shortest path from the node startNode to the node endNode. |
double[][] |
shortestPathMatrix()
A matrix representing the result of the all pair shortest path algorithm. |
| Methods inherited from interface ptolemy.graph.analysis.analyzer.GraphAnalyzer |
|---|
graph |
| Methods inherited from interface ptolemy.graph.analysis.analyzer.Analyzer |
|---|
toString, valid |
| Method Detail |
|---|
java.util.List shortestPath(Node startNode,
Node endNode)
startNode - The starting node of the path.endNode - The ending node of the path.
double shortestPathLength(Node startNode,
Node endNode)
startNode - The starting node of the path.endNode - The end node of the path.
double[][] shortestPathMatrix()
Graph.nodeLabel(ptolemy.graph.Node)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||