コード例 #1
0
ファイル: Simulator.cs プロジェクト: DucQuang1/O2DES.Net
 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));
 }
コード例 #2
0
ファイル: Simulator.cs プロジェクト: DucQuang1/O2DES.Net
 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));
 }