Class LalCollect

java.lang.Object
jline.solvers.ctmc.handlers.LalCollect

public final class LalCollect extends Object
Internal sink through which Solver_ctmc hands the per-event arcs of its sync-action generator to the LAL embedding of a Network (jline.lang.lal.EmbeddedNetwork), the Java twin of the Python collect dict of _build_generator_sync. It is NOT a solver option and has no options.config key: SolverCTMC carries it only when the embedding sets it, and nothing else changes when it is absent.

A network with a finite capacity region is built by Solver_ctmc_fcr_waitq, whose arcs are reported one event per (action, outcome) instead, labelled with the arrivals that happened on them.

The sink is filled after the vanishing-row purge, so the arcs reproduce exactly the generator SolverCTMC complements: one LalCollect.EventArcs per ordinary synchronization (its Dfilt), the true-BAS become-blocked arcs (no event of their own), one per Petri-net global synchronization (sn.gsync, every firing, not only the completions) and one per fork firing (sn.fjsync), one per BMAP batch outcome (its Source DEP once per job, one passive record per job; Solver_ctmc_bmap), each with its immediate flag; plus the vanishing rows, the state space and the index of the initial state. When stop is set the solve ends with a LalCollectedException.

  • Field Details

    • stop

      public boolean stop
      End the solve once the sink is filled.
    • filled

      public boolean filled
      True once the generator builder filled the sink.
    • events

      public final List<LalCollect.EventArcs> events
    • vanishing

      public final List<Integer> vanishing
      Vanishing rows SolverCTMC eliminates by stochastic complementation (gap rows included).
    • sn

      public NetworkStruct sn
      The private struct the builder read, with its per-node state spaces.
    • stateSpace

      public Matrix stateSpace
    • stateSpaceHashed

      public Matrix stateSpaceHashed
    • initialIndex

      public int initialIndex
      Index of the initial state in the enumerated space, or -1 when it is not found.
  • Constructor Details

    • LalCollect

      public LalCollect()