public class PnAnalysis
extends java.lang.Object
| Constructor and Description |
|---|
PnAnalysis() |
| Modifier and Type | Method and Description |
|---|---|
PetriNet |
checkAllIsomorphicTSystemsForPetriNet(PetriNet pn,
java.lang.Integer g,
java.lang.Integer k,
boolean randomly)
Checks for a given Petri net depending on g and k, if there is a T-system, whose reachability graph is
isomorph to the reachability graph of the given Petri net.
|
public PetriNet checkAllIsomorphicTSystemsForPetriNet(PetriNet pn, java.lang.Integer g, java.lang.Integer k, boolean randomly) throws PreconditionFailedException
pn - the given Petri net, for which the check has to be performed.g - maximum number of places, for which T-systems should be tested.k - maximum number of tokens, for which T-systems should be tested. If k is null, the standard
value is 10 for T-system, which aren't cycles, and for cycles all numbers of tokens will be
tested at the standardrandomly - if true, only one randomly selected T-system is checked, otherwise all T-systems are checkedPreconditionFailedException - is thrown, if the given Petri net breaks one of the preconditions.