Package net.sf.tweety.logics.dl.reasoner
Class NaiveDlReasoner
- java.lang.Object
-
- net.sf.tweety.logics.dl.reasoner.NaiveDlReasoner
-
- All Implemented Interfaces:
net.sf.tweety.commons.QualitativeReasoner<DlBeliefSet,DlAxiom>,net.sf.tweety.commons.Reasoner<Boolean,DlBeliefSet,DlAxiom>
public class NaiveDlReasoner extends Object implements net.sf.tweety.commons.QualitativeReasoner<DlBeliefSet,DlAxiom>
Naive reasoner for the description logic ALC (as represented by this library).- Author:
- Anna Gessler
-
-
Constructor Summary
Constructors Constructor Description NaiveDlReasoner()
-
Method Summary
Modifier and Type Method Description Set<DlInterpretation>getAllInterpretations(DlSignature sig)Get all interpretations for the given signature.Booleanquery(DlBeliefSet kb, DlAxiom formula)
-
-
-
Method Detail
-
query
public Boolean query(DlBeliefSet kb, DlAxiom formula)
- Specified by:
queryin interfacenet.sf.tweety.commons.QualitativeReasoner<DlBeliefSet,DlAxiom>- Specified by:
queryin interfacenet.sf.tweety.commons.Reasoner<Boolean,DlBeliefSet,DlAxiom>
-
getAllInterpretations
public Set<DlInterpretation> getAllInterpretations(DlSignature sig)
Get all interpretations for the given signature.- Parameters:
sig- a DLSignature- Returns:
- set of all interpretations
-
-