Package net.sf.tweety.logics.bpm.syntax
Class BpmnSignature
- java.lang.Object
-
- net.sf.tweety.logics.bpm.syntax.BpmnSignature
-
-
Constructor Summary
Constructors Constructor Description BpmnSignature()
-
Method Summary
Modifier and Type Method Description voidadd(java.lang.Object obj)Adds the given formula to this signature.voidadd(java.lang.Object... objects)Adds the given formulas to the signature.voidaddAll(java.util.Collection<?> c)Adds all elements of this collection to this signature.voidaddSignature(Signature other)Adds the elements of the given signature to this signature.voidclear()Removes all elements of this signature.Signatureclone()booleanisEmpty()Returns true if this signature is empty.booleanisOverlappingSignature(Signature other)Checks whether this signature has common elements with the given signature, i.e.booleanisSubSignature(Signature other)Checks whether this signature is a sub-signature of the given signature, i.e.voidremove(java.lang.Object obj)Removes the given formula from this signature, if it is present (optional operation).voidremoveAll(java.util.Collection<?> c)Removes all of this signature elements that are also contained in the specified collection (optional operation).
-
-
-
Method Detail
-
isSubSignature
public boolean isSubSignature(Signature other)
Description copied from interface:SignatureChecks whether this signature is a sub-signature of the given signature, i.e. whether each logical expression expressible with this signature is also expressible with the given signature.- Specified by:
isSubSignaturein interfaceSignature- Parameters:
other- a signature.- Returns:
- "true" iff this signature is a sub-signature of the given one.
-
isOverlappingSignature
public boolean isOverlappingSignature(Signature other)
Description copied from interface:SignatureChecks whether this signature has common elements with the given signature, i.e. whether there are logical expressions expressible with this signature that are also expressible with the given signature.- Specified by:
isOverlappingSignaturein interfaceSignature- Parameters:
other- a signature.- Returns:
- "true" iff this signature is overlapping with the given one.
-
addSignature
public void addSignature(Signature other)
Description copied from interface:SignatureAdds the elements of the given signature to this signature.- Specified by:
addSignaturein interfaceSignature- Parameters:
other- a signature.
-
add
public void add(java.lang.Object obj)
Description copied from interface:SignatureAdds the given formula to this signature.
-
addAll
public void addAll(java.util.Collection<?> c)
Description copied from interface:SignatureAdds all elements of this collection to this signature.
-
isEmpty
public boolean isEmpty()
Description copied from interface:SignatureReturns true if this signature is empty.
-
remove
public void remove(java.lang.Object obj)
Description copied from interface:SignatureRemoves the given formula from this signature, if it is present (optional operation).
-
removeAll
public void removeAll(java.util.Collection<?> c)
Description copied from interface:SignatureRemoves all of this signature elements that are also contained in the specified collection (optional operation). After this call returns, this signature will contain no elements in common with the specified collection.
-
clear
public void clear()
Description copied from interface:SignatureRemoves all elements of this signature. After this call returns, this signature will contain no elements.
-
-