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

  • Type Parameters:
    T - the type of formulas
    All Implemented Interfaces:
    net.sf.tweety.commons.ModelProvider<Assumption<T>,​ABATheory<T>,​AbaExtension<T>>, net.sf.tweety.commons.QualitativeReasoner<ABATheory<T>,​Assumption<T>>, net.sf.tweety.commons.Reasoner<Boolean,​ABATheory<T>,​Assumption<T>>

    public class FlatABAReasoner<T extends net.sf.tweety.commons.Formula>
    extends GeneralABAReasoner<T>
    Author:
    Nils Geilen, Matthias Thimm This class models a reasoner over ABA formulae Can only be used with flat ABA theories because only those can be transformed into Dung frameworks
    • Constructor Detail

      • FlatABAReasoner

        public FlatABAReasoner​(net.sf.tweety.arg.dung.semantics.Semantics semantics)
        Creates a new instance
        Parameters:
        semantics - an indicator for the used semantics (c.f. net.sf.tweety.arg.dung.semantics.Semantics)
    • Method Detail

      • query

        public Boolean query​(ABATheory<T> beliefbase,
                             Assumption<T> query,
                             net.sf.tweety.commons.InferenceMode inferenceMode)
        Description copied from class: GeneralABAReasoner
        Queries the given ABA theory for the given assumption using the given inference type.
        Overrides:
        query in class GeneralABAReasoner<T extends net.sf.tweety.commons.Formula>
        Parameters:
        beliefbase - an ABA theory
        query - some assumption
        inferenceMode - either InferenceMode.SKEPTICAL or InferenceMode.CREDULOUS
        Returns:
        "true" if the query is accepted