Class AbstractExtensionReasoner

java.lang.Object
org.tweetyproject.arg.dung.reasoner.AbstractDungReasoner
org.tweetyproject.arg.dung.reasoner.AbstractExtensionReasoner
  • Constructor Details

    • AbstractExtensionReasoner

      public AbstractExtensionReasoner()
      Default constructor
  • Method Details

    • query

      public Boolean query(DungTheory beliefbase, Argument formula)
      Description copied from interface: QualitativeReasoner
      Queries the given belief base with the provided formula and returns a boolean result. The result indicates whether the formula is entailed or satisfied by the belief base according to the qualitative reasoning method implemented by the reasoner.
      Specified by:
      query in interface QualitativeReasoner<DungTheory,Argument>
      Specified by:
      query in interface Reasoner<Boolean,DungTheory,Argument>
      Specified by:
      query in class AbstractDungReasoner
      Parameters:
      beliefbase - The belief base to be queried.
      formula - The formula for which the query is made.
      Returns:
      `TRUE` if the formula is entailed or satisfied by the belief base, `FALSE` otherwise.
    • query

      public Boolean query(DungTheory beliefbase, Argument formula, InferenceMode inferenceMode)
      Queries the given AAF for the given argument using the given inference type.
      Parameters:
      beliefbase - an AAF
      formula - a single argument
      inferenceMode - either InferenceMode.SKEPTICAL or InferenceMode.CREDULOUS
      Returns:
      "true" if the argument is accepted
    • getSimpleReasonerForSemantics

      public static AbstractExtensionReasoner getSimpleReasonerForSemantics(Semantics semantics)
      Creates a reasoner for the given semantics.
      Parameters:
      semantics - a semantics
      Returns:
      a reasoner for the given Dung theory, inference type, and semantics
    • isInstalled

      public boolean isInstalled()
      the solver is natively installed and is therefore always installed
      Specified by:
      isInstalled in interface QualitativeReasoner<DungTheory,Argument>
      Returns:
      `true` if the solver is installed and available, `false` otherwise.