Beispiel #1
0
 public Simulator(Scenario scenario, int seed)
 {
     Scenario = scenario;
     Status = new Status(this);
     RS = new Random(seed);
     // schedule the initial event
     ScheduleEvent(new Arrival(this, new Customer()), Scenario.Generate_InterArrivalTime(RS));
 }
Beispiel #2
0
 public Simulator(Scenario scenario, int seed)
 {
     Scenario = scenario;
     Status   = new Status(this);
     RS       = new Random(seed);
     // schedule the initial event
     ScheduleEvent(new Arrival(this, new Customer()), Scenario.Generate_InterArrivalTime(RS));
 }