Class NaiveDlReasoner

java.lang.Object
org.tweetyproject.logics.dl.reasoner.NaiveDlReasoner
All Implemented Interfaces:
QualitativeReasoner<DlBeliefSet,DlAxiom>, Reasoner<Boolean,DlBeliefSet,DlAxiom>

public class NaiveDlReasoner extends Object implements QualitativeReasoner<DlBeliefSet,DlAxiom>
Naive reasoner for the description logic ALC.
Author:
Anna Gessler
  • Constructor Details

    • NaiveDlReasoner

      public NaiveDlReasoner()
      Default
  • Method Details

    • query

      public Boolean query(DlBeliefSet kb, DlAxiom 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<DlBeliefSet,DlAxiom>
      Specified by:
      query in interface Reasoner<Boolean,DlBeliefSet,DlAxiom>
      Parameters:
      kb - 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.
    • getAllInterpretations

      public Set<DlInterpretation> getAllInterpretations(DlSignature sig)
      Get all interpretations for the given signature.
      Parameters:
      sig - a DLSignature
      Returns:
      set of all interpretations
    • isInstalled

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