Package net.sf.tweety.logics.dl.reasoner
Class NaiveDlReasoner
- java.lang.Object
- 
- net.sf.tweety.logics.dl.reasoner.NaiveDlReasoner
 
- 
- All Implemented Interfaces:
- QualitativeReasoner<DlBeliefSet,DlAxiom>,- Reasoner<java.lang.Boolean,DlBeliefSet,DlAxiom>
 
 public class NaiveDlReasoner extends java.lang.Object implements QualitativeReasoner<DlBeliefSet,DlAxiom> Naive reasoner for the description logic ALC (as represented by this library).- Author:
- Anna Gessler
 
- 
- 
Constructor SummaryConstructors Constructor Description NaiveDlReasoner()
 - 
Method SummaryModifier and Type Method Description java.util.Set<DlInterpretation>getAllInterpretations(DlSignature sig)Get all interpretations for the given signature.java.lang.Booleanquery(DlBeliefSet kb, DlAxiom formula)Queries the given belief base for the given formula.
 
- 
- 
- 
Method Detail- 
querypublic java.lang.Boolean query(DlBeliefSet kb, DlAxiom formula) Description copied from interface:ReasonerQueries the given belief base for the given formula.- Specified by:
- queryin interface- QualitativeReasoner<DlBeliefSet,DlAxiom>
- Specified by:
- queryin interface- Reasoner<java.lang.Boolean,DlBeliefSet,DlAxiom>
- Parameters:
- kb- a belief base
- formula- a formula
- Returns:
- the answer to the query
 
 - 
getAllInterpretationspublic java.util.Set<DlInterpretation> getAllInterpretations(DlSignature sig) Get all interpretations for the given signature.- Parameters:
- sig- a DLSignature
- Returns:
- set of all interpretations
 
 
- 
 
-