public class PpsPropertyChecker
extends java.lang.Object
The properties are Proposition 1 (B) (D) (F) from "K. Barylska, E. Best: Properties of Plain, Pure, and Safe Petri Nets."
| Constructor and Description |
|---|
PpsPropertyChecker() |
| Modifier and Type | Method and Description |
|---|---|
PpsPropertyResult |
getResult()
Returns information about the violated property if any hasPrpoperty
call returned false.
|
boolean |
hasProperties(TransitionSystem ts)
Returns true if the given transition system satisfies all properties
(B), (D) and (F).
|
boolean |
hasPropertyB(TransitionSystem ts)
Returns true if the given transition system satisfies the following
property:
|
boolean |
hasPropertyD(TransitionSystem ts)
Returns true if the given transition system satisfies the following
property:
|
boolean |
hasPropertyF(TransitionSystem ts,
int maxPathLength)
Returns true if the given transition system satisfies the following
property:
|
public PpsPropertyResult getResult()
public boolean hasProperties(TransitionSystem ts)
ts - transition system to examinepublic boolean hasPropertyB(TransitionSystem ts)
If M'[a⟩M and M''[b⟩M then [b⟩M' ⇔ [a⟩M'' with transitions a, b
ts - transition system to examinepublic boolean hasPropertyD(TransitionSystem ts)
If M[a⟩ and M[b⟩ then for any K: (K[ab⟩ ⇔ K[ba⟩) with transitions a, b
ts - transition system to examinepublic boolean hasPropertyF(TransitionSystem ts, int maxPathLength)
If M[wv⟩ and M[vw⟩ and M[wc⟩ and M[vc⟩ then M[wvc⟩M' and M[vwc⟩M' and M[c⟩ with sequences of transitions v, w and a transition c
ts - transition system to examinemaxPathLength - termination condition for the depth first search if
there are loops in the LTS