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<DungTheory> ext) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends BArgument> arg0) void
clear()
int
compareTo
(ArgumentSet arg0) boolean
boolean
containsAll
(Collection<?> arg0) boolean
Returns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf.Returns the signature of the language of this formula.int
hashCode()
boolean
isEmpty()
iterator()
boolean
boolean
removeAll
(Collection<?> arg0) boolean
retainAll
(Collection<?> arg0) int
size()
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:
hashCode
in interfaceCollection<BArgument>
- Overrides:
hashCode
in classObject
-
equals
- Specified by:
equals
in interfaceCollection<BArgument>
- Overrides:
equals
in classObject
-
getArguments
-
add
- Specified by:
add
in interfaceCollection<BArgument>
-
addAll
- Specified by:
addAll
in interfaceCollection<BArgument>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<BArgument>
-
contains
- Specified by:
contains
in interfaceBipolarEntity
- Specified by:
contains
in interfaceCollection<BArgument>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<BArgument>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<BArgument>
-
iterator
-
remove
- Specified by:
remove
in interfaceCollection<BArgument>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<BArgument>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<BArgument>
-
size
public int size()- Specified by:
size
in interfaceCollection<BArgument>
-
toArray
- Specified by:
toArray
in interfaceCollection<BArgument>
-
toArray
public <T> T[] toArray(T[] arg0) - Specified by:
toArray
in interfaceCollection<BArgument>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ArgumentSet>
-
getLdoFormula
Description copied from interface:DungEntity
Returns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf. [Hunter, Thimm, 2015])- Specified by:
getLdoFormula
in interfaceDungEntity
- Returns:
- the logical formula of this entity.
-
getSignature
Description copied from interface:Formula
Returns the signature of the language of this formula.- Specified by:
getSignature
in interfaceFormula
- Returns:
- the signature of the language of this formula.
-