Class QuteSolver
- java.lang.Object
-
- net.sf.tweety.logics.qbf.reasoner.QbfSolver
-
- net.sf.tweety.logics.qbf.reasoner.QuteSolver
-
- All Implemented Interfaces:
BeliefSetConsistencyTester<PlFormula>,ConsistencyTester<BeliefSet<PlFormula,?>>
public class QuteSolver extends QbfSolver
A wrapper for the Qute (https://www.ac.tuwien.ac.at/research/qute/) solver.
Tested with the 2019 version: https://github.com/perebor/qute- Author:
- Anna Gessler
-
-
Constructor Summary
Constructors Constructor Description QuteSolver(java.lang.String binaryLocation)Constructs a new instance pointing to a specific QuteSolverQuteSolver(java.lang.String binaryLocation, Shell bash)Constructs a new instance pointing to a specific QuteSolver.
-
Method Summary
Modifier and Type Method Description booleanisSatisfiable(java.util.Collection<PlFormula> kb)Checks whether the given set of formulas is satisfiable.-
Methods inherited from class net.sf.tweety.logics.qbf.reasoner.QbfSolver
isConsistent, isConsistent, isConsistent
-
-
-
-
Constructor Detail
-
QuteSolver
public QuteSolver(java.lang.String binaryLocation, Shell bash)Constructs a new instance pointing to a specific QuteSolver.- Parameters:
binaryLocation- of the Qute executable on the hard drivebash- shell to run commands
-
QuteSolver
public QuteSolver(java.lang.String binaryLocation)
Constructs a new instance pointing to a specific QuteSolver- Parameters:
binaryLocation- of the Qute executable on the hard drive
-
-
Method Detail
-
isSatisfiable
public boolean isSatisfiable(java.util.Collection<PlFormula> kb)
Description copied from class:QbfSolverChecks whether the given set of formulas is satisfiable.- Specified by:
isSatisfiablein classQbfSolver- Parameters:
kb- a set of formulas.- Returns:
- "true" if the set is consistent.
-
-