Class ExecutableExtension
java.lang.Object
org.tweetyproject.commons.AbstractInterpretation
org.tweetyproject.arg.dung.semantics.AbstractArgumentationInterpretation
org.tweetyproject.arg.dung.semantics.Extension
org.tweetyproject.agents.dialogues.ExecutableExtension
- All Implemented Interfaces:
Comparable
,Iterable
,Collection
,Executable
,Interpretation
,Node
This class packs an extension into an executable object.
- Author:
- Matthias Thimm
-
Field Summary
Fields inherited from interface org.tweetyproject.agents.Executable
NO_OPERATION
-
Constructor Summary
ConstructorDescriptionCreates a new empty extension.ExecutableExtension
(Collection<? extends Argument> arguments) Creates a new extension for the given arguments. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether this operation can be regarded as no operation at all.Methods inherited from class org.tweetyproject.arg.dung.semantics.Extension
add, addAll, clear, compareTo, contains, containsAll, equals, getArgumentsOfStatus, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
Methods inherited from class org.tweetyproject.arg.dung.semantics.AbstractArgumentationInterpretation
satisfies, satisfies
Methods inherited from class org.tweetyproject.commons.AbstractInterpretation
satisfies
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
ExecutableExtension
public ExecutableExtension()Creates a new empty extension. -
ExecutableExtension
Creates a new extension for the given arguments.- Parameters:
arguments
- a collection of arguments.
-
-
Method Details
-
isNoOperation
public boolean isNoOperation()Description copied from interface:Executable
Indicates whether this operation can be regarded as no operation at all.- Specified by:
isNoOperation
in interfaceExecutable
- Returns:
- "true" if this operation is a noop.
-