Class IncrementalSatSolver

  • All Implemented Interfaces:
    net.sf.tweety.logics.commons.analysis.BeliefSetConsistencyTester<net.sf.tweety.logics.pl.syntax.PlFormula>, net.sf.tweety.logics.commons.analysis.ConsistencyTester<net.sf.tweety.commons.BeliefSet<net.sf.tweety.logics.pl.syntax.PlFormula,​?>>, net.sf.tweety.logics.commons.analysis.ConsistencyWitnessProvider<net.sf.tweety.logics.pl.syntax.PlBeliefSet,​net.sf.tweety.logics.pl.syntax.PlFormula>
    Direct Known Subclasses:
    NativeLingelingSolver, NativeMinisatSolver, NativePicosatSolver, SimpleIncrementalSatSolver

    public abstract class IncrementalSatSolver
    extends net.sf.tweety.logics.pl.sat.SatSolver
    • Method Summary

      Modifier and Type Method Description
      abstract SatSolverState createState()  
      net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.pl.syntax.PlBeliefSet,​net.sf.tweety.logics.pl.syntax.PlFormula> getWitness​(Collection<net.sf.tweety.logics.pl.syntax.PlFormula> formulas)  
      boolean isSatisfiable​(Collection<net.sf.tweety.logics.pl.syntax.PlFormula> formulas)  
      • Methods inherited from class net.sf.tweety.logics.pl.sat.SatSolver

        convertToDimacs, convertToDimacs, createTmpDimacsFile, createTmpDimacsFile, getDefaultSolver, getWitness, getWitness, hasDefaultSolver, isConsistent, isConsistent, isConsistent, setDefaultSolver, setTempFolder
    • Constructor Detail

      • IncrementalSatSolver

        public IncrementalSatSolver()
    • Method Detail

      • getWitness

        public net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.pl.syntax.PlBeliefSet,​net.sf.tweety.logics.pl.syntax.PlFormula> getWitness​(Collection<net.sf.tweety.logics.pl.syntax.PlFormula> formulas)
        Specified by:
        getWitness in interface net.sf.tweety.logics.commons.analysis.ConsistencyWitnessProvider<net.sf.tweety.logics.pl.syntax.PlBeliefSet,​net.sf.tweety.logics.pl.syntax.PlFormula>
        Specified by:
        getWitness in class net.sf.tweety.logics.pl.sat.SatSolver
      • isSatisfiable

        public boolean isSatisfiable​(Collection<net.sf.tweety.logics.pl.syntax.PlFormula> formulas)
        Specified by:
        isSatisfiable in class net.sf.tweety.logics.pl.sat.SatSolver