Package jline.api.spn
Class Spn_traps
java.lang.Object
jline.api.spn.Spn_traps
All minimal traps of a stochastic Petri net, and which of them m0 marks.
A trap is a non-empty set Q of place levels with Q* contained in *Q: a
marked trap stays marked. The minimal traps are the minimal siphons of the
reversed net, enumerated by the branch and bound of Spn_siphons
with the same exponential worst case. Inhibitor arcs, priorities and
immediate precedence are ignored.
Reference: T. Murata, Proc. IEEE 77(4) (1989), Sec. VI-B.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe minimal traps, in level coordinates. -
Method Summary
Modifier and TypeMethodDescriptionstatic Spn_traps.SpnTrapsstatic Spn_traps.SpnTrapsspn_traps(NetworkStruct sn, double[] init) Minimal traps.
-
Method Details
-
spn_traps
-
spn_traps
Minimal traps.- Parameters:
sn- a NetworkStruct of a closed model holding Places and Transitionsinit- initial tokens per place level, as inSpn_siphons- Returns:
- the traps
-