Package jline.solvers.fluid
Class FluidNhpp
java.lang.Object
jline.solvers.fluid.FluidNhpp
Non-homogeneous Poisson (NHPP) support for the fluid solver.
An NHPP stores its process representation as the {breakpoints, rates,
cyclic} schedule rather than a {D0, D1} MAP, and its pie is NaN. The
fluid model treats such a source as a single-phase exponential at its nominal
(time-average) rate, which sn.mu already carries; the time-varying
intensity lambda(t) is applied separately by the per-event rate multiplier
(FluidRateMultiplier). Mirrors the NHPP handling of MATLAB
solver_fluid.m and SolverFLD/getTranAvg.m.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<FluidRateMultiplier.NhppEntry> Builds the NHPP schedule entries for every EXT/source station carrying a non-homogeneous arrival process.static Map<Station, Map<JobClass, MatrixCell>> substituteNhppProc(NetworkStruct sn, Map<Station, Map<JobClass, Matrix>> mu, Map<Station, Map<JobClass, Matrix>> phi) Returns the process map to hand to the closing-rate builder, with every NHPP station-class replaced by the equivalent one-phase exponential MAP {D0, D1} = {-lam, lam} at its nominal ratemu(i,k)(0), so thatmap_piesees a valid Markovian representation.
-
Method Details
-
substituteNhppProc
public static Map<Station,Map<JobClass, substituteNhppProcMatrixCell>> (NetworkStruct sn, Map<Station, Map<JobClass, Matrix>> mu, Map<Station, Map<JobClass, Matrix>> phi) Returns the process map to hand to the closing-rate builder, with every NHPP station-class replaced by the equivalent one-phase exponential MAP {D0, D1} = {-lam, lam} at its nominal ratemu(i,k)(0), so thatmap_piesees a valid Markovian representation. The correspondingphientry is set to 1.The input maps are not modified except for
phi, which the callers own as a local working copy; when no NHPP is present the originalsn.procreference is returned unchanged.- Parameters:
sn- network structure (read for procid and the station/class lists)mu- per-(station,class) phase rate vectors of the fluid ODEphi- per-(station,class) completion probability vectors (updated in place)- Returns:
- the process map with the NHPP substitutions applied
-
detectNhppSchedule
Builds the NHPP schedule entries for every EXT/source station carrying a non-homogeneous arrival process. Returns an empty list when there is none. Station and class indices are in the sn index space.- Parameters:
sn- network structure whose stations are inspected- Returns:
- the schedule entries to inject in
options.config.nhpp_sched
-