public class PNProperties
extends java.lang.Object
| Constructor and Description |
|---|
PNProperties()
Create a new, empty Petri net properties instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAll(PNProperties other)
Test if this properties instance a superset of another instance.
|
boolean |
equals(java.lang.Object o) |
int |
getKForKBounded()
Return the k for k-bounded.
|
int |
getKForKMarking()
Return the k for k-marking.
|
int |
hashCode() |
boolean |
isBehaviourallyConflictFree()
Return true if this property description requires a behaviourally conflict-free PN.
|
boolean |
isBinaryConflictFree()
Return true if this property description requires a binary conflict-free PN.
|
boolean |
isConflictFree()
Return true if this property description requires a conflict free PN.
|
boolean |
isEqualConflict()
Return true if this properties description requires an equal-conflict PN.
|
boolean |
isHomogeneous()
Return true if this property description requires a homogeneous PN.
|
boolean |
isKBounded()
Return true if this property description requires k-boundedness for some k.
|
boolean |
isKBounded(int k)
Return true if this property description requires k-boundedness.
|
boolean |
isKMarking()
Return true if this property description requires a k-marking for some k.
|
boolean |
isMarkedGraph()
Return true if this property description requires a marked graph.
|
boolean |
isMergeFree()
Return true if this property description requires an merge-free PN.
|
boolean |
isOutputNonbranching()
Return true if this property description requires an output nonbranching PN.
|
boolean |
isPlain()
Return true if this property description requires plainness.
|
boolean |
isPure()
Return true if this property description requires pureness.
|
boolean |
isSafe()
Return true if this property description requires safeness.
|
boolean |
isTNet()
Return true if this property description requires a T-Net.
|
PNProperties |
requireKBounded(int k)
Make sure that at least k-boundedness is required.
|
PNProperties |
requireKMarking(int k)
Make sure that at least a k-marking is required.
|
PNProperties |
requireSafe()
Make sure that safeness is required.
|
PNProperties |
setBehaviourallyConflictFree(boolean value)
Create a new instance which differs from this one in the specified behaviourally conflict-freeness
requirement.
|
PNProperties |
setBinaryConflictFree(boolean value)
Create a new instance which differs from this one in the specified binary conflict-freeness requirement.
|
PNProperties |
setConflictFree(boolean value)
Create a new instance which differs from this one in the specified conflict-freeness requirement.
|
PNProperties |
setEqualConflict(boolean value)
Create a new instance which differs from this one in the specified equal-conflictness requirement.
|
PNProperties |
setHomogeneous(boolean value)
Create a new instance which differs from this one in the specified homogeneous requirement.
|
PNProperties |
setMarkedGraph(boolean value)
Create a new instance which differs from this one in the specified marked graph requirement.
|
PNProperties |
setMergeFree(boolean value)
Create a new instance which differs from this one in the specified merge-free requirement.
|
PNProperties |
setOutputNonbranching(boolean value)
Create a new instance which differs from this one in the specified output-nonbranching requirement.
|
PNProperties |
setPlain(boolean value)
Create a new instance which differs from this one in the specified plainness requirement.
|
PNProperties |
setPure(boolean value)
Create a new instance which differs from this one in the specified pureness requirement.
|
PNProperties |
setTNet(boolean value)
Create a new instance which differs from this one in the specified T-Net requirement.
|
java.lang.String |
toString() |
public PNProperties()
public boolean isKBounded()
public boolean isKBounded(int k)
k - The k for k-boundednesspublic boolean isSafe()
public PNProperties requireSafe()
public int getKForKBounded()
public PNProperties requireKBounded(int k)
k - the k for k-boundedpublic boolean isKMarking()
public int getKForKMarking()
public PNProperties requireKMarking(int k)
k - the k for k-markingpublic boolean isPure()
public PNProperties setPure(boolean value)
value - whether pureness should be required.public boolean isPlain()
public PNProperties setPlain(boolean value)
value - whether plainness should be required.public boolean isTNet()
public PNProperties setTNet(boolean value)
value - whether TNet should be required.public boolean isMarkedGraph()
public PNProperties setMarkedGraph(boolean value)
value - whether marked graph should be required.public boolean isOutputNonbranching()
public PNProperties setOutputNonbranching(boolean value)
value - whether output-nonbranching should be required.public boolean isMergeFree()
public PNProperties setMergeFree(boolean value)
value - whether merge-free should be required.public boolean isConflictFree()
public PNProperties setConflictFree(boolean value)
value - whether conflict freeness should be required.public boolean isHomogeneous()
public PNProperties setHomogeneous(boolean value)
value - whether homogeneous should be required.public boolean isBehaviourallyConflictFree()
public PNProperties setBehaviourallyConflictFree(boolean value)
value - whether BCF should be required.public boolean isBinaryConflictFree()
public PNProperties setBinaryConflictFree(boolean value)
value - whether BiCF should be required.public boolean isEqualConflict()
public PNProperties setEqualConflict(boolean value)
value - whether EC should be required.public boolean containsAll(PNProperties other)
other - The PNProperties instance to compare with.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object