public class ModelIteratorToSATAdapter extends ModelIterator
| Constructor and Description |
|---|
ModelIteratorToSATAdapter(ISolver solver,
long bound,
SolutionFoundListener sfl) |
ModelIteratorToSATAdapter(ISolver solver,
SolutionFoundListener sfl) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSatisfiable()
Check the satisfiability of the set of constraints contained inside the
solver.
|
boolean |
isSatisfiable(IVecInt assumps)
Check the satisfiability of the set of constraints contained inside the
solver.
|
int[] |
model()
Provide a model (if any) for a satisfiable formula.
|
numberOfModelsFoundSoFar, primeImplicant, resetaddAllClauses, addAtLeast, addAtMost, addBlockingClause, addClause, addExactly, clearDecorated, clearLearntClauses, decorated, expireTimeout, findModel, findModel, getLogPrefix, getSearchListener, getSolvingEngine, getStat, getTimeout, getTimeoutMs, isDBSimplificationAllowed, isSatisfiable, isSatisfiable, isSolverKeptHot, isVerbose, model, modelWithInternalVariables, nConstraints, newVar, newVar, nextFreeVarId, nVars, primeImplicant, printInfos, printInfos, printStat, printStat, printStat, realNumberOfVariables, registerLiteral, removeConstr, removeSubsumedConstr, setDBSimplificationAllowed, setExpectedNumberOfClauses, setKeepSolverHot, setLogPrefix, setSearchListener, setTimeout, setTimeoutMs, setTimeoutOnConflicts, setVerbose, toString, toString, unsatExplanationpublic ModelIteratorToSATAdapter(ISolver solver, SolutionFoundListener sfl)
public ModelIteratorToSATAdapter(ISolver solver, long bound, SolutionFoundListener sfl)
public boolean isSatisfiable()
throws TimeoutException
IProblemisSatisfiable in interface IProblemisSatisfiable in class ModelIteratorTimeoutExceptionpublic boolean isSatisfiable(IVecInt assumps) throws TimeoutException
IProblemisSatisfiable in interface IProblemisSatisfiable in class ModelIteratorassumps - a set of literals (represented by usual non null integers in
Dimacs format).TimeoutExceptionpublic int[] model()
IProblemmodel in interface IProblemmodel in class ModelIteratorIProblem.isSatisfiable(),
IProblem.isSatisfiable(IVecInt)Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.