Class LdoInterpretation
java.lang.Object
org.tweetyproject.commons.AbstractInterpretation<DungTheory,LdoFormula>
org.tweetyproject.arg.dung.ldo.semantics.LdoInterpretation
- All Implemented Interfaces:
Interpretation<DungTheory,
LdoFormula>
This class models an LDO interpretation, i.e., a pair
of an argumentation framework and (possibly) an extension.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionLdoInterpretation
(DungTheory theory, Extension ext, Semantics semantics) Creates a new interpretationLdoInterpretation
(DungTheory theory, Semantics semantics) Creates a new interpretation -
Method Summary
Modifier and TypeMethodDescriptionboolean
satisfies
(LdoFormula formula) Checks whether this interpretation satisfies the given formula.boolean
satisfies
(DungTheory beliefBase) Checks whether this interpretation satisfies the given knowledge base.Methods inherited from class org.tweetyproject.commons.AbstractInterpretation
satisfies
-
Constructor Details
-
LdoInterpretation
Creates a new interpretation- Parameters:
theory
- an abstract argumentation frameworkext
- an extension (possibly null)semantics
- the used semantics (see org.tweetyproject.arg.dung.semantics.Semantics)
-
LdoInterpretation
Creates a new interpretation- Parameters:
theory
- an abstract argumentation frameworksemantics
- the used semantics (see org.tweetyproject.arg.dung.semantics.Semantics)
-
-
Method Details
-
satisfies
Description copied from interface:Interpretation
Checks 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:Interpretation
Checks 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.
-