Class ExperimentRunner


  • public class ExperimentRunner
    extends Object
    Helper class to actually perform a simulation run using desmo-j
    • Constructor Detail

      • ExperimentRunner

        public ExperimentRunner()
    • Method Detail

      • run

        public static double run​(SimuComModel model,
                                 long simTime)
        Deprecated.
        Use run(SimuComModel) instead as time is already stored in SimuComModel
        Run the given simulation model until the given simulation time is reached
        Parameters:
        model - Simulation model to execute
        simTime - Maximum simulation time to run the simulation for
      • run

        public static double run​(SimuComModel model)
        Run the given simulation model until the given simulation time is reached
        Parameters:
        model - Simulation model to execute