Class SimpleFolReasoner
- java.lang.Object
- 
- net.sf.tweety.logics.fol.reasoner.FolReasoner
- 
- net.sf.tweety.logics.fol.reasoner.SimpleFolReasoner
 
 
- 
- All Implemented Interfaces:
- QualitativeReasoner<FolBeliefSet,FolFormula>,- Reasoner<java.lang.Boolean,FolBeliefSet,FolFormula>
 
 public class SimpleFolReasoner extends FolReasoner Uses a naive brute force search procedure for theorem proving.- Author:
- Matthias Thimm
 
- 
- 
Field Summary- 
Fields inherited from class net.sf.tweety.logics.fol.reasoner.FolReasonerdefaultReasoner
 
- 
 - 
Constructor SummaryConstructors Constructor Description SimpleFolReasoner()
 - 
Method SummaryModifier and Type Method Description booleanequivalent(FolBeliefSet kb, FolFormula f1, FolFormula f2)This method determines whether two formulas are equivalent wrt.java.lang.Booleanquery(FolBeliefSet kb, FolFormula formula)Queries the given belief base for the given formula.- 
Methods inherited from class net.sf.tweety.logics.fol.reasoner.FolReasonergetDefaultReasoner, setDefaultReasoner
 
- 
 
- 
- 
- 
Method Detail- 
querypublic java.lang.Boolean query(FolBeliefSet kb, FolFormula formula) Description copied from interface:ReasonerQueries the given belief base for the given formula.- Specified by:
- queryin interface- QualitativeReasoner<FolBeliefSet,FolFormula>
- Specified by:
- queryin interface- Reasoner<java.lang.Boolean,FolBeliefSet,FolFormula>
- Specified by:
- queryin class- FolReasoner
- Parameters:
- kb- a belief base
- formula- a formula
- Returns:
- the answer to the query
 
 - 
equivalentpublic boolean equivalent(FolBeliefSet kb, FolFormula f1, FolFormula f2) Description copied from class:FolReasonerThis method determines whether two formulas are equivalent wrt. to the given knowledge base.- Specified by:
- equivalentin class- FolReasoner
- Parameters:
- kb- the knowledge base
- f1- the first formula.
- f2- the second formula.
- Returns:
- the answer to the query.
 
 
- 
 
-