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.booleanthe 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:ReasonerQueries the given belief base for the given formula.- Specified by:
queryin interfaceQualitativeReasoner<DlBeliefSet,DlAxiom> - Specified by:
queryin 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:
isInstalledin interfaceQualitativeReasoner<DlBeliefSet,DlAxiom> - Returns:
- if the solver is installed
-