ID
- The type of ID, e.g., String or Integerpublic abstract class AbstractGTU<ID> extends Object implements GTU<ID>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
AbstractGTU(ID id,
GTUType<?> gtuType) |
Modifier and Type | Method and Description |
---|---|
GTUType<?> |
getGTUType() |
ID |
getId() |
RelativePosition |
getReference() |
Route |
getRoute() |
void |
setRoute(Route route) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, getFront, getLength, getMaximumVelocity, getRear, getRelativePositions, getSimulator, getWidth
public final ID getId()
public GTUType<?> getGTUType()
getGTUType
in interface GTU<ID>
public final Route getRoute()
public final void setRoute(Route route)
route
- set route.public final RelativePosition getReference()
getReference
in interface GTU<ID>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.