public class Separation
extends java.lang.Object
| Constructor and Description |
|---|
Separation(PetriNet petriNet,
boolean stronglyCheck,
long initK,
java.util.ArrayList<java.lang.String> chosenFiringSequence,
boolean verbose)
Class constructor.
|
Separation(PetriNet petriNet,
boolean stronglyCheck,
long initK,
int maxLength,
boolean verbose)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOutputLog()
This returns output.
|
boolean |
isSeparable()
Returns if a net is separable
Note: true means that no counterexample was found
|
static boolean |
isSequenceASequenceOfNet(PetriNet petriNet,
java.util.ArrayList<java.lang.String> chosenFiringSequence)
Checks if a firing sequence is a sequence of the net
|
public Separation(PetriNet petriNet, boolean stronglyCheck, long initK, java.util.ArrayList<java.lang.String> chosenFiringSequence, boolean verbose) throws UnboundedException
petriNet - petriNet Net which will be checkedstronglyCheck - stronglyCheck check strong or weaklyinitK - initK Value for k, k == 0 -> compute the maximum k and use itchosenFiringSequence - check this given firing sequenceverbose - if true method will not stop after first counterexampleUnboundedException - Unbounded exceptionpublic Separation(PetriNet petriNet, boolean stronglyCheck, long initK, int maxLength, boolean verbose) throws UnboundedException
petriNet - petriNet Net which will be checkedstronglyCheck - stronglyCheck check strong or weaklyinitK - initK Value for k, k == 0 -> compute the maximum k and use itmaxLength - maxLength check all sequences up this lengthverbose - outputs every firing sequenceUnboundedException - Unbounded exceptionpublic static boolean isSequenceASequenceOfNet(PetriNet petriNet, java.util.ArrayList<java.lang.String> chosenFiringSequence)
petriNet - Net which will be checkedchosenFiringSequence - given firing sequencepublic java.lang.String getOutputLog()
public boolean isSeparable()