net.walend.measured
Class DijkstraShortestGEDistances
java.lang.Object
|
+--net.walend.measured.AbstractShortestGEDistances
|
+--net.walend.measured.DijkstraShortestGEDistances
- All Implemented Interfaces:
- HasState, java.io.Serializable, ShortestGEDistances
- Direct Known Subclasses:
- JITShortestGEDistances, JohnsonShortestGEDistances
- public abstract class DijkstraShortestGEDistances
- extends AbstractShortestGEDistances
- implements ShortestGEDistances, java.io.Serializable
DijkstraShortestGEDistances is an abstract class that holds Dijkstra's algorithm.
- Author:
- David Walend dfw1@cornell.edu
- See Also:
- Serialized Form
Methods inherited from class net.walend.measured.AbstractShortestGEDistances |
bfTest, getBase, getLength, getLength, getPathMeter, getPrincipleInterface, initializeDistances, recalculate, relax, safeLength, sameStateAs, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
heapNodes
private DijkstraShortestGEDistances.HeapNode[] heapNodes
DijkstraShortestGEDistances
public DijkstraShortestGEDistances(IndexedGEDigraph ceDigraph,
GEPathMeter pathMeter)
throws GENegativeWeightCycleException
initWithNodesFrom
protected void initWithNodesFrom(IndexedGEDigraph digraph)
createNode
protected DijkstraShortestGEDistances.HeapNode createNode(java.lang.Object wrappedNode,
int index)
dijkstra
protected void dijkstra(int endIndex)
- Find all of the shortest paths to the node at endIndex.
- Parameters:
endIndex
-
Copyright (c) 2001, 2002, David Walend