Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }