Package net.sf.tweety.logics.ml.reasoner
Class SimpleMlReasoner
- java.lang.Object
-
- net.sf.tweety.logics.ml.reasoner.AbstractMlReasoner
-
- net.sf.tweety.logics.ml.reasoner.SimpleMlReasoner
-
- All Implemented Interfaces:
net.sf.tweety.commons.QualitativeReasoner<MlBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>,net.sf.tweety.commons.Reasoner<Boolean,MlBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>
public class SimpleMlReasoner extends AbstractMlReasoner
This class implements inference for modal logic using a brute-force approach. A query, i.e. a formula in modal logic, can be inferred by a knowledge base, iff every Kripke model of the knowledge base is also a Kripke model of the query.- Author:
- Anna Gessler, Matthias Thimm
-
-
Field Summary
-
Fields inherited from class net.sf.tweety.logics.ml.reasoner.AbstractMlReasoner
defaultReasoner
-
-
Constructor Summary
Constructors Constructor Description SimpleMlReasoner()
-
Method Summary
Modifier and Type Method Description Booleanquery(MlBeliefSet mbs, net.sf.tweety.logics.fol.syntax.FolFormula formula)-
Methods inherited from class net.sf.tweety.logics.ml.reasoner.AbstractMlReasoner
getDefaultReasoner, setDefaultReasoner
-
-
-
-
Method Detail
-
query
public Boolean query(MlBeliefSet mbs, net.sf.tweety.logics.fol.syntax.FolFormula formula)
- Specified by:
queryin interfacenet.sf.tweety.commons.QualitativeReasoner<MlBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>- Specified by:
queryin interfacenet.sf.tweety.commons.Reasoner<Boolean,MlBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>- Specified by:
queryin classAbstractMlReasoner
-
-