Package jline.solvers.fluid
Class FluidMoments
java.lang.Object
jline.solvers.fluid.FluidMoments
Second-order report of the fluid moment-closure methods ('minnormal', the
cache closure of 'rmf', and 'dae'), returned by
SolverFluid.getMoments(). Mirrors the struct returned by MATLAB
SolverFLD.getMoments and the dict returned by the native python twin.
Index blocks are 0-based. classBlock is nested as
classBlock[i][k], as in MATLAB and python, rather than flattened.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPer-cache second moments of the item occupancy under the linear noise approximation. -
Field Summary
FieldsModifier and TypeFieldDescriptionPer-cache occupancy moments; empty unless the closure ran on a cache model.int[][][]State coordinates of each (station,class) inSigma, as classBlock[i][k].double'dae' only: largest violation of the population-conservation rows, else NaN.boolean'dae' only: whether that residual reached options.tol.The method that produced the moments, as recorded on the result.intOuter (mean, covariance) iterations performed.Petri-net report (marking, its variance, flows, invariants); null unless the model is an SPN.Matrix[]'dae' transient covariance aggregated onto station-class pairs (ir = r*M + i); null otherwise.Per-(station,class) queue-length standard deviation, sqrt(max(0, QVar)).Per-(station,class) queue-length variance.Matrix[][]'dae' transient queue-length variance [station][class] over the time grid; null otherwise.The 1/N correction of 'mnrefined' in state coordinates; null for every other method.double'dae' only: infinity norm of the residual the simultaneous solve stopped at, else NaN.State-level stationary covariance: the linear noise Lyapunov solution at the fixed point.Per-station population variance.The variance as it entered the drift, zero at the delay stations.Matrix[]'dae' transient covariance, one matrix per point of the mean's time grid; null otherwise.int[][]State coordinates of each station inSigma. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
Sigma
State-level stationary covariance: the linear noise Lyapunov solution at the fixed point. -
QVar
Per-(station,class) queue-length variance. -
QStd
Per-(station,class) queue-length standard deviation, sqrt(max(0, QVar)). -
sigma2
Per-station population variance. -
sigma2Drift
The variance as it entered the drift, zero at the delay stations. -
outerIters
public int outerItersOuter (mean, covariance) iterations performed. -
refinement
The 1/N correction of 'mnrefined' in state coordinates; null for every other method. -
stationBlock
public int[][] stationBlockState coordinates of each station inSigma. Null on the Petri route. -
classBlock
public int[][][] classBlockState coordinates of each (station,class) inSigma, as classBlock[i][k]. Null on the Petri route. -
cache
Per-cache occupancy moments; empty unless the closure ran on a cache model. -
petri
Petri-net report (marking, its variance, flows, invariants); null unless the model is an SPN. -
method
The method that produced the moments, as recorded on the result. -
residual
public double residual'dae' only: infinity norm of the residual the simultaneous solve stopped at, else NaN. -
converged
public boolean converged'dae' only: whether that residual reached options.tol. -
conservation
public double conservation'dae' only: largest violation of the population-conservation rows, else NaN. -
Sigmat
'dae' transient covariance, one matrix per point of the mean's time grid; null otherwise. -
QVart
'dae' transient queue-length variance [station][class] over the time grid; null otherwise. -
QCovt
'dae' transient covariance aggregated onto station-class pairs (ir = r*M + i); null otherwise.
-
-
Constructor Details
-
FluidMoments
public FluidMoments()
-