Class SteeringSimulation

    • Constructor Detail

      • SteeringSimulation

        protected SteeringSimulation()
        Constructor.
    • Method Detail

      • main

        public static void main​(String... args)
        Start a simulation.
        Parameters:
        args - String...; command line arguments
      • setupSimulation

        protected OTSRoadNetwork setupSimulation​(org.opentrafficsim.core.dsol.OTSSimulatorInterface sim)
                                          throws Exception
        Sets up the simulation based on provided properties. Properties can be obtained with getProperty(). Setting up a simulation should at least create a network and some demand. Additionally this may setup traffic control, sampling, etc.
        Specified by:
        setupSimulation in class AbstractSimulationScript
        Parameters:
        sim - OTSSimulatorInterface; simulator
        Returns:
        OTSRoadNetwork; network
        Throws:
        Exception - on any exception