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 voidnl.tudelft.simulation.dsol.model.inputparameters.InputParameterMapfinal org.opentrafficsim.core.network.Networkorg.opentrafficsim.core.dsol.OtsSimulatorInterfacenl.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,org.opentrafficsim.core.dsol.OtsSimulatorInterface> - Throws:
nl.tudelft.simulation.dsol.SimRuntimeException
-
getNetwork
public final org.opentrafficsim.core.network.Network getNetwork()- Specified by:
getNetworkin interfaceorg.opentrafficsim.core.dsol.OtsModelInterface
-
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,org.opentrafficsim.core.dsol.OtsSimulatorInterface>
-
getOutputStatistics
- Specified by:
getOutputStatisticsin 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:
getSimulatorin interfacenl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OtsSimulatorInterface>
-
getShortName
- Specified by:
getShortNamein interfaceorg.opentrafficsim.core.dsol.OtsModelInterface
-
getDescription
- Specified by:
getDescriptionin interfaceorg.opentrafficsim.core.dsol.OtsModelInterface
-
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,org.opentrafficsim.core.dsol.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,org.opentrafficsim.core.dsol.OtsSimulatorInterface>
-