Class 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
    • Constructor Detail

      • SimpleMlReasoner

        public SimpleMlReasoner()
    • Method Detail

      • query

        public Boolean query​(MlBeliefSet mbs,
                             net.sf.tweety.logics.fol.syntax.FolFormula formula)
        Specified by:
        query in interface net.sf.tweety.commons.QualitativeReasoner<MlBeliefSet,​net.sf.tweety.logics.fol.syntax.FolFormula>
        Specified by:
        query in interface net.sf.tweety.commons.Reasoner<Boolean,​MlBeliefSet,​net.sf.tweety.logics.fol.syntax.FolFormula>
        Specified by:
        query in class AbstractMlReasoner