Class NaiveDlReasoner
java.lang.Object
org.tweetyproject.logics.dl.reasoner.NaiveDlReasoner
- All Implemented Interfaces:
QualitativeReasoner<DlBeliefSet,
,DlAxiom> Reasoner<Boolean,
DlBeliefSet, DlAxiom>
Naive reasoner for the description logic ALC.
- Author:
- Anna Gessler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet all interpretations for the given signature.boolean
the solver is natively installed and is therefore always installedquery
(DlBeliefSet kb, DlAxiom formula) Queries the given belief base with the provided formula and returns a boolean result.
-
Constructor Details
-
NaiveDlReasoner
public NaiveDlReasoner()Default
-
-
Method Details
-
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<DlBeliefSet,
DlAxiom> - Specified by:
query
in interfaceReasoner<Boolean,
DlBeliefSet, DlAxiom> - Parameters:
kb
- 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.
-
getAllInterpretations
Get all interpretations for the given signature.- Parameters:
sig
- a DLSignature- Returns:
- set of all interpretations
-
isInstalled
public boolean isInstalled()the solver is natively installed and is therefore always installed- Specified by:
isInstalled
in interfaceQualitativeReasoner<DlBeliefSet,
DlAxiom> - Returns:
- `true` if the solver is installed and available, `false` otherwise.
-