public class DijkstraPathFinder
extends java.lang.Object
| Constructor and Description |
|---|
DijkstraPathFinder(int[] okMapNodes)
Constructor.
|
public DijkstraPathFinder(int[] okMapNodes)
okMapNodes - The map node types that are OK for paths or null if
all nodes are OKpublic java.util.List<MapNode> getShortestPath(MapNode from, MapNode to)
from - The source of the pathto - The destination of the pathpublic void setHost(DTNHost host)
host - Host