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
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMap
final Network
nl.tudelft.simulation.dsol.experiment.StreamInformation
void
setStreamInformation
(nl.tudelft.simulation.dsol.experiment.StreamInformation streamInformation) final void
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
-
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:
constructModel
in interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,
OtsSimulatorInterface> - Throws:
nl.tudelft.simulation.dsol.SimRuntimeException
-
getNetwork
- Specified by:
getNetwork
in interfaceOtsModelInterface
-
getInputParameterMap
public nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMap getInputParameterMap()- Specified by:
getInputParameterMap
in interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,
OtsSimulatorInterface>
-
getOutputStatistics
- Specified by:
getOutputStatistics
in interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,
OtsSimulatorInterface>
-
getSimulator
- Specified by:
getSimulator
in interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,
OtsSimulatorInterface>
-
getShortName
- Specified by:
getShortName
in interfaceOtsModelInterface
-
getDescription
- Specified by:
getDescription
in interfaceOtsModelInterface
-
setStreamInformation
public void setStreamInformation(nl.tudelft.simulation.dsol.experiment.StreamInformation streamInformation) - Specified by:
setStreamInformation
in interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,
OtsSimulatorInterface>
-
getStreamInformation
public nl.tudelft.simulation.dsol.experiment.StreamInformation getStreamInformation()- Specified by:
getStreamInformation
in interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,
OtsSimulatorInterface>
-