Class GhostQSolver
java.lang.Object
org.tweetyproject.logics.qbf.reasoner.QbfSolver
org.tweetyproject.logics.qbf.reasoner.GhostQSolver
- All Implemented Interfaces:
 BeliefSetConsistencyTester<PlFormula>,ConsistencyTester<BeliefSet<PlFormula,?>> 
A wrapper for the GhostQ (https://www.wklieber.com/ghostq/) solver.
 
Tested with the GhostQ 2017 version: https://www.wklieber.com/ghostq/2017.html/
Tested with the GhostQ 2017 version: https://www.wklieber.com/ghostq/2017.html/
- Author:
 - Anna Gessler
 
- 
Constructor Summary
ConstructorsConstructorDescriptionGhostQSolver(String binaryLocation) Constructs a new instance pointing to a specific GhostQSolverGhostQSolver(String binaryLocation, Shell bash) Constructs a new instance pointing to a specific GhostQSolver. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn installation statusbooleanChecks whether the given set of formulas is satisfiable.Methods inherited from class org.tweetyproject.logics.qbf.reasoner.QbfSolver
isConsistent, isConsistent, isConsistent 
- 
Constructor Details
- 
GhostQSolver
 - 
GhostQSolver
Constructs a new instance pointing to a specific GhostQSolver- Parameters:
 binaryLocation- of the GhostQ executable on the hard drive
 
 - 
 - 
Method Details
- 
isSatisfiable
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.
 
 - 
isInstalled
public boolean isInstalled()Description copied from class:QbfSolverReturn installation status- Specified by:
 isInstalledin classQbfSolver- Returns:
 - installation status
 
 
 -