Package net.sf.tweety.arg.adf.syntax.acc
Class AbstractAcceptanceCondition
- java.lang.Object
-
- net.sf.tweety.arg.adf.syntax.acc.AbstractAcceptanceCondition
-
- All Implemented Interfaces:
AcceptanceCondition
- Direct Known Subclasses:
ConjunctionAcceptanceCondition
,DisjunctionAcceptanceCondition
,EquivalenceAcceptanceCondition
,ExclusiveDisjunctionAcceptanceCondition
,ImplicationAcceptanceCondition
,NegationAcceptanceCondition
public abstract class AbstractAcceptanceCondition extends java.lang.Object implements AcceptanceCondition
- Author:
- Mathias Hofer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.sf.tweety.arg.adf.syntax.acc.AcceptanceCondition
AcceptanceCondition.Builder
-
-
Field Summary
-
Fields inherited from interface net.sf.tweety.arg.adf.syntax.acc.AcceptanceCondition
CONTRADICTION, TAUTOLOGY
-
-
Constructor Summary
Constructors Constructor Description AbstractAcceptanceCondition(java.util.Collection<AcceptanceCondition> children)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.Set<AcceptanceCondition>
getChildren()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from interface net.sf.tweety.arg.adf.syntax.acc.AcceptanceCondition
accept, arguments, contains
-
-
-
-
Constructor Detail
-
AbstractAcceptanceCondition
public AbstractAcceptanceCondition(java.util.Collection<AcceptanceCondition> children)
- Parameters:
children
- the children of this acceptance condition- Throws:
java.lang.NullPointerException
- if children or one of its elements is null
-
-
Method Detail
-
getChildren
public java.util.Set<AcceptanceCondition> getChildren()
- Specified by:
getChildren
in interfaceAcceptanceCondition
- Returns:
- an unmodifiable set of children
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-