Class SatCompleteReasoner

    • Constructor Detail

      • SatCompleteReasoner

        public SatCompleteReasoner​(net.sf.tweety.logics.pl.sat.SatSolver solver)
        Constructs a new complete reasoner.
        Parameters:
        solver - the SAT solver this reasoner uses.
    • Method Detail

      • getPropositionalCharacterisationBySemantics

        protected net.sf.tweety.logics.pl.syntax.PlBeliefSet getPropositionalCharacterisationBySemantics​(DungTheory aaf,
                                                                                                         Map<Argument,​net.sf.tweety.logics.pl.syntax.Proposition> in,
                                                                                                         Map<Argument,​net.sf.tweety.logics.pl.syntax.Proposition> out,
                                                                                                         Map<Argument,​net.sf.tweety.logics.pl.syntax.Proposition> undec)
        Description copied from class: AbstractSatExtensionReasoner
        Returns the semantic-specific propositional characterization of the underlying Dung theory, see getPropositionalCharacterisation.
        Specified by:
        getPropositionalCharacterisationBySemantics in class AbstractSatExtensionReasoner
        Parameters:
        aaf - the Dung theory
        in - propositional variables of in arguments.
        out - propositional variables of out arguments.
        undec - propositional variables of undec arguments.
        Returns:
        the semantic-specific propositional characterization of the underlying Dung theory, see getPropositionalCharacterisation.
      • query

        public Boolean query​(DungTheory beliefbase,
                             Argument formula,
                             net.sf.tweety.commons.InferenceMode inferenceMode)
        Description copied from class: AbstractExtensionReasoner
        Queries the given AAF for the given argument using the given inference type.
        Overrides:
        query in class AbstractExtensionReasoner
        Parameters:
        beliefbase - an AAF
        formula - a single argument
        inferenceMode - either InferenceMode.SKEPTICAL or InferenceMode.CREDULOUS
        Returns:
        "true" if the argument is accepted