Package jline.solvers.fluid.analyzers
Class MFQAnalyzer
java.lang.Object
jline.solvers.fluid.analyzers.MFQAnalyzer
- All Implemented Interfaces:
FluidAnalyzer
MFQ (Markovian Fluid Queue) analyzer for single-queue open systems.
Work flows in at the rate of the current arrival phase and drains at the rate of the current service phase. The fluid moments are exact, but approximate the discrete queue unless arrivals and service are exponential (H2/M/1, SCV 64, rho=0.5: 7.16 against the exact 10.16).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidanalyze(NetworkStruct sn, SolverOptions options, SolverResult result) static StringThe reason MFQ cannot run on this model, ornullwhen it can.
-
Constructor Details
-
MFQAnalyzer
public MFQAnalyzer()
-
-
Method Details
-
analyze
- Specified by:
analyzein interfaceFluidAnalyzer
-
getXVecIt
- Specified by:
getXVecItin interfaceFluidAnalyzer
-
mfqNotApplicableReason
The reason MFQ cannot run on this model, ornullwhen it can. MFQ IS A SINGLE-QUEUE METHOD AND FALLS BACK: `solver_fluid_analyzer.m` warns "MFQ not applicable: ... Falling back to matrix method" and re-enters `solver_fluid_matrix`. The decision has to be taken by the CALLER, before the mfq branch of runAnalyzer diverts around the state-space preparation the matrix method reads (options.init_sol above all), which is why this is exposed rather than handled insideanalyze(jline.lang.NetworkStruct, jline.solvers.SolverOptions, jline.solvers.SolverResult).- Parameters:
sn- the model- Returns:
- the topology error, or null when MFQ applies
-