Class SimplePlReasoner
java.lang.Object
org.tweetyproject.logics.pl.reasoner.AbstractPlReasoner
org.tweetyproject.logics.pl.reasoner.SimplePlReasoner
- All Implemented Interfaces:
KernelProvider<PlFormula>,QualitativeReasoner<PlBeliefSet,,PlFormula> Reasoner<Boolean,PlBeliefSet, PlFormula>
Naive classical inference (checks all interpretations for satisfiability).
- Author:
- Matthias Thimm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanquery(PlBeliefSet beliefbase, PlFormula formula) Queries the given belief base for the given formula.Methods inherited from class org.tweetyproject.logics.pl.reasoner.AbstractPlReasoner
getKernels, isEquivalent, query
-
Constructor Details
-
SimplePlReasoner
public SimplePlReasoner()
-
-
Method Details
-
query
Description copied from interface:ReasonerQueries the given belief base for the given formula.- Specified by:
queryin interfaceQualitativeReasoner<PlBeliefSet,PlFormula> - Specified by:
queryin interfaceReasoner<Boolean,PlBeliefSet, PlFormula> - Specified by:
queryin classAbstractPlReasoner- Parameters:
beliefbase- a belief baseformula- a formula- Returns:
- the answer to the query
-
isInstalled
public boolean isInstalled()- Returns:
- if the solver is installed
-