Package net.sf.tweety.arg.bipolar.syntax
Class ArgumentSet
- java.lang.Object
-
- net.sf.tweety.arg.bipolar.syntax.ArgumentSet
-
- All Implemented Interfaces:
Comparable<ArgumentSet>,Iterable<BArgument>,Collection<BArgument>,BipolarEntity,net.sf.tweety.arg.dung.syntax.DungEntity,net.sf.tweety.commons.Formula,net.sf.tweety.graphs.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
Constructors Constructor Description ArgumentSet()ArgumentSet(Collection<? extends BArgument> arguments)ArgumentSet(BArgument argument)ArgumentSet(net.sf.tweety.arg.dung.semantics.Extension ext)
-
Method Summary
Modifier and Type Method Description booleanadd(BArgument arg0)booleanaddAll(Collection<? extends BArgument> arg0)voidclear()intcompareTo(ArgumentSet arg0)booleancontains(Object arg0)booleancontainsAll(Collection<?> arg0)booleanequals(Object obj)net.sf.tweety.arg.dung.ldo.syntax.LdoFormulagetLdoFormula()net.sf.tweety.commons.SignaturegetSignature()inthashCode()booleanisEmpty()Iterator<BArgument>iterator()booleanremove(Object arg0)booleanremoveAll(Collection<?> arg0)booleanretainAll(Collection<?> arg0)intsize()Object[]toArray()<T> T[]toArray(T[] arg0)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
-
-
-
Constructor Detail
-
ArgumentSet
public ArgumentSet()
-
ArgumentSet
public ArgumentSet(net.sf.tweety.arg.dung.semantics.Extension ext)
-
ArgumentSet
public ArgumentSet(BArgument argument)
-
ArgumentSet
public ArgumentSet(Collection<? extends BArgument> arguments)
-
-
Method Detail
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceCollection<BArgument>- Overrides:
hashCodein classObject
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceCollection<BArgument>- Overrides:
equalsin classObject
-
add
public boolean add(BArgument arg0)
- Specified by:
addin interfaceCollection<BArgument>
-
addAll
public boolean addAll(Collection<? extends BArgument> arg0)
- Specified by:
addAllin interfaceCollection<BArgument>
-
clear
public void clear()
- Specified by:
clearin interfaceCollection<BArgument>
-
contains
public boolean contains(Object arg0)
- Specified by:
containsin interfaceBipolarEntity- Specified by:
containsin interfaceCollection<BArgument>
-
containsAll
public boolean containsAll(Collection<?> arg0)
- Specified by:
containsAllin interfaceCollection<BArgument>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection<BArgument>
-
remove
public boolean remove(Object arg0)
- Specified by:
removein interfaceCollection<BArgument>
-
removeAll
public boolean removeAll(Collection<?> arg0)
- Specified by:
removeAllin interfaceCollection<BArgument>
-
retainAll
public boolean retainAll(Collection<?> arg0)
- Specified by:
retainAllin interfaceCollection<BArgument>
-
size
public int size()
- Specified by:
sizein interfaceCollection<BArgument>
-
toArray
public Object[] toArray()
- Specified by:
toArrayin interfaceCollection<BArgument>
-
toArray
public <T> T[] toArray(T[] arg0)
- Specified by:
toArrayin interfaceCollection<BArgument>
-
compareTo
public int compareTo(ArgumentSet arg0)
- Specified by:
compareToin interfaceComparable<ArgumentSet>
-
getLdoFormula
public net.sf.tweety.arg.dung.ldo.syntax.LdoFormula getLdoFormula()
- Specified by:
getLdoFormulain interfacenet.sf.tweety.arg.dung.syntax.DungEntity
-
getSignature
public net.sf.tweety.commons.Signature getSignature()
- Specified by:
getSignaturein interfacenet.sf.tweety.commons.Formula
-
-