|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrouting.schedule.ScheduleDijkstra
public class ScheduleDijkstra
Dijkstra's shortest path implementation for schedule data
| Constructor Summary | |
|---|---|
ScheduleDijkstra(ScheduleOracle oracle)
Constructor. |
|
| Method Summary | |
|---|---|
java.util.List<ScheduleEntry> |
getShortestPath(java.lang.Integer from,
java.lang.Integer to,
double time)
Finds and returns the fastest path between two destinations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScheduleDijkstra(ScheduleOracle oracle)
oracle - The schedule oracle
all nodes are OK| Method Detail |
|---|
public java.util.List<ScheduleEntry> getShortestPath(java.lang.Integer from,
java.lang.Integer to,
double time)
from - The source of the pathto - The destination of the pathtime - The time when the path starts
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||