public class Router
extends java.lang.Object
Constructor and Description |
---|
Router() |
Modifier and Type | Method and Description |
---|---|
static java.util.LinkedList<java.lang.Long> |
shortestPath(GraphDB g,
double stlon,
double stlat,
double destlon,
double destlat)
Return a LinkedList of
Long s representing the shortest path from st to dest,
where each long is a node ID. |
public static java.util.LinkedList<java.lang.Long> shortestPath(GraphDB g, double stlon, double stlat, double destlon, double destlat)
Long
s representing the shortest path from st to dest,
where each long is a node ID.