Package org.opentrafficsim.core.gtu
Class GTUCharacteristicsTest
- java.lang.Object
-
- org.opentrafficsim.core.gtu.GTUCharacteristicsTest
-
- All Implemented Interfaces:
Serializable,DSOLModel<Time,Duration,SimTimeDoubleUnit,OTSSimulatorInterface>,DSOLModel.TimeDoubleUnit<OTSSimulatorInterface>,OTSModelInterface
public class GTUCharacteristicsTest extends Object implements OTSModelInterface
Test the GTUCharacteristics classCopyright (c) 2013-2022 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 Mar 11, 2016
- Author:
- Peter Knoppers
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nl.tudelft.simulation.dsol.model.DSOLModel
DSOLModel.TimeDouble<S extends SimulatorInterface<Double,Double,SimTimeDouble>>, DSOLModel.TimeDoubleUnit<S extends SimulatorInterface<Time,Duration,SimTimeDoubleUnit>>, DSOLModel.TimeFloat<S extends SimulatorInterface<Float,Float,SimTimeFloat>>, DSOLModel.TimeFloatUnit<S extends SimulatorInterface<FloatTime,FloatDuration,SimTimeFloatUnit>>, DSOLModel.TimeLong<S extends SimulatorInterface<Long,Long,SimTimeLong>>
-
-
Constructor Summary
Constructors Constructor Description GTUCharacteristicsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconstructModel()StringgetDescription()InputParameterMapgetInputParameterMap()OTSNetworkgetNetwork()ListgetOutputStatistics()StringgetShortName()OTSSimulatorInterfacegetSimulator()StreamInformationgetStreamInformation()voidsetStreamInformation(StreamInformation streamInformation)voidtestGTUCharacteristics()Test the GTUCharacteristics class.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nl.tudelft.simulation.dsol.model.DSOLModel
getDefaultStream, getStream, getStreams, resetStreams
-
-
-
-
Method Detail
-
testGTUCharacteristics
public final void testGTUCharacteristics() throws SimRuntimeException, NamingExceptionTest the GTUCharacteristics class.- Throws:
SimRuntimeException- should never happenNamingException- should never happen
-
constructModel
public final void constructModel() throws SimRuntimeException- Specified by:
constructModelin interfaceDSOLModel<Time,Duration,SimTimeDoubleUnit,OTSSimulatorInterface>- Throws:
SimRuntimeException
-
getNetwork
public final OTSNetwork getNetwork()
- Specified by:
getNetworkin interfaceOTSModelInterface
-
getInputParameterMap
public InputParameterMap getInputParameterMap()
- Specified by:
getInputParameterMapin interfaceDSOLModel<Time,Duration,SimTimeDoubleUnit,OTSSimulatorInterface>
-
getOutputStatistics
public List getOutputStatistics()
- Specified by:
getOutputStatisticsin interfaceDSOLModel<Time,Duration,SimTimeDoubleUnit,OTSSimulatorInterface>
-
getSimulator
public OTSSimulatorInterface getSimulator()
- Specified by:
getSimulatorin interfaceDSOLModel<Time,Duration,SimTimeDoubleUnit,OTSSimulatorInterface>
-
getShortName
public String getShortName()
- Specified by:
getShortNamein interfaceOTSModelInterface
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceOTSModelInterface
-
setStreamInformation
public void setStreamInformation(StreamInformation streamInformation)
- Specified by:
setStreamInformationin interfaceDSOLModel<Time,Duration,SimTimeDoubleUnit,OTSSimulatorInterface>
-
getStreamInformation
public StreamInformation getStreamInformation()
- Specified by:
getStreamInformationin interfaceDSOLModel<Time,Duration,SimTimeDoubleUnit,OTSSimulatorInterface>
-
-