Class AfterEventContext

java.lang.Object
jline.lang.state.AfterEventContext
All Implemented Interfaces:
Serializable

public class AfterEventContext extends Object implements Serializable
Loop-invariant context precomputed by State.afterEventInit(jline.lang.NetworkStruct) for State.afterEvent(jline.lang.NetworkStruct, int, jline.util.matrix.Matrix, jline.lang.constant.EventType, int, boolean). Hot callers (the SSA Gillespie loop re-evaluates every synchronization at every step) pass it to skip the per-call derivation of ismkvmodclass, lldscaling and cdscaling; semantics are identical to the per-call path. Build the context from the SAME NetworkStruct instance later passed to afterEvent, after any caller-side rewrite of its fields (see the Solver_ssa preamble that rewrites nservers/cap/classcap in place).
See Also:
  • Field Details

    • lldscaling

      public final Matrix lldscaling
      Load-dependent scaling matrix (defaulted to ones if sn.lldscaling is empty).
    • lldlimit

      public final int lldlimit
      Number of columns of lldscaling.
    • cdscaling

      public final Map<Station,SerializableFunction<Matrix,Matrix>> cdscaling
      Class-dependent scaling functions (defaulted to the constant 1 map).
    • ismkvmodclass

      public final Map<Integer,Matrix> ismkvmodclass
      Per-node (R x 1) indicator of MAP/MMPP2/BMAP service; stations only.
  • Constructor Details