public class BellmanFordShortestPathAlgorithm extends AbstractShortestPathAlgorithm
| Constructor and Description |
|---|
BellmanFordShortestPathAlgorithm(org.gephi.graph.api.DirectedGraph graph,
org.gephi.graph.api.Node sourceNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
compute() |
Map<org.gephi.graph.api.Node,org.gephi.graph.api.Edge> |
getPredecessors() |
getDistances, getMaxDistance, getPredecessor, getPredecessorIncomingpublic BellmanFordShortestPathAlgorithm(org.gephi.graph.api.DirectedGraph graph,
org.gephi.graph.api.Node sourceNode)
public void compute()
compute in class AbstractShortestPathAlgorithmpublic Map<org.gephi.graph.api.Node,org.gephi.graph.api.Edge> getPredecessors()
getPredecessors in class AbstractShortestPathAlgorithmCopyright © 2007–2017. All rights reserved.