Package jline.solvers.fluid.petri
Class PetriMode
java.lang.Object
jline.solvers.fluid.petri.PetriMode
One transition mode as a reaction record: its input arcs and their weights,
its inhibitor arcs and their thresholds, its incidence column, and the firing
process that times it. Java twin of the
modes struct array built by
the MATLAB fluid_petri_terms.-
Field Summary
FieldsModifier and TypeFieldDescriptionMarking coordinates this mode consumes from.Multiplicity of each input arc, in the same order.doubleServer count; infinite for an unbounded mode.booleanWhether the min() this mode takes is worth closing.double[]Incidence column over the whole state, post minus pre.double[]Row sums of D1, i.e.Marking-dependent firing multiplier, null when the mode declares none.Marking coordinates that inhibit this mode.Threshold of each inhibitor arc, in the same order.intMode index within that Transition.intNode index of the owning Transition.intNumber of phases of the firing process; 0 for an immediate mode.double[]Entry distribution over the phases.intdoubleint[]State coordinates of the phase block, empty for a single-phase mode. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
node
public int nodeNode index of the owning Transition. -
mode
public int modeMode index within that Transition. -
timing
-
arcSlot
Marking coordinates this mode consumes from. -
arcW
Multiplicity of each input arc, in the same order. -
inhSlot
Marking coordinates that inhibit this mode. -
inhThr
Threshold of each inhibitor arc, in the same order. -
c
public double cServer count; infinite for an unbounded mode. -
nph
public int nphNumber of phases of the firing process; 0 for an immediate mode. -
D0
-
D1
-
d1
public double[] d1Row sums of D1, i.e. the completion rate out of each phase. -
pie
public double[] pieEntry distribution over the phases. -
dep
Marking-dependent firing multiplier, null when the mode declares none. -
prio
public int prio -
weight
public double weight -
cvec
public double[] cvecIncidence column over the whole state, post minus pre. -
zblk
public int[] zblkState coordinates of the phase block, empty for a single-phase mode. -
closable
public boolean closableWhether the min() this mode takes is worth closing. A mode whose enabling degree cannot reach its server count has min() exact on its whole support, so closing it is an error rather than an improvement -- exactly as a station that cannot fill its servers is held first order. -
label
-
-
Constructor Details
-
PetriMode
-