public class ConcurrencyPreserving
extends java.lang.Object
\forall t \in T: \mid t^\bullet \mid = \mid {}^\bullet t \mid | Constructor and Description |
|---|
ConcurrencyPreserving(PetriNet pn)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
check()
Testing if a Petri net is concurrency-preserving.
|
Transition |
getWitness()
Returns the transition where the pre- and postsets are not equal
if existent otherwise null.
|
public ConcurrencyPreserving(PetriNet pn)
pn - - the net which should be checked.public boolean check()
public Transition getWitness()