Class MleanCoPReasoner

java.lang.Object
org.tweetyproject.logics.ml.reasoner.AbstractMlReasoner
org.tweetyproject.logics.ml.reasoner.MleanCoPReasoner
All Implemented Interfaces:
QualitativeReasoner<MlBeliefSet,​FolFormula>, Reasoner<Boolean,​MlBeliefSet,​FolFormula>

public class MleanCoPReasoner extends AbstractMlReasoner
Invokes MleanCoP (http://www.leancop.de/mleancop/), a compact automated theorem prover for modal first-order logic based on the clausal connection calculus. It checks whether a given formula is valid.
NOTE: Make sure to set the PROVER_PATH variable in the mleancop.sh script to the location of the mleancop files (= the Prolog files).
Author:
Anna Gessler, Matthias Thimm
  • Constructor Details

    • MleanCoPReasoner

      public MleanCoPReasoner(String location, Shell bash)
      Constructs a new instance pointing to a specific MleanCoProver.
      Parameters:
      location - mleancop.sh path on the hard drive
      bash - shell to run commands
    • MleanCoPReasoner

      public MleanCoPReasoner(String location)
      Constructs a new instance pointing to a specific MleanCoProver.
      Parameters:
      location - mleancop.sh path on the hard drive
  • Method Details