public class GtuData extends Object implements org.opentrafficsim.kpi.interfaces.GtuDataInterface
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
GtuData(String id,
GtuTypeData gtuType,
RouteData route) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.opentrafficsim.kpi.interfaces.NodeDataInterface |
getDestinationNodeData() |
org.opentrafficsim.kpi.interfaces.GtuTypeDataInterface |
getGtuTypeData() |
String |
getId() |
org.opentrafficsim.kpi.interfaces.NodeDataInterface |
getOriginNodeData() |
org.opentrafficsim.kpi.interfaces.RouteDataInterface |
getRouteData() |
int |
hashCode() |
String |
toString() |
public GtuData(String id, GtuTypeData gtuType, RouteData route)
id
- the idgtuType
- the gtu typeroute
- the routepublic final String getId()
getId
in interface org.opentrafficsim.kpi.interfaces.GtuDataInterface
public final org.opentrafficsim.kpi.interfaces.NodeDataInterface getOriginNodeData()
getOriginNodeData
in interface org.opentrafficsim.kpi.interfaces.GtuDataInterface
public final org.opentrafficsim.kpi.interfaces.NodeDataInterface getDestinationNodeData()
getDestinationNodeData
in interface org.opentrafficsim.kpi.interfaces.GtuDataInterface
public final org.opentrafficsim.kpi.interfaces.GtuTypeDataInterface getGtuTypeData()
getGtuTypeData
in interface org.opentrafficsim.kpi.interfaces.GtuDataInterface
public final org.opentrafficsim.kpi.interfaces.RouteDataInterface getRouteData()
getRouteData
in interface org.opentrafficsim.kpi.interfaces.GtuDataInterface
Copyright © 2014–2016 Delft University of Technology. All rights reserved.