public class GTUCharacteristics extends Object implements Serializable
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
GTUCharacteristics(GTUType gtuType,
IdGenerator idGenerator,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Length width,
org.djunits.value.vdouble.scalar.Speed maximumSpeed,
OTSDEVSSimulatorInterface simulator,
OTSNetwork network)
Construct a new set of GTUCharacteristics.
|
Modifier and Type | Method and Description |
---|---|
GTUType |
getGTUType()
Retrieve the GTU type.
|
IdGenerator |
getIdGenerator()
Retrieve the id generator.
|
org.djunits.value.vdouble.scalar.Length |
getLength()
Retrieve the length.
|
org.djunits.value.vdouble.scalar.Speed |
getMaximumSpeed()
Retrieve the maximum speed.
|
OTSNetwork |
getNetwork()
Retrieve the network.
|
OTSDEVSSimulatorInterface |
getSimulator()
Retrieve the simulator.
|
org.djunits.value.vdouble.scalar.Length |
getWidth()
Retrieve the width.
|
String |
toString() |
public GTUCharacteristics(GTUType gtuType, IdGenerator idGenerator, org.djunits.value.vdouble.scalar.Length length, org.djunits.value.vdouble.scalar.Length width, org.djunits.value.vdouble.scalar.Speed maximumSpeed, OTSDEVSSimulatorInterface simulator, OTSNetwork network)
gtuType
- GTUType; type of the (not yet constructed) GTUidGenerator
- IdGenerator; the id generator for the (not yet constructed) GTUlength
- Length; the length of the (non yet constructed) GTUwidth
- Length; the width of the (non yet constructed) GTUmaximumSpeed
- Length; the maximum speed of the (non yet constructed) GTUsimulator
- OTSDEVSSimulatorInterface; the simulator that controls the (not yet constructed) GTUnetwork
- OTSNetwork; the network that will contain the GTUpublic final GTUType getGTUType()
public final IdGenerator getIdGenerator()
public final org.djunits.value.vdouble.scalar.Length getLength()
public final org.djunits.value.vdouble.scalar.Length getWidth()
public final org.djunits.value.vdouble.scalar.Speed getMaximumSpeed()
public final OTSDEVSSimulatorInterface getSimulator()
public final OTSNetwork getNetwork()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.