public LognormalDistribution(SimSharp.Simulation environment, double mean, double std, int seed) { _environment = environment; _rng = new PcgRandom(seed); Mean = mean; StdDev = std; }
public CraneScheduleStoreGet(SimSharp.Simulation environment, ICraneAgent agent) : base(environment) { Time = environment.Now; Owner = environment.ActiveProcess; Agent = agent; }
public TriangularDistribution(SimSharp.Simulation environment, double low, double high, double mode) { _environment = environment; Low = low; High = high; Mode = mode; }
public TriangularDistribution(SimSharp.Simulation environment, double low, double high, double mode, int seed) { _environment = environment; _rng = new PcgRandom(seed); Low = low; High = high; Mode = mode; }
public LognormalDistribution(SimSharp.Simulation environment, double mean, double std) { _environment = environment; Mean = mean; StdDev = std; }
protected StackingEvent(SimSharp.Simulation environment, Action <Event> callback, Action <Event> cancel) : base(environment) { CallbackList.Add(callback); Time = environment.Now; _cancel = cancel; }
protected Condition(Simulation environment, params Event[] events) : this(environment, (IEnumerable <Event>)events) { }
public static TimeStamp NowTS(this SimSharp.Simulation sim) { var ms = Math.Round((sim.Now - sim.StartDate).TotalMilliseconds); return(new TimeStamp((long)ms)); }
public AllOf(Simulation environment, IEnumerable <Event> events) : base(environment, events) { }
public AllOf(Simulation environment, params Event[] events) : base(environment, events) { }