Beispiel #1
0
 /// <summary>
 /// Set up some variables right before approaching next iteration
 /// </summary>
 /// <param name="trucks"></param>
 /// <param name="time">Simulation time</param>
 protected void PreProcess(List <Truck> trucks, long time)
 {
     //this.NodeTruckStatsGatherer.PreProcess()
     TruckCountStatsGatherer.PreProcess(trucks);
     TruckTimeStatsGatherer.PreProcess();
     SealCountStatsGatherer.PreProcess(trucks, time);
 }
Beispiel #2
0
 /// <summary>
 /// Update some variables right after simulation iteration is run
 /// </summary>
 /// <param name="trucks"></param>
 /// <param name="time">Simulation time</param>
 protected void PostProcess(List <Truck> trucks, long time)
 {
     TruckCountStatsGatherer.PostProcess();
     TruckTimeStatsGatherer.PostProcess(trucks);
     SealCountStatsGatherer.PostProcess(trucks, time);
 }