Class Spn_reachgraph
Built breadth-first from m0 under the GSPN firing rules of LINE's simulator: an event is enabled when every input level holds its pre multiplicity and no inhibitor threshold is reached; when an IMMEDIATE event is enabled only the enabled immediate events of the highest firing priority may fire (the marking is vanishing), otherwise every enabled timed event may. Markings are numbered in discovery order, successors in event order, so the numbering matches the other codebases.
status is "complete"; "unbounded" when a new marking strictly covers a BFS ancestor in a MONOTONE net (no inhibitor arc, immediate precedence or priority), which proves the levels where it grows (unboundedlevels) unbounded and stops the search; or "cap" when maxstates markings were stored and another was found. A queueing place is refused.
References: T. Murata, Proc. IEEE 77(4) (1989), Sec. V-A; B.R. Haverkort, Performance of Computer Communication Systems, Wiley, 1998, Ch. 14.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe reachability graph. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault cap on the stored markings. -
Method Summary
Modifier and TypeMethodDescriptionstatic Spn_reachgraph.SpnReachGraphstatic Spn_reachgraph.SpnReachGraphspn_reachgraph(NetworkStruct sn, double[] init) static Spn_reachgraph.SpnReachGraphspn_reachgraph(NetworkStruct sn, double[] init, int maxstates) The reachability graph.
-
Field Details
-
DEFAULT_MAXSTATES
public static final int DEFAULT_MAXSTATESDefault cap on the stored markings.- See Also:
-
-
Method Details
-
spn_reachgraph
-
spn_reachgraph
-
spn_reachgraph
public static Spn_reachgraph.SpnReachGraph spn_reachgraph(NetworkStruct sn, double[] init, int maxstates) The reachability graph.- Parameters:
sn- a NetworkStruct of a closed model holding Places and Transitionsinit- initial tokens per place level, as inSpn_siphonsmaxstates- maximum number of stored markings- Returns:
- the graph
-