Class NaiveQbfReasoner
java.lang.Object
org.tweetyproject.logics.pl.reasoner.AbstractPlReasoner
org.tweetyproject.logics.qbf.reasoner.NaiveQbfReasoner
- All Implemented Interfaces:
KernelProvider<PlFormula>
,QualitativeReasoner<PlBeliefSet,
,PlFormula> Reasoner<Boolean,
PlBeliefSet, PlFormula>
Naive classical inference for quantified boolean formulas (checks all interpretations for satisfiability).
- Author:
- Anna Gessler, Matthias Thimm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
query
(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
-
NaiveQbfReasoner
public NaiveQbfReasoner()
-
-
Method Details
-
query
Description copied from interface:Reasoner
Queries the given belief base for the given formula.- Specified by:
query
in interfaceQualitativeReasoner<PlBeliefSet,
PlFormula> - Specified by:
query
in interfaceReasoner<Boolean,
PlBeliefSet, PlFormula> - Specified by:
query
in classAbstractPlReasoner
- Parameters:
beliefbase
- a belief baseformula
- a formula- Returns:
- the answer to the query
-
isInstalled
public boolean isInstalled()- Returns:
- if the solver is installed
-