Package jline.lang.lal
Class LalMarkov
java.lang.Object
jline.lang.lal.LalMarkov
Markovian admission check for LAL compositions (Python
lal/markov.py).
LAL captures the Markovian models LINE can declare, and nothing else. Every
law that reaches a composition, declared by hand or carried by an embedded
LINE object, is classified here, and anything outside the accepted set is
refused with LINE:unsupported:NonMarkovian rather than fitted.
The accepted set is explicit and deliberately narrower than
ProcessType.isMarkovian, which also admits ME and RAP
(matrix-exponential laws with no CTMC representation in general), DMAP
(discrete time) and the time-inhomogeneous marked schedules. Classification
reads the declared distribution object, never sn.proc, which stores
an Erlang mean-fit of non-Markovian laws.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA law found in an object: its path and the distribution. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidRefuse anEnvironmentwith a non-Markovian holding law or stage model.static voidRefuse aLayeredNetworkwith a non-Markovian demand, think time or arrival.static StringcheckMarkovian(Distribution dist, String where) Classifydistand namewherein the refusal when it is refused.static voidcheckNetwork(Network network) Refuse aNetworkholding any non-Markovian specification (Pythoncheck_network).static voidcheckNetwork(Network network, String where) checkNetwork(Network)naming the networkwherein messages.static Stringclassify(Distribution dist) Classify one law astimed,immediateordisabled; any law outside the accepted set is refused.static StringShort readable name of a law for refusal messages.static List<LalMarkov.Found>objectLaws(Object obj, String prefix) Every distribution an object holds, through its fields and the plain containers and holder objects they reference.
-
Field Details
-
ERROR_ID
The error id of every refusal.- See Also:
-
-
Method Details
-
lawName
Short readable name of a law for refusal messages. -
classify
Classify one law astimed,immediateordisabled; any law outside the accepted set is refused. -
checkMarkovian
Classifydistand namewherein the refusal when it is refused. -
objectLaws
Every distribution an object holds, through its fields and the plain containers and holder objects they reference. Model objects (nodes, classes, networks, layered elements) are not descended into: each is walked from its own entry so that back-references do not loop. -
checkNetwork
Refuse aNetworkholding any non-Markovian specification (Pythoncheck_network). Every node and job class is walked, so service, arrival, setup, delay-off, patience, retrial, switchover, breakdown, heterogeneous-server and Petri-net mode laws are all covered without naming each field. Batch arrivals and fluid places are refused as well. -
checkNetwork
checkNetwork(Network)naming the networkwherein messages. -
checkLayered
Refuse aLayeredNetworkwith a non-Markovian demand, think time or arrival. -
checkEnvironment
Refuse anEnvironmentwith a non-Markovian holding law or stage model.
-