Class AbstractArgumentationInterpretation<T extends ArgumentationFramework<Argument>>
java.lang.Object
org.tweetyproject.commons.AbstractInterpretation<T,Argument>
org.tweetyproject.arg.dung.semantics.AbstractArgumentationInterpretation<T>
- Type Parameters:
T- The type of argumentation framework
- All Implemented Interfaces:
Interpretation<T,Argument>
- Direct Known Subclasses:
Extension,Labeling,SerialisationSequence
public abstract class AbstractArgumentationInterpretation<T extends ArgumentationFramework<Argument>>
extends AbstractInterpretation<T,Argument>
This abstract class acts as a common ancestor for interpretations to
abstract argumentation frameworks.
- Author:
- Matthias Thimm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ExtensiongetArgumentsOfStatus(ArgumentStatus status) Returns all arguments that have the given status in this interpretation.booleanChecks whether this interpretation satisfies the given formula.booleanChecks whether this interpretation satisfies the given knowledge base.abstract StringtoString()Methods inherited from class org.tweetyproject.commons.AbstractInterpretation
satisfies
-
Constructor Details
-
AbstractArgumentationInterpretation
public AbstractArgumentationInterpretation()Default constructor
-
-
Method Details
-
satisfies
Description copied from interface:InterpretationChecks whether this interpretation satisfies the given formula.- Parameters:
formula- a formula .- Returns:
- "true" if this interpretation satisfies the given formula.
- Throws:
IllegalArgumentException- if the formula does not correspond to the expected language.
-
satisfies
Description copied from interface:InterpretationChecks whether this interpretation satisfies the given knowledge base.- Parameters:
beliefBase- a knowledge base.- Returns:
- "true" if this interpretation satisfies the given knowledge base.
- Throws:
IllegalArgumentException- IllegalArgumentException if the knowledgebase does not correspond to the expected language.
-
getArgumentsOfStatus
Returns all arguments that have the given status in this interpretation.- Parameters:
status- the status of the arguments to be returned.- Returns:
- the set of arguments with the given status.
-
toString
-