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
Constructors -
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 for the given formula.
-
Constructor Details
-
NaiveDlReasoner
public NaiveDlReasoner()
-
-
Method Details
-
query
Description copied from interface:Reasoner
Queries the given belief base for the given formula.- Specified by:
query
in interfaceQualitativeReasoner<DlBeliefSet,
DlAxiom> - Specified by:
query
in interfaceReasoner<Boolean,
DlBeliefSet, DlAxiom> - Parameters:
kb
- a belief baseformula
- a formula- Returns:
- the answer to the query
-
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:
- if the solver is installed
-