Class OutputReasoner
java.lang.Object
org.tweetyproject.arg.saf.reasoner.OutputReasoner
- All Implemented Interfaces:
QualitativeReasoner<StructuredArgumentationFramework,
,Proposition> Reasoner<Boolean,
StructuredArgumentationFramework, Proposition>
public class OutputReasoner
extends Object
implements QualitativeReasoner<StructuredArgumentationFramework,Proposition>
This class models an abstract reasoner for structured argumentation frameworks. Given a specific
semantics "Sem" for Dung theories, inferences drawn using this reasoner bases on a set "output" of
propositions defined by:
Output = { a |(forall i there is an AS in E_i: claim(AS)=A)}
where E_1,...,E_n are the extensions of the induced Dung theory wrt. semantics "Sem".
Output = { a |(forall i there is an AS in E_i: claim(AS)=A)}
where E_1,...,E_n are the extensions of the induced Dung theory wrt. semantics "Sem".
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the output this reasoner bases upon.boolean
Checks whether the underlying solver or reasoning mechanism used by this reasoner is installed and available for use.query
(StructuredArgumentationFramework beliefbase, Proposition formula) Queries the given belief base with the provided formula and returns a boolean result.
-
Constructor Details
-
OutputReasoner
Creates a new reasoner- Parameters:
reasoner
- and abstract extension reasoner
-
-
Method Details
-
getOutput
Returns the output this reasoner bases upon.- Parameters:
saf
- an SAF- Returns:
- the output this reasoner bases upon.
-
query
Description copied from interface:QualitativeReasoner
Queries the given belief base with the provided formula and returns a boolean result. The result indicates whether the formula is entailed or satisfied by the belief base according to the qualitative reasoning method implemented by the reasoner.- Specified by:
query
in interfaceQualitativeReasoner<StructuredArgumentationFramework,
Proposition> - Specified by:
query
in interfaceReasoner<Boolean,
StructuredArgumentationFramework, Proposition> - Parameters:
beliefbase
- The belief base to be queried.formula
- The formula for which the query is made.- Returns:
- `TRUE` if the formula is entailed or satisfied by the belief base, `FALSE` otherwise.
-
isInstalled
public boolean isInstalled()Description copied from interface:QualitativeReasoner
Checks whether the underlying solver or reasoning mechanism used by this reasoner is installed and available for use. This can be helpful when the reasoner depends on external tools or libraries for performing the reasoning tasks.- Specified by:
isInstalled
in interfaceQualitativeReasoner<StructuredArgumentationFramework,
Proposition> - Returns:
- `true` if the solver is installed and available, `false` otherwise.
-