public class Route
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Constructor and Description |
---|
Route(java.lang.String name,
Road[] roads,
boolean startWithFirstIntersection) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
static Route |
getBestRoute(Intersection from,
Intersection to,
float bestConvoySpeed,
float worstConvoySpeed) |
int |
getBlockedRoadCount() |
Intersection |
getDestinationIntersection() |
java.lang.String |
getName() |
Intersection |
getOriginIntersection() |
Road[] |
getRoads() |
long |
getTravelTime() |
LatLonPoint |
location(long time) |
void |
setName(java.lang.String newName) |
void |
unblockBlockedRoads() |
public Route(java.lang.String name, Road[] roads, boolean startWithFirstIntersection)
public static Route getBestRoute(Intersection from, Intersection to, float bestConvoySpeed, float worstConvoySpeed)
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String getName()
public void setName(java.lang.String newName)
public Road[] getRoads()
public int getBlockedRoadCount()
public void unblockBlockedRoads()
public Intersection getOriginIntersection()
public Intersection getDestinationIntersection()
public long getTravelTime()
public LatLonPoint location(long time)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details