public class ConflictFree
extends java.lang.Object
\forall s \in S: \mid s^\bullet \mid \leq 1 \vee s^\bullet \subset ^\bullet s| Constructor and Description |
|---|
ConflictFree(PetriNet pn)
Creates a new instance for checking the conflict free property of a given petri net.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
check()
Precondition: plain Petri net
Testing if a plain Petri net is conflict-free.
|
public ConflictFree(PetriNet pn)
pn - - the petri net to check.public boolean check()
throws PreconditionFailedException
PreconditionFailedException - thrown if the given net is not plain.