Class SimpleFolReasoner
java.lang.Object
org.tweetyproject.logics.fol.reasoner.FolReasoner
org.tweetyproject.logics.fol.reasoner.SimpleFolReasoner
- All Implemented Interfaces:
- QualitativeReasoner<FolBeliefSet,,- FolFormula> - Reasoner<Boolean,- FolBeliefSet, - FolFormula> 
Uses a naive brute force search procedure for theorem proving.
- Author:
- Matthias Thimm
- 
Field SummaryFields inherited from class org.tweetyproject.logics.fol.reasoner.FolReasonerdefaultReasoner
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanequivalent(FolBeliefSet kb, FolFormula f1, FolFormula f2) This method determines whether two formulas are equivalent wrt.booleanChecks whether the underlying solver or reasoning mechanism used by this reasoner is installed and available for use.query(FolBeliefSet kb, FolFormula formula) Queries the given belief base with the provided formula and returns a boolean result.Methods inherited from class org.tweetyproject.logics.fol.reasoner.FolReasonergetDefaultReasoner, setDefaultReasoner
- 
Constructor Details- 
SimpleFolReasonerpublic SimpleFolReasoner()Default
 
- 
- 
Method Details- 
queryDescription copied from interface:QualitativeReasonerQueries the given belief base with the provided formula and returns a boolean result. The result indicates whether the formula is entailed or satisfied by the belief base according to the qualitative reasoning method implemented by the reasoner.- Specified by:
- queryin interface- QualitativeReasoner<FolBeliefSet,- FolFormula> 
- Specified by:
- queryin interface- Reasoner<Boolean,- FolBeliefSet, - FolFormula> 
- Specified by:
- queryin class- FolReasoner
- Parameters:
- kb- The belief base to be queried.
- formula- The formula for which the query is made.
- Returns:
- `TRUE` if the formula is entailed or satisfied by the belief base, `FALSE` otherwise.
 
- 
equivalentDescription 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.
 
- 
isInstalledpublic boolean isInstalled()Description copied from interface:QualitativeReasonerChecks whether the underlying solver or reasoning mechanism used by this reasoner is installed and available for use. This can be helpful when the reasoner depends on external tools or libraries for performing the reasoning tasks.- Returns:
- `true` if the solver is installed and available, `false` otherwise.
 
 
-