public class FreeChoice
extends java.lang.Object
| Constructor and Description |
|---|
FreeChoice() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(PetriNet net)
Checks whether a given plain Petri net is a free choice net.
|
public boolean check(PetriNet net) throws PreconditionFailedException
net - - the petri net to check.PreconditionFailedException - thrown if the net is not plain.