Package jline.solvers.ag.lal
Class LalRcat
java.lang.Object
jline.solvers.ag.lal.LalRcat
Finite-agent RCAT fixed-point approximations for LAL compositions (Python
solver_ag.lal_rcat).
The result is an approximation unless the additional product-form
conditions are established by certifyResult(jline.lang.lal.Composition, jline.solvers.ag.lal.LalAGResult, double). Passive actions must be
enabled in every local state.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcertificateSupport(LalModel snapshot) The certificate's conservative structural prerequisites;nullwhen met.static StringcertifyResult(Composition model, LalAGResult result, double tol) Replace an approximate solution with an exactly verified RCAT solution (Pythoncertify_result);nullwhen certified, else the reason.compareWithCtmc(Composition model, LalAGResult result, Integer maxStates) Numerically compare the product of agent marginals with the exact finite CTMC (Pythoncompare_with_ctmc).static LalTableThe Action/Throughput table in the order oflabels, reading each throughput fromthroughputs.static LalAGResultsolveComposition(Composition model, double tol, int maxIter, String method) Finite-agent INAP / INAPRC reversed-rate fixed point (Pythonsolve_composition).static StringstructuralSupport(LalModel snapshot, String method) Check the decomposition constraints without building a global state space;nullwhen supported, else the reason.
-
Method Details
-
structuralSupport
Check the decomposition constraints without building a global state space;nullwhen supported, else the reason. -
certificateSupport
The certificate's conservative structural prerequisites;nullwhen met. -
solveComposition
public static LalAGResult solveComposition(Composition model, double tol, int maxIter, String method) Finite-agent INAP / INAPRC reversed-rate fixed point (Pythonsolve_composition). -
orderedActionTable
The Action/Throughput table in the order oflabels, reading each throughput fromthroughputs. A label with no throughput raises, as the Pythonrows_by_label[label]lookup raisesKeyError, instead of writing a null throughput. Internal to the RCAT solver; public only so the regression test can reach it. -
certifyResult
Replace an approximate solution with an exactly verified RCAT solution (Pythoncertify_result);nullwhen certified, else the reason. -
compareWithCtmc
public static Map<String,Object> compareWithCtmc(Composition model, LalAGResult result, Integer maxStates) Numerically compare the product of agent marginals with the exact finite CTMC (Pythoncompare_with_ctmc).max_probability_error,total_variationandgenerator_residualcompare the product CONDITIONED on the reachable states. Conditioning can hide product mass on states the CTMC never reaches, so that mass is reported separately asunreachable_product_mass, andunconditioned_total_variationcompares the raw product, counting the unreachable mass as error.
-