/// <summary> /// Prepare the simulation to be run. /// </summary> public void Prepare() { SimulationToRun = ToSimulation(); SimulationToRun.Prepare(); }
/// <summary>Run the simulation.</summary> /// <param name="cancelToken"></param> public void Run(CancellationTokenSource cancelToken) { SimulationToRun = ToSimulation(); SimulationToRun.Run(cancelToken); }
/// <summary> /// Cleanup the job after running it. /// </summary> public void Cleanup() { // Do nothing. SimulationToRun.Cleanup(); }