Class LalAgUtil

java.lang.Object
jline.solvers.ag.lal.LalAgUtil

public final class LalAgUtil extends Object
Shared helpers of the SolverAG LAL decompositions: strong connectivity, local stationary vectors, the dominated-minimum lowering of lal_rcat._lower_minimum, and label bookkeeping.
  • 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 rates off (the diagonal is ignored), via ctmc_solve.
    • offDiagonal

      public static double[][] offDiagonal(double[][] m)
      Copy of m with a zeroed diagonal.
    • activeActions

      public static List<String> activeActions(AgentRecord agent)
      Active action names of an agent, unique, in declaration order.
    • stateIndex

      public static Map<String,Integer> stateIndex(AgentRecord agent)
      Local state index map of an agent.
    • activeSynced

      public static Set<Endpoint> activeSynced(LalModel model)
      Endpoints whose active side is synchronized by an ordinary sync.
    • lowerMinimum

      public static LalAgUtil.Lowered lowerMinimum(LalModel snapshot)
      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

      public static Map<String,String> renames(List<Map<String,Object>> transformations)
      Label renames trigger -> first supplier recorded by the lowering.