Package jline.lang.state
Class AfterEventContext
java.lang.Object
jline.lang.state.AfterEventContext
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionfinal Map<Station, SerializableFunction<Matrix, Matrix>> Class-dependent scaling functions (defaulted to the constant 1 map).Per-node (R x 1) indicator of MAP/MMPP2/BMAP service; stations only.final intNumber of columns of lldscaling.final MatrixLoad-dependent scaling matrix (defaulted to ones if sn.lldscaling is empty). -
Constructor Summary
ConstructorsConstructorDescriptionAfterEventContext(Matrix lldscaling, int lldlimit, Map<Station, SerializableFunction<Matrix, Matrix>> cdscaling, Map<Integer, Matrix> ismkvmodclass) -
Method Summary
-
Field Details
-
lldscaling
Load-dependent scaling matrix (defaulted to ones if sn.lldscaling is empty). -
lldlimit
public final int lldlimitNumber of columns of lldscaling. -
cdscaling
Class-dependent scaling functions (defaulted to the constant 1 map). -
ismkvmodclass
Per-node (R x 1) indicator of MAP/MMPP2/BMAP service; stations only.
-
-
Constructor Details
-
AfterEventContext
-