Class PetriMode

java.lang.Object
jline.solvers.fluid.petri.PetriMode

public class PetriMode extends Object
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 Details

    • node

      public int node
      Node index of the owning Transition.
    • mode

      public int mode
      Mode index within that Transition.
    • timing

      public TimingStrategy timing
    • arcSlot

      public List<Integer> arcSlot
      Marking coordinates this mode consumes from.
    • arcW

      public List<Double> arcW
      Multiplicity of each input arc, in the same order.
    • inhSlot

      public List<Integer> inhSlot
      Marking coordinates that inhibit this mode.
    • inhThr

      public List<Double> inhThr
      Threshold of each inhibitor arc, in the same order.
    • c

      public double c
      Server count; infinite for an unbounded mode.
    • nph

      public int nph
      Number of phases of the firing process; 0 for an immediate mode.
    • D0

      public Matrix D0
    • D1

      public Matrix D1
    • d1

      public double[] d1
      Row sums of D1, i.e. the completion rate out of each phase.
    • pie

      public double[] pie
      Entry 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[] cvec
      Incidence column over the whole state, post minus pre.
    • zblk

      public int[] zblk
      State coordinates of the phase block, empty for a single-phase mode.
    • closable

      public boolean closable
      Whether 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

      public String label
  • Constructor Details