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,
,org.opentrafficsim.core.dsol.OtsSimulatorInterface> org.opentrafficsim.core.dsol.OtsModelInterface
public class GtuCharacteristicsTest
extends Object
implements org.opentrafficsim.core.dsol.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 void
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterMap
final org.opentrafficsim.core.network.Network
org.opentrafficsim.core.dsol.OtsSimulatorInterface
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,
org.opentrafficsim.core.dsol.OtsSimulatorInterface> - Throws:
nl.tudelft.simulation.dsol.SimRuntimeException
-
getNetwork
public final org.opentrafficsim.core.network.Network getNetwork()- Specified by:
getNetwork
in interfaceorg.opentrafficsim.core.dsol.OtsModelInterface
-
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,
org.opentrafficsim.core.dsol.OtsSimulatorInterface>
-
getOutputStatistics
- Specified by:
getOutputStatistics
in interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,
org.opentrafficsim.core.dsol.OtsSimulatorInterface>
-
getSimulator
public org.opentrafficsim.core.dsol.OtsSimulatorInterface getSimulator()- Specified by:
getSimulator
in interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,
org.opentrafficsim.core.dsol.OtsSimulatorInterface>
-
getShortName
- Specified by:
getShortName
in interfaceorg.opentrafficsim.core.dsol.OtsModelInterface
-
getDescription
- Specified by:
getDescription
in interfaceorg.opentrafficsim.core.dsol.OtsModelInterface
-
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,
org.opentrafficsim.core.dsol.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,
org.opentrafficsim.core.dsol.OtsSimulatorInterface>
-