|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfovis.graph.algorithm.Algorithm
infovis.graph.algorithm.DijkstraShortestPath
public class DijkstraShortestPath
Class DijkstraShortestPath
| Nested Class Summary | |
|---|---|
static class |
DijkstraShortestPath.Predecessor
|
| Field Summary |
|---|
| Fields inherited from class infovis.graph.algorithm.Algorithm |
|---|
BLACK, GREY, WHITE |
| Constructor Summary | |
|---|---|
DijkstraShortestPath(Graph graph)
|
|
DijkstraShortestPath(Graph graph,
boolean cached)
|
|
DijkstraShortestPath(Graph graph,
NumberColumn edgeWeights,
boolean cached)
|
|
| Method Summary | |
|---|---|
static DoubleMatrix2D |
allShortestPaths(Graph graph,
NumberColumn edgeWeights,
DoubleMatrix2D matrix)
|
OpenIntObjectHashMap |
allShortestPaths(int from)
|
double |
getEdgeWeight(int edge)
|
static int |
getPred(Object o)
|
DijkstraShortestPath.Predecessor |
getPredecessor(int from,
DijkstraShortestPath.Predecessor p)
|
static int |
getVertex(Object o)
|
static double |
getWeight(Object o)
|
boolean |
isCached()
|
void |
setCached(boolean cached)
|
DijkstraShortestPath.Predecessor |
shortestPath(int from,
int to)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DijkstraShortestPath(Graph graph,
NumberColumn edgeWeights,
boolean cached)
public DijkstraShortestPath(Graph graph,
boolean cached)
public DijkstraShortestPath(Graph graph)
| Method Detail |
|---|
public static DoubleMatrix2D allShortestPaths(Graph graph,
NumberColumn edgeWeights,
DoubleMatrix2D matrix)
public boolean isCached()
public void setCached(boolean cached)
public double getEdgeWeight(int edge)
public DijkstraShortestPath.Predecessor shortestPath(int from,
int to)
public OpenIntObjectHashMap allShortestPaths(int from)
public static double getWeight(Object o)
public static int getVertex(Object o)
public static int getPred(Object o)
public DijkstraShortestPath.Predecessor getPredecessor(int from,
DijkstraShortestPath.Predecessor p)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||