public class DistanceMapImpl extends Object implements DistanceMap
PlanningLocations by reading from a DistanceMatrixRow.| Constructor and Description |
|---|
DistanceMapImpl(DistanceMatrixRow distanceMatrixRow) |
| Modifier and Type | Method and Description |
|---|---|
long |
distanceTo(PlanningLocation location)
Get distance from a reference location to the given location.
|
public DistanceMapImpl(DistanceMatrixRow distanceMatrixRow)
public long distanceTo(PlanningLocation location)
DistanceMapdistanceTo in interface DistanceMaplocation - location the distance of which will be returnedCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.