Class QbfSolver
java.lang.Object
org.tweetyproject.logics.qbf.reasoner.QbfSolver
- All Implemented Interfaces:
BeliefSetConsistencyTester<PlFormula>,ConsistencyTester<BeliefSet<PlFormula, ?>>
- Direct Known Subclasses:
CadetSolver,CaqeSolver,GhostQSolver,QuteSolver
Abstract QBF sat solver to be implemented by concrete solvers.
- Author:
- Anna Gessler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisConsistent(Collection<PlFormula> formulas) Checks whether the given collection of formulas is consistent.booleanisConsistent(BeliefSet<PlFormula, ?> beliefSet) Checks whether the given belief base is consistent.booleanisConsistent(PlFormula formula) Checks whether the given formula is consistent.abstract booleanReturn installation statusabstract booleanisSatisfiable(Collection<PlFormula> formulas) Checks whether the given set of formulas is satisfiable.
-
Constructor Details
-
QbfSolver
public QbfSolver()Default
-
-
Method Details
-
isSatisfiable
Checks whether the given set of formulas is satisfiable.- Parameters:
formulas- a set of formulas.- Returns:
- "true" if the set is consistent.
-
isConsistent
Description copied from interface:ConsistencyTesterChecks whether the given belief base is consistent.- Specified by:
isConsistentin interfaceBeliefSetConsistencyTester<PlFormula>- Specified by:
isConsistentin interfaceConsistencyTester<BeliefSet<PlFormula, ?>>- Parameters:
beliefSet- a belief base.- Returns:
- "true" iff the given belief base is consistent.
-
isConsistent
Description copied from interface:BeliefSetConsistencyTesterChecks whether the given collection of formulas is consistent.- Specified by:
isConsistentin interfaceBeliefSetConsistencyTester<PlFormula>- Parameters:
formulas- a collection of formulas.- Returns:
- "true" iff the given collection of formulas is consistent.
-
isConsistent
Description copied from interface:BeliefSetConsistencyTesterChecks whether the given formula is consistent.- Specified by:
isConsistentin interfaceBeliefSetConsistencyTester<PlFormula>- Parameters:
formula- a formulas.- Returns:
- "true" iff the formula is consistent.
-
isInstalled
public abstract boolean isInstalled()Return installation status- Returns:
- installation status
-