Serialized Form

  • Package org.opentrafficsim.demo

    • Class org.opentrafficsim.demo.CircularRoadModel

      class CircularRoadModel extends org.opentrafficsim.core.dsol.AbstractOtsModel implements Serializable
      serialVersionUID:
      20141121L
      • Serialized Fields

        • carProbability
          double carProbability
          The probability that the next generated GTU is a passenger car.
        • carsCreated
          int carsCreated
          Number of cars created.
        • minimumDistance
          org.djunits.value.vdouble.scalar.Length minimumDistance
          Minimum distance.
        • network
          org.opentrafficsim.road.network.RoadNetwork network
          The RoadNetwork.
        • parametersCar
          org.opentrafficsim.base.parameters.Parameters parametersCar
          Car parameters.
        • parametersTruck
          org.opentrafficsim.base.parameters.Parameters parametersTruck
          Truck parameters.
        • paths
          List<List<org.opentrafficsim.road.network.lane.Lane>> paths
          The sequence of Lanes that all vehicles will follow.
        • speedLimit
          org.djunits.value.vdouble.scalar.Speed speedLimit
          The speed limit.
        • strategicalPlannerGeneratorCars
          org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalPlannerFactory<?> strategicalPlannerGeneratorCars
          Strategical planner generator for cars.
        • strategicalPlannerGeneratorTrucks
          org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalPlannerFactory<?> strategicalPlannerGeneratorTrucks
          Strategical planner generator for trucks.
        • stream
          nl.tudelft.simulation.jstats.streams.StreamInterface stream
          The random number generator used to decide what kind of GTU to generate etc.
    • Class org.opentrafficsim.demo.CircularRoadSwing

      class CircularRoadSwing extends OtsSimulationApplication<CircularRoadModel> implements Serializable
      serialVersionUID:
      1L
    • Class org.opentrafficsim.demo.HumanFactorsDemo

      serialVersionUID:
      20241012L
    • Class org.opentrafficsim.demo.HumanFactorsDemo.HumanFactorsModel

      class HumanFactorsModel extends org.opentrafficsim.core.dsol.AbstractOtsModel implements Serializable
      serialVersionUID:
      20241012L
      • Serialized Fields

        • characteristics
          org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGtuCharacteristicsGeneratorOd characteristics
          Characteristics generator.
        • network
          org.opentrafficsim.road.network.RoadNetwork network
          The network.
    • Class org.opentrafficsim.demo.NetworksModel

      class NetworksModel extends org.opentrafficsim.core.dsol.AbstractOtsModel implements Serializable
      serialVersionUID:
      20140815L
      • Serialized Fields

        • carProbability
          double carProbability
          The probability that the next generated GTU is a passenger car.
        • headwayGenerator
          nl.tudelft.simulation.jstats.distributions.DistContinuous headwayGenerator
          The probability distribution for the variable part of the headway.
        • idGenerator
          org.opentrafficsim.core.idgenerator.IdGenerator idGenerator
          Id generator (used by all generators).
        • knownGTUs
          Set<org.opentrafficsim.core.gtu.Gtu> knownGTUs
          The set of GTUs that we want to sample regularly.
        • maximumDistance
          org.djunits.value.vdouble.scalar.Length maximumDistance
          Maximum distance.
        • minimumDistance
          org.djunits.value.vdouble.scalar.Length minimumDistance
          Minimum distance.
        • network
          org.opentrafficsim.road.network.RoadNetwork network
          The network.
        • paths
          List<List<org.opentrafficsim.road.network.lane.Lane>> paths
          The sequence of Lanes that all vehicles will follow.
        • routeGeneratorMain
          org.opentrafficsim.core.distributions.Generator<org.opentrafficsim.core.network.route.Route> routeGeneratorMain
          The route generator for the main line.
        • routeGeneratorRamp
          org.opentrafficsim.core.distributions.Generator<org.opentrafficsim.core.network.route.Route> routeGeneratorRamp
          The route generator for the onramp.
        • speedLimit
          org.djunits.value.vdouble.scalar.Speed speedLimit
          The speed limit.
        • strategicalPlannerFactoryCars
          org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalPlannerFactory<?> strategicalPlannerFactoryCars
          Strategical planner generator for cars.
        • strategicalPlannerFactoryTrucks
          org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalPlannerFactory<?> strategicalPlannerFactoryTrucks
          Strategical planner generator for trucks.
        • stream
          nl.tudelft.simulation.jstats.streams.StreamInterface stream
          The random number generator used to decide what kind of GTU to generate.
    • Class org.opentrafficsim.demo.NetworksSwing

      class NetworksSwing extends OtsSimulationApplication<NetworksModel> implements Serializable
      serialVersionUID:
      1L
    • Class org.opentrafficsim.demo.RampMeteringDemo

      class RampMeteringDemo extends AbstractSimulationScript implements Serializable
      • Serialized Fields

        • acceptedGap
          org.djunits.value.vdouble.scalar.Duration acceptedGap
          Accepted gap.
        • definitions
          org.opentrafficsim.core.definitions.Definitions definitions
          Stores defintions such as GtuTypes.
        • demandTime
          org.djunits.value.vdouble.vector.TimeVector demandTime
          Demand time.
        • demandTimeString
          String demandTimeString
          Demand time string.
        • gtusInSimulation
          Map<String,Double> gtusInSimulation
          GTUs in simulation.
        • mainDemand
          org.djunits.value.vdouble.vector.FrequencyVector mainDemand
          Main demand.
        • mainDemandString
          String mainDemandString
          Main demand string.
        • output
          boolean output
          Whether to generate output.
        • parameterFactory
          org.opentrafficsim.core.parameters.ParameterFactoryByType parameterFactory
          Parameter factory.
        • rampDemand
          org.djunits.value.vdouble.vector.FrequencyVector rampDemand
          Ramp demand.
        • rampDemandString
          String rampDemandString
          Ramp demand string.
        • rampMetering
          boolean rampMetering
          Ramp metering.
        • scenario
          String scenario
          Scenario.
        • totalTravelTime
          double totalTravelTime
          Total travel time, accumulated.
        • totalTravelTimeDelay
          double totalTravelTimeDelay
          Total travel time delay, accumulated.
    • Class org.opentrafficsim.demo.ShortMerge

      serialVersionUID:
      20170407L
    • Class org.opentrafficsim.demo.ShortMerge.ShortMergeModel

      class ShortMergeModel extends org.opentrafficsim.core.dsol.AbstractOtsModel implements Serializable
      serialVersionUID:
      20170407L
      • Serialized Fields

        • network
          org.opentrafficsim.road.network.RoadNetwork network
          The network.
    • Class org.opentrafficsim.demo.StraightModel

      class StraightModel extends org.opentrafficsim.core.dsol.AbstractOtsModel implements Serializable
      serialVersionUID:
      20140815L
      • Serialized Fields

        • block
          org.opentrafficsim.road.network.lane.object.trafficlight.TrafficLight block
          The blocking, implemented as a traffic light.
        • carProbability
          double carProbability
          The probability that the next generated GTU is a passenger car.
        • lane
          org.opentrafficsim.road.network.lane.Lane lane
          The Lane that contains the simulated Cars.
        • maximumDistance
          org.djunits.value.vdouble.scalar.Length maximumDistance
          Maximum distance.
        • network
          org.opentrafficsim.road.network.RoadNetwork network
          The network.
        • path
          List<org.opentrafficsim.road.network.lane.Lane> path
          The sequence of Lanes that all vehicles will follow.
        • speedLimit
          org.djunits.value.vdouble.scalar.Speed speedLimit
          The speed limit on all Lanes.
        • stream
          nl.tudelft.simulation.jstats.streams.StreamInterface stream
          The random number generator used to decide what kind of GTU to generate.
    • Class org.opentrafficsim.demo.StraightSwing

      class StraightSwing extends OtsSimulationApplication<StraightModel> implements Serializable
      serialVersionUID:
      1L
    • Class org.opentrafficsim.demo.SuperDemo

      class SuperDemo extends JFrame implements Serializable
      serialVersionUID:
      1L
      • Serialized Fields

        • demos
          List<org.opentrafficsim.demo.SuperDemo.Demo> demos
          demos to show.
  • Package org.opentrafficsim.demo.conflict

  • Package org.opentrafficsim.demo.fd

    • Class org.opentrafficsim.demo.fd.FundamentalDiagramDemo

      class FundamentalDiagramDemo extends AbstractSimulationScript implements Serializable
      serialVersionUID:
      20200509L
      • Serialized Fields

        • absoluteCrossSection1
          String absoluteCrossSection1
          Selected cross-section.
        • absoluteCrossSection2
          String absoluteCrossSection2
          Second selected cross-section.
        • absoluteCrossSection3
          String absoluteCrossSection3
          Third selected cross-section.
        • demand
          org.djunits.value.vdouble.scalar.Frequency demand
          Dynamic demand.
        • fdLine
          org.opentrafficsim.demo.fd.FundamentalDiagramDemo.DynamicFdLine fdLine
          Fd line in graphs based on settings.
        • fdSourceMap
          Map<String,org.opentrafficsim.draw.graphs.FundamentalDiagram.FdSource> fdSourceMap
          Sources by name for each cross-section.
        • funamentalDiagrams
          Set<org.opentrafficsim.draw.graphs.FundamentalDiagram> funamentalDiagrams
          Fundamental diagrams that are updated when a setting is changed.
        • graphPanel
          nl.tudelft.simulation.dsol.swing.gui.TablePanel graphPanel
          Panel with graphs.
        • sampler
          org.opentrafficsim.road.network.sampling.RoadSampler sampler
          Sampler.
        • scheduler
          org.opentrafficsim.draw.graphs.PlotScheduler scheduler
          Plot scheduler.
        • speedLimit
          org.djunits.value.vdouble.scalar.Speed speedLimit
          Speed limit.
        • splitPanel
          JPanel splitPanel
          Panel splitting controls from graphs.
        • tMax
          org.djunits.value.vdouble.scalar.Duration tMax
          Tmax.
        • tMin
          org.djunits.value.vdouble.scalar.Duration tMin
          Tmin.
        • trajectoryPanel
          Container trajectoryPanel
          Panel of trajectory graph.
        • truckFraction
          double truckFraction
          Dynamic truck fraction.
    • Class org.opentrafficsim.demo.fd.FundamentalDiagramModel

      class FundamentalDiagramModel extends org.opentrafficsim.core.dsol.AbstractOtsModel implements Serializable
      serialVersionUID:
      20200516L
      • Serialized Fields

        • network
          org.opentrafficsim.road.network.RoadNetwork network
          The network.
  • Package org.opentrafficsim.demo.loadfromxml

  • Package org.opentrafficsim.demo.strategies

    • Class org.opentrafficsim.demo.strategies.StrategiesDemo

      class StrategiesDemo extends AbstractSimulationScript implements Serializable
      • Serialized Fields

        • carLength
          org.djunits.value.vdouble.scalar.Length carLength
          Car length.
        • carMid
          org.djunits.value.vdouble.scalar.Length carMid
          Car mid.
        • factories
          Map<org.opentrafficsim.core.gtu.GtuType,org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalPlannerFactory<?>> factories
          Factories.
        • gtuIdNum
          int gtuIdNum
          GTU id number.
        • gtuNum
          int gtuNum
          Number of GTUs.
        • kmplcListener
          org.opentrafficsim.demo.strategies.StrategiesDemo.KmplcListener kmplcListener
          Lane change listener.
        • nextGtuType
          org.opentrafficsim.core.gtu.GtuType nextGtuType
          Next GTU type.
        • queue
          List<Double> queue
          Queue of cumulative odometers.
        • stream
          nl.tudelft.simulation.jstats.streams.StreamInterface stream
          Random stream.
        • truckFraction
          double truckFraction
          Truck fraction.
        • truckLength
          org.djunits.value.vdouble.scalar.Length truckLength
          Truck length.
        • truckMid
          org.djunits.value.vdouble.scalar.Length truckMid
          Truck mid.
  • Package org.opentrafficsim.demo.trafficcontrol