Package org.opentrafficsim.core.gtu
Class GtuCharacteristicsTest
java.lang.Object
org.opentrafficsim.core.gtu.GtuCharacteristicsTest
- All Implemented Interfaces:
Serializable,nl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,,OtsSimulatorInterface> OtsModelInterface
Test the GtuCharacteristics class
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Peter Knoppers
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidnl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapfinal Networknl.tudelft.simulation.dsol.experiment.StreamInformationvoidsetStreamInformation(nl.tudelft.simulation.dsol.experiment.StreamInformation streamInformation) final voidTest the GtuCharacteristics class.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nl.tudelft.simulation.dsol.model.DsolModel
getDefaultStream, getStream, getStreams, resetStreams
-
Constructor Details
-
GtuCharacteristicsTest
public GtuCharacteristicsTest()
-
-
Method Details
-
testGtuCharacteristics
@Test public final void testGtuCharacteristics() throws nl.tudelft.simulation.dsol.SimRuntimeException, NamingExceptionTest the GtuCharacteristics class.- Throws:
nl.tudelft.simulation.dsol.SimRuntimeException- should never happenNamingException- should never happen
-
constructModel
public final void constructModel() throws nl.tudelft.simulation.dsol.SimRuntimeException- Specified by:
constructModelin interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,OtsSimulatorInterface> - Throws:
nl.tudelft.simulation.dsol.SimRuntimeException
-
getNetwork
- Specified by:
getNetworkin interfaceOtsModelInterface
-
getInputParameterMap
public nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMap getInputParameterMap()- Specified by:
getInputParameterMapin interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,OtsSimulatorInterface>
-
getOutputStatistics
- Specified by:
getOutputStatisticsin interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,OtsSimulatorInterface>
-
getSimulator
- Specified by:
getSimulatorin interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,OtsSimulatorInterface>
-
getShortName
- Specified by:
getShortNamein interfaceOtsModelInterface
-
getDescription
- Specified by:
getDescriptionin interfaceOtsModelInterface
-
setStreamInformation
public void setStreamInformation(nl.tudelft.simulation.dsol.experiment.StreamInformation streamInformation) - Specified by:
setStreamInformationin interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,OtsSimulatorInterface>
-
getStreamInformation
public nl.tudelft.simulation.dsol.experiment.StreamInformation getStreamInformation()- Specified by:
getStreamInformationin interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,OtsSimulatorInterface>
-