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); }
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)); }
/** * 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; }
public ProcessVysetrenia(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public ProcesPresun(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public ProcesVykladacB(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public ProcesVykladacA(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { StartsAt = Constants.VykladacAStartsAt; EndsAt = Constants.VykladacAEndsAt; }
public SchedulerPrichodov(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public PoradcaDopravy(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public PassengerArrivalProcess(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { MyAgent.PassengerArrivalProcess = this; }
public BaseSchedulerObedov(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public PlanovacStat(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
/** * 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; }
public PlanovacPrichodov(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
/** * 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; }
public PlanovacPracovnejDoby(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public ProcessPresunNaSkladku(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { cesta = new OneLaneRoad(Constants.CaLength); CarsOnWay = new LinkedList <Vehicle>(); }
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); }
public VehicleStartScheduler(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { MyAgent.VehicleStartScheduler = this; MyAgent.AddOwnMessage(Mc.VehicleStarted); }
public AckciaZakupNakladac(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public ProcesCakania(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public ProcesNastupenie(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public ProcessRegistracie(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public ProcesNakladacB(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { StartsAt = Constants.NakladacBStartsAt; EndsAt = Constants.NakladacBEndsAt; }
public ProcesSpustiVozidla(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public ProcessPresunNaPrejazd(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public PlanovacDovozMaterialu(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public PlanovacOdoberMaterial(int id, Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }