Class GtuData
- java.lang.Object
-
- org.opentrafficsim.road.network.sampling.GtuData
-
- All Implemented Interfaces:
Identifiable
,GtuDataInterface
public class GtuData extends Object implements GtuDataInterface
Gtu representation in road sampler.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 13 okt. 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Constructor Summary
Constructors Constructor Description GtuData(LaneBasedGTU gtu)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeData
getDestinationNodeData()
LaneBasedGTU
getGtu()
GtuTypeData
getGtuTypeData()
String
getId()
NodeData
getOriginNodeData()
RouteData
getRouteData()
String
toString()
-
-
-
Constructor Detail
-
GtuData
public GtuData(LaneBasedGTU gtu)
- Parameters:
gtu
- LaneBasedGTU; gtu
-
-
Method Detail
-
getGtu
public final LaneBasedGTU getGtu()
- Returns:
- gtu.
-
getId
public final String getId()
- Specified by:
getId
in interfaceGtuDataInterface
- Specified by:
getId
in interfaceIdentifiable
-
getOriginNodeData
public final NodeData getOriginNodeData()
- Specified by:
getOriginNodeData
in interfaceGtuDataInterface
-
getDestinationNodeData
public final NodeData getDestinationNodeData()
- Specified by:
getDestinationNodeData
in interfaceGtuDataInterface
-
getGtuTypeData
public final GtuTypeData getGtuTypeData()
- Specified by:
getGtuTypeData
in interfaceGtuDataInterface
-
getRouteData
public final RouteData getRouteData()
- Specified by:
getRouteData
in interfaceGtuDataInterface
-
-