Class ArgumentSet
java.lang.Object
org.tweetyproject.arg.bipolar.syntax.ArgumentSet
- All Implemented Interfaces:
Comparable<ArgumentSet>,Iterable<BArgument>,Collection<BArgument>,BipolarEntity,DungEntity,Formula,Node
public class ArgumentSet
extends Object
implements BipolarEntity, Collection<BArgument>, Comparable<ArgumentSet>
This class models a set of arguments used by bipolar abstract argumentation theory.
- Author:
- Lars Bengel
-
Constructor Summary
ConstructorsConstructorDescriptionArgumentSet(Collection<? extends BArgument> arguments)ArgumentSet(BArgument argument)ArgumentSet(Extension ext) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends BArgument> arg0)voidclear()intcompareTo(ArgumentSet arg0)booleanbooleancontainsAll(Collection<?> arg0)booleanReturns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf.Returns the signature of the language of this formula.inthashCode()booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> arg0)booleanretainAll(Collection<?> arg0)intsize()Object[]toArray()<T> T[]toArray(T[] arg0)toString()Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
ArgumentSet
public ArgumentSet() -
ArgumentSet
-
ArgumentSet
-
ArgumentSet
-
-
Method Details
-
toString
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<BArgument>- Overrides:
hashCodein classObject
-
equals
- Specified by:
equalsin interfaceCollection<BArgument>- Overrides:
equalsin classObject
-
add
- Specified by:
addin interfaceCollection<BArgument>
-
addAll
- Specified by:
addAllin interfaceCollection<BArgument>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<BArgument>
-
contains
- Specified by:
containsin interfaceBipolarEntity- Specified by:
containsin interfaceCollection<BArgument>
-
containsAll
- Specified by:
containsAllin interfaceCollection<BArgument>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<BArgument>
-
iterator
-
remove
- Specified by:
removein interfaceCollection<BArgument>
-
removeAll
- Specified by:
removeAllin interfaceCollection<BArgument>
-
retainAll
- Specified by:
retainAllin interfaceCollection<BArgument>
-
size
public int size()- Specified by:
sizein interfaceCollection<BArgument>
-
toArray
- Specified by:
toArrayin interfaceCollection<BArgument>
-
toArray
public <T> T[] toArray(T[] arg0)- Specified by:
toArrayin interfaceCollection<BArgument>
-
compareTo
- Specified by:
compareToin interfaceComparable<ArgumentSet>
-
getLdoFormula
Description copied from interface:DungEntityReturns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf. [Hunter, Thimm, 2015])- Specified by:
getLdoFormulain interfaceDungEntity- Returns:
- the logical formula of this entity.
-
getSignature
Description copied from interface:FormulaReturns the signature of the language of this formula.- Specified by:
getSignaturein interfaceFormula- Returns:
- the signature of the language of this formula.
-