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