public AgentStavby(int id, OSPABA.Simulation mySim, Agent parent) : base(id, mySim, parent) { Init(); WaitingTimePerCar = new Stat(); LengthOfQueue = new WStat(mySim); UsageUnloaderA = new WStat(mySim); UsageUnloaderB = new WStat(mySim); AutaStavbaQueue = new SimQueue <Vehicle>(LengthOfQueue); MessageStavbaQueue = new SimQueue <MyMessage>(LengthOfQueue); VykladacBIsDisabled = !((MySimulation)MySim).BuyUnloader; VykladacAIsOccupied = false; VykladacAIsOccupied = false; OdoberMaterial = new Stat(); OdoberMaterialKumulativny = new Stat(); PocetUspesnyExport = 0; PocetExport = 0; RealWorkingTimeA = new WStat(mySim); RealWorkingTimeB = new WStat(mySim); RealWorkingA = 0; RealWorkingB = 0; StartedWorkingA = 0; StartedWorkingB = 0; WaitingTimeSimulacia = new Stat(); LengthOfQueueSimulacia = new Stat(); RealWorkingTimeASimulacia = new Stat(); RealWorkingTimeBSimulacia = new Stat(); }
public AgentSkladky(int id, OSPABA.Simulation mySim, Agent parent) : base(id, mySim, parent) { Init(); WaitingTimePerCar = new Stat(); LengthOfQueue = new WStat(mySim); UsageLoaderA = new WStat(mySim); RealWorkingTimeA = new WStat(mySim); RealWorkingTimeB = new WStat(mySim); RealWorkingA = 0; RealWorkingB = 0; UsageLoaderB = new WStat(mySim); AutaSkladkaQueue = new SimQueue <Vehicle>(LengthOfQueue); MessageSkladkaQueue = new SimQueue <MyMessage>(); MaterialNaSkladke = Constants.MaterialAtDepo; Material = Settings.Constants.MaterialToLoad; NakladacAIsOccupied = false; NakladacBIsOccupied = false; fullLoad = true; StartedWorkingA = 0; StartedWorkingB = 0; WaitingTimeSimulacia = new Stat(); LengthOfQueueSimulacia = new Stat(); RealWorkingTimeASimulacia = new Stat(); RealWorkingTimeBSimulacia = new Stat(); }
public ManagerSkladky(int id, OSPABA.Simulation mySim, Agent myAgent) : base(id, mySim, myAgent) { Init(); AStartedWorking = 0; BStartedWorking = 0; realWorkingA = 0; realWorkingB = 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)); }
public ProcesVykladacA(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { StartsAt = Constants.VykladacAStartsAt; EndsAt = Constants.VykladacAEndsAt; }
//private double volumeA, volumeB, volumeC; //private double timeA, timeB, timeC; public PlanovacDovozMaterialu(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public PlanovacPracovnejDoby(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public ProcessPresunNaPrejazd(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { }
public MyMessage(OSPABA.Simulation sim, Vehicle car) : base(sim) { this.Car = car; }
public ProcessPresunNaSkladku(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { cesta = new OneLaneRoad(Constants.CaLength); CarsOnWay = new LinkedList <Vehicle>(); }
public AgentDopravy(int id, OSPABA.Simulation mySim, Agent parent) : base(id, mySim, parent) { Init(); _mine = (MySimulation)mySim; }
public MyMessage(OSPABA.Simulation sim, string name) : base(sim) { this.Name = name; }
public MyMessage(OSPABA.Simulation sim, int variant) : base(sim) { this.Variant = variant; }
public MyMessage(OSPABA.Simulation sim, int[] setup) : base(sim) { SelectedCars = setup; }
public ManagerModelu(int id, OSPABA.Simulation mySim, Agent myAgent) : base(id, mySim, myAgent) { Init(); }
public ProcesNakladacB(int id, OSPABA.Simulation mySim, CommonAgent myAgent) : base(id, mySim, myAgent) { StartsAt = Constants.NakladacBStartsAt; EndsAt = Constants.NakladacBEndsAt; }
public AgentOkolia(int id, OSPABA.Simulation mySim, Agent parent) : base(id, mySim, parent) { Init(); }
public MyMessage(OSPABA.Simulation sim) : base(sim) { }