private double microbusUnboardingTime = 4; // TODO change distribution

        public UnboardingFinishedScheduler(int id, Simulation mySim, CommonAgent myAgent) :
            base(id, mySim, myAgent)
        {
            MyAgent.UnboardingFinishedScheduler = this;
            busUnboardingTimeGenerator          = new TriangularRNG(0.6, 1.2, 4.2);
            MyAgent.AddOwnMessage(Mc.PassengerUnboarded);
        }
 public BoardingFinishedScheduler(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     MyAgent.BoardingFinishedScheduler = this;
     MyAgent.AddOwnMessage(Mc.PassengerBoarded);
     busBoardingTimeGenerator      = new TriangularRNG(0.6, 1.2, 4.2);
     microbusBoardingTimeGenerator = new UniformContinuousRNG(6, 10);
 }
コード例 #3
0
 public PlanovacOdvozMaterialu(int id, OSPABA.Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     GenCas = new EmpiricRNG <int>(new Random(((MySimulation)MySim).SeedGenerator.Next()),
                                   new EmpiricPair <int>(new UniformDiscreteRNG(10, 20), 0.02),
                                   new EmpiricPair <int>(new UniformDiscreteRNG(21, 48), 0.2),
                                   new EmpiricPair <int>(new UniformDiscreteRNG(49, 65), 0.33),
                                   new EmpiricPair <int>(new UniformDiscreteRNG(66, 79), 0.3),
                                   new EmpiricPair <int>(new UniformDiscreteRNG(80, 99), 0.15));
 }
コード例 #4
0
 /**
  * Planovac obedov pre lekarov. V nastavenom case zasle spravu agentovi o tom, ze nastal cas obeda a pracovnici mozu zacat chodit na obed.
  */
 public SchedulerObeduDoktorov(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     Hodina = 11;
     Minuta = 45;
 }
コード例 #5
0
 public ProcessVysetrenia(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #6
0
ファイル: ProcesPresun.cs プロジェクト: patonad/AgentovaSim
 public ProcesPresun(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #7
0
 public ProcesVykladacB(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #8
0
 public ProcesVykladacA(int id, OSPABA.Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     StartsAt = Constants.VykladacAStartsAt;
     EndsAt   = Constants.VykladacAEndsAt;
 }
コード例 #9
0
 public SchedulerPrichodov(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #10
0
 public PoradcaDopravy(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #11
0
 public PassengerArrivalProcess(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     MyAgent.PassengerArrivalProcess = this;
 }
コード例 #12
0
 public BaseSchedulerObedov(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #13
0
ファイル: PlanovacStat.cs プロジェクト: patonad/AgentovaSim
 public PlanovacStat(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent)
 {
 }
コード例 #14
0
 /**
  * Planovac obedov pre zdravotne sestry. V nastavenom case zasle spravu agentovi o tom, ze nastal cas obeda a pracovnici mozu zacat chodit na obed.
  */
 public SchedulerObeduSestriciek(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     Hodina = 13;
     Minuta = 30;
 }
コード例 #15
0
 public PlanovacPrichodov(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #16
0
 /**
  * Planovac obedov pre administrativnych pracovnikov. V nastavenom case zasle spravu agentovi o tom, ze nastal cas obeda a pracovnici mozu zacat chodit na obed.
  */
 public SchedulerObeduAdminov(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     Hodina = 11;
 }
コード例 #17
0
 public PlanovacPracovnejDoby(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent)
 {
 }
コード例 #18
0
 public ProcessPresunNaSkladku(int id, OSPABA.Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     cesta     = new OneLaneRoad(Constants.CaLength);
     CarsOnWay = new LinkedList <Vehicle>();
 }
コード例 #19
0
 public NextStopArrivalScheduler(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     MyAgent.AddOwnMessage(Mc.VehicleArrivedToBusStop);
     MyAgent.NextStopArrivalScheduler = this;
 }
 public BusWaitingFinishedScheduler(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     MyAgent.BusWaitingFinishedScheduler = this;
     MyAgent.AddOwnMessage(Mc.BusWaitingFinished);
 }
コード例 #21
0
 public VehicleStartScheduler(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     MyAgent.VehicleStartScheduler = this;
     MyAgent.AddOwnMessage(Mc.VehicleStarted);
 }
コード例 #22
0
 public AckciaZakupNakladac(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #23
0
 public ProcesCakania(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #24
0
 public ProcesNastupenie(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #25
0
 public ProcessRegistracie(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #26
0
 public ProcesNakladacB(int id, OSPABA.Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
     StartsAt = Constants.NakladacBStartsAt;
     EndsAt   = Constants.NakladacBEndsAt;
 }
コード例 #27
0
 public ProcesSpustiVozidla(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #28
0
 public ProcessPresunNaPrejazd(int id, OSPABA.Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #29
0
 public PlanovacDovozMaterialu(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }
コード例 #30
0
 public PlanovacOdoberMaterial(int id, Simulation mySim, CommonAgent myAgent) :
     base(id, mySim, myAgent)
 {
 }