public static class NeighborsUtil.DistanceGTU extends Object implements Comparable<NeighborsUtil.DistanceGTU>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NeighborsUtil.DistanceGTU o) |
Length |
getDistance()
Returns the distance.
|
LaneBasedGTU |
getGTU()
Returns the GTU.
|
public LaneBasedGTU getGTU()
public Length getDistance()
public int compareTo(NeighborsUtil.DistanceGTU o)
compareTo in interface Comparable<NeighborsUtil.DistanceGTU>Copyright © 2014–2019 Delft University of Technology. All rights reserved.