Class OdApplierTest

java.lang.Object
org.opentrafficsim.road.gtu.strategical.od.OdApplierTest

public class OdApplierTest extends Object

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:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Details

  • Method Details

    • getTime

      final org.djunits.value.vdouble.scalar.Time getTime()
      Returns the set simulation time.
      Returns:
      set simulation time
    • getStream

      final nl.tudelft.simulation.jstats.streams.StreamInterface getStream()
      Returns the set random number stream.
      Returns:
      set random number stream
    • getReplication

      final nl.tudelft.simulation.dsol.experiment.SingleReplication<org.djunits.value.vdouble.scalar.Duration> getReplication()
      Returns the replication.
      Returns:
      replication
    • getSimulator

      final OtsSimulatorInterface getSimulator()
      Returns the simulator.
      Returns:
      simulator
    • headwayGeneratorTest

      @Test public void headwayGeneratorTest() throws org.djunits.value.ValueRuntimeException, NetworkException, org.opentrafficsim.base.parameters.ParameterException, nl.tudelft.simulation.dsol.SimRuntimeException, ProbabilityException, IllegalArgumentException, IllegalAccessException, OtsGeometryException
      Test whether correct headways and frequencies are calculated.
      Throws:
      NetworkException - on exception
      org.djunits.value.ValueRuntimeException - on exception
      nl.tudelft.simulation.dsol.SimRuntimeException - on exception
      org.opentrafficsim.base.parameters.ParameterException - on exception
      ProbabilityException - on exception
      IllegalAccessException - on exception
      IllegalArgumentException - on exception
      OtsGeometryException - on exception
    • gtuFractionTest

      @Test public void gtuFractionTest() throws org.djunits.value.ValueRuntimeException, NetworkException, org.opentrafficsim.base.parameters.ParameterException, nl.tudelft.simulation.dsol.SimRuntimeException, ProbabilityException, GtuException
      Throws:
      org.djunits.value.ValueRuntimeException - on exception
      NetworkException - on exception
      nl.tudelft.simulation.dsol.SimRuntimeException - on exception
      org.opentrafficsim.base.parameters.ParameterException - on exception
      GtuException - on exception
      ProbabilityException - on exception