Class BinaryAcceptanceCondition
java.lang.Object
org.tweetyproject.arg.adf.syntax.acc.BinaryAcceptanceCondition
- All Implemented Interfaces:
AcceptanceCondition
- Direct Known Subclasses:
ConjunctionAcceptanceCondition,DisjunctionAcceptanceCondition,EquivalenceAcceptanceCondition,ExclusiveDisjunctionAcceptanceCondition,ImplicationAcceptanceCondition
Base class for acceptance conditions with two children.
- Author:
- Sebastian
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.tweetyproject.arg.adf.syntax.acc.AcceptanceCondition
AcceptanceCondition.Builder -
Field Summary
Fields inherited from interface org.tweetyproject.arg.adf.syntax.acc.AcceptanceCondition
CONTRADICTION, TAUTOLOGY -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new binary acceptance condition. -
Method Summary
Methods inherited from interface org.tweetyproject.arg.adf.syntax.acc.AcceptanceCondition
accept, arguments, contains
-
Constructor Details
-
BinaryAcceptanceCondition
Creates a new binary acceptance condition.- Parameters:
left- the left child acceptance conditionright- the right child acceptance condition
-
-
Method Details
-
getChildren
Description copied from interface:AcceptanceConditionReturns the children of this acceptance condition- Specified by:
getChildrenin interfaceAcceptanceCondition- Returns:
- an unmodifiable set of children
-
getLeft
Returns the left child acceptance condition.- Returns:
- the left child acceptance condition
-
getRight
Returns the right child acceptance condition.- Returns:
- the right child acceptance condition
-
hashCode
public int hashCode() -
equals
-
toString
-