Class LalRecords
lal._records._Records).
LAL agents are declared action by action, or obtained by embedding LINE
model objects. These constructors build the same finite agents for LAL's own
internal use: SolverMAM's lowering of embedded Queue and Source nodes into the
level and source agents its recognizers read (LalMamLowering), and the
synthetic marked stream that its traffic fitting substitutes for a source
(jline.solvers.mam.lal.LalTraffic). They were public Agent
factories until 2026-11-15. The class is public only so that the solver
packages (jline.solvers.mam.lal) and the LAL tests in other packages
(jline.solvers.mam, jline.solvers.ag, which port the Python
tests that still use _Records) can reach it; it is internal and
applications must not use it.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forqueue(java.lang.String, java.lang.Integer, double, java.util.List<java.lang.String>); mirrors the Python keyword arguments. -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentbufferedJoin(String name, double leftRate, double rightRate, int capacity) Two independent Poisson inputs paired through bounded unmatched buffers.static AgentbufferedJoin(String name, double leftRate, double rightRate, int capacity, String output) Two independent Poisson inputs paired through bounded unmatched buffers.static AgentbufferedMapJoin(String name, Matrix[] left, Matrix[] right, int capacity) static AgentbufferedMapJoin(String name, Matrix[] left, Matrix[] right, int capacity, String output) Pair two MAP streams(D0, D1), freezing a whole input at its full buffer (the policy ofmmap_max).static AgentbufferedMmapJoin(String name, MatrixCell left, MatrixCell right, int capacity, List<String> labels) Pair two MMAP streams given in M3A layout[D0, D1, D1_1, ...]and mark each completion by its later arrival.static AgentfromGenerator(String name, Matrix generator) Construct one agent from a CTMC generator with no event filters, started in state 0.static AgentfromGenerator(String name, Matrix generator, Map<String, Matrix> events, int initialIndex, double[] initialVector) Construct one finite agent from a CTMC generator and optional event filters.static AgentConstruct from a stationary LINE MAP with actionarrival.static Agentstatic AgentConstruct from a stationary LINE MMPP2 with actionarrival.static Agentstatic AgentfromMarkedMap(String name, MarkedMAP process, List<String> labels) Construct from LINE's stationary MarkedMAP; only the per-mark matrices are used.static AgentfromMarkedMap(String name, MarkedMAP process, List<String> labels, int initial) static AgentfromNetworkProcess(String name, NetworkStruct sn, int station, int jobclass, List<String> labels, int initial) Import one stationary MAP/MMAP process from a LINE network struct.static Agentmmap(String name, double[][] d0, Map<String, double[][]> marks, int initialIndex, double[] initialVector) Create a finite agent from an MMAP and its named mark matrices.static AgentMMAP agent with initial phase 0.static AgentMMAP agent started from an initial phase distribution.static AgentMMAP agent started in the given zero-based phase.static Agentstatic AgentPH service clock with a single completion action.static AgentBuild a PH service clock; synchronize its completion actions with a queue's service inputs and_phasewith its service phase.static AgentSingle-server queue with onedepartureoutput.static Agentqueue(String name, Integer capacity, Double serviceRate, List<String> arrivals, Map<String, Double> departures, int servers, int initial, String serviceInput, List<String> serviceInputs, String servicePhase) Create a single-class queue;capacity == nullis unbounded.static LalRecords.QueueBuilderqueueBuilder(String name)
-
Method Details
-
queueBuilder
-
queue
Single-server queue with onedepartureoutput. -
queue
public static Agent queue(String name, Integer capacity, Double serviceRate, List<String> arrivals, Map<String, Double> departures, int servers, int initial, String serviceInput, List<String> serviceInputs, String servicePhase) Create a single-class queue;capacity == nullis unbounded.arrivalsnames separate passive inputs.departuresmaps active output names to fixed routing probabilities summing to one. A full queue disables its inputs, and a blocked output blocks that routed departure. For an external service clock setserviceRate == nulland giveserviceInput(s)and optionallyservicePhase. -
mmap
MMAP agent with initial phase 0. -
mmap
MMAP agent started in the given zero-based phase. -
mmap
MMAP agent started from an initial phase distribution. -
mmap
public static Agent mmap(String name, double[][] d0, Map<String, double[][]> marks, int initialIndex, double[] initialVector) Create a finite agent from an MMAP and its named mark matrices. The phase process is shared by every mark; internal D0 off-diagonals become the active action_phase.- Parameters:
initialIndex- zero-based initial phase (ignored wheninitialVectoris given)initialVector- initial phase distribution, ornull
-
bufferedJoin
Two independent Poisson inputs paired through bounded unmatched buffers. -
bufferedJoin
public static Agent bufferedJoin(String name, double leftRate, double rightRate, int capacity, String output) Two independent Poisson inputs paired through bounded unmatched buffers. A matching arrival consumes one unmatched item and emitsoutput. -
bufferedMapJoin
-
bufferedMapJoin
public static Agent bufferedMapJoin(String name, Matrix[] left, Matrix[] right, int capacity, String output) Pair two MAP streams(D0, D1), freezing a whole input at its full buffer (the policy ofmmap_max). -
bufferedMmapJoin
public static Agent bufferedMmapJoin(String name, MatrixCell left, MatrixCell right, int capacity, List<String> labels) Pair two MMAP streams given in M3A layout[D0, D1, D1_1, ...]and mark each completion by its later arrival. -
phService
PH service clock with a single completion action. -
phService
-
phService
Build a PH service clock; synchronize its completion actions with a queue's service inputs and_phasewith its service phase. -
fromMarkedMap
Construct from LINE's stationary MarkedMAP; only the per-mark matrices are used. -
fromMarkedMap
-
fromMap
Construct from a stationary LINE MAP with actionarrival. -
fromMap
-
fromMap
Construct from a stationary LINE MMPP2 with actionarrival. -
fromMap
-
fromNetworkProcess
public static Agent fromNetworkProcess(String name, NetworkStruct sn, int station, int jobclass, List<String> labels, int initial) Import one stationary MAP/MMAP process from a LINE network struct.stationandjobclassare zero-based. A marked source must be imported from its first-mark carrier with one label per mark. -
fromGenerator
Construct one agent from a CTMC generator with no event filters, started in state 0. -
fromGenerator
public static Agent fromGenerator(String name, Matrix generator, Map<String, Matrix> events, int initialIndex, double[] initialVector) Construct one finite agent from a CTMC generator and optional event filters. Unlabelled off-diagonal rates become_internal.
-