Class Extension<T extends ArgumentationFramework<Argument>>
java.lang.Object
org.tweetyproject.commons.AbstractInterpretation<T,Argument>
 
org.tweetyproject.arg.dung.semantics.AbstractArgumentationInterpretation<T>
org.tweetyproject.arg.dung.semantics.Extension<T>
- All Implemented Interfaces:
- Comparable<Extension<T>>,- Iterable<Argument>,- Collection<Argument>,- Interpretation<T,- Argument> 
- Direct Known Subclasses:
- ExecutableExtension
public class Extension<T extends ArgumentationFramework<Argument>>
extends AbstractArgumentationInterpretation<T>
implements Collection<Argument>, Comparable<Extension<T>>
This class models a (possible) extension of a Dung theory, i.e. a set of arguments.
- Author:
- Matthias Thimm
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new empty extension.Extension(Collection<? extends Argument> arguments) Creates a new extension with the given set of arguments.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends Argument> arg0) voidclear()intbooleanbooleancontainsAll(Collection<?> arg0) booleangetArgumentsOfStatus(ArgumentStatus status) Returns all arguments that have the given status in this interpretation.inthashCode()booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> arg0) booleanretainAll(Collection<?> arg0) intsize()Object[]toArray()<T> T[]toArray(T[] arg0) toString()Methods inherited from class org.tweetyproject.arg.dung.semantics.AbstractArgumentationInterpretationsatisfies, satisfiesMethods inherited from class org.tweetyproject.commons.AbstractInterpretationsatisfiesMethods inherited from interface java.util.CollectionparallelStream, removeIf, spliterator, stream, toArray
- 
Constructor Details- 
Extensionpublic Extension()Creates a new empty extension.
- 
ExtensionCreates a new extension with the given set of arguments.- Parameters:
- arguments- a set of arguments
 
 
- 
- 
Method Details- 
toString- Specified by:
- toStringin class- AbstractArgumentationInterpretation<T extends ArgumentationFramework<Argument>>
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein interface- Collection<T extends ArgumentationFramework<Argument>>
- Overrides:
- hashCodein class- Object
 
- 
equals- Specified by:
- equalsin interface- Collection<T extends ArgumentationFramework<Argument>>
- Overrides:
- equalsin class- Object
 
- 
getArgumentsOfStatusDescription copied from class:AbstractArgumentationInterpretationReturns all arguments that have the given status in this interpretation.- Specified by:
- getArgumentsOfStatusin class- AbstractArgumentationInterpretation<T extends ArgumentationFramework<Argument>>
- Parameters:
- status- the status of the arguments to be returned.
- Returns:
- the set of arguments with the given status.
 
- 
add- Specified by:
- addin interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
addAll- Specified by:
- addAllin interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
clearpublic void clear()- Specified by:
- clearin interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
contains- Specified by:
- containsin interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
containsAll- Specified by:
- containsAllin interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
iterator- Specified by:
- iteratorin interface- Collection<T extends ArgumentationFramework<Argument>>
- Specified by:
- iteratorin interface- Iterable<T extends ArgumentationFramework<Argument>>
 
- 
remove- Specified by:
- removein interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
removeAll- Specified by:
- removeAllin interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
retainAll- Specified by:
- retainAllin interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
sizepublic int size()- Specified by:
- sizein interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
toArray- Specified by:
- toArrayin interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
toArraypublic <T> T[] toArray(T[] arg0) - Specified by:
- toArrayin interface- Collection<T extends ArgumentationFramework<Argument>>
 
- 
compareTo- Specified by:
- compareToin interface- Comparable<T extends ArgumentationFramework<Argument>>
 
 
-