Class GeneralAbaReasoner<T extends net.sf.tweety.commons.Formula>

    • Constructor Detail

      • GeneralAbaReasoner

        public GeneralAbaReasoner()
    • Method Detail

      • query

        public Boolean query​(AbaTheory<T> beliefbase,
                             Assumption<T> query)
        Specified by:
        query in interface net.sf.tweety.commons.QualitativeReasoner<AbaTheory<T extends net.sf.tweety.commons.Formula>,​Assumption<T extends net.sf.tweety.commons.Formula>>
        Specified by:
        query in interface net.sf.tweety.commons.Reasoner<Boolean,​AbaTheory<T extends net.sf.tweety.commons.Formula>,​Assumption<T extends net.sf.tweety.commons.Formula>>
      • query

        public Boolean query​(AbaTheory<T> beliefbase,
                             Assumption<T> query,
                             net.sf.tweety.commons.InferenceMode inferenceMode)
        Queries the given ABA theory for the given assumption using the given inference type.
        Parameters:
        beliefbase - an ABA theory
        query - some assumption
        inferenceMode - either InferenceMode.SKEPTICAL or InferenceMode.CREDULOUS
        Returns:
        "true" if the query is accepted
      • getModel

        public AbaExtension<T> getModel​(AbaTheory<T> bbase)
        Specified by:
        getModel in interface net.sf.tweety.commons.ModelProvider<Assumption<T extends net.sf.tweety.commons.Formula>,​AbaTheory<T extends net.sf.tweety.commons.Formula>,​AbaExtension<T extends net.sf.tweety.commons.Formula>>