Package jline.solvers.ag.lal
Class LalAgUtil
java.lang.Object
jline.solvers.ag.lal.LalAgUtil
Shared helpers of the SolverAG LAL decompositions: strong connectivity,
local stationary vectors, the dominated-minimum lowering of
lal_rcat._lower_minimum, and label bookkeeping.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOutcome oflowerMinimum(jline.lang.lal.LalModel): a lowered model, or a refusal reason. -
Method Summary
Modifier and TypeMethodDescriptionactiveActions(AgentRecord agent) Active action names of an agent, unique, in declaration order.activeSynced(LalModel model) Endpoints whose active side is synchronized by an ordinary sync.static LalAgUtil.LoweredlowerMinimum(LalModel snapshot) Lower a provably dominated minimum without changing its event law (Python_lower_minimum).static double[][]offDiagonal(double[][] m) Copy ofmwith a zeroed diagonal.Label renamestrigger -> first supplierrecorded by the lowering.static intsccCount(double[][] g) Number of strongly connected components of the positive off-diagonal graph.stateIndex(AgentRecord agent) Local state index map of an agent.static double[]stationary(double[][] off) Stationary vector of the generator built from off-diagonal ratesoff(the diagonal is ignored), viactmc_solve.
-
Method Details
-
sccCount
public static int sccCount(double[][] g) Number of strongly connected components of the positive off-diagonal graph. -
stationary
public static double[] stationary(double[][] off) Stationary vector of the generator built from off-diagonal ratesoff(the diagonal is ignored), viactmc_solve. -
offDiagonal
public static double[][] offDiagonal(double[][] m) Copy ofmwith a zeroed diagonal. -
activeActions
Active action names of an agent, unique, in declaration order. -
stateIndex
Local state index map of an agent. -
activeSynced
Endpoints whose active side is synchronized by an ordinary sync. -
lowerMinimum
Lower a provably dominated minimum without changing its event law (Python_lower_minimum). The bottleneck supplier keeps its active role; the other suppliers become passive partners of its event. -
renames
Label renamestrigger -> first supplierrecorded by the lowering.
-