public class GroupClauseSelectorSolver<T extends ISolver> extends AbstractClauseSelectorSolver<T> implements IGroupSolver
Constructor and Description |
---|
GroupClauseSelectorSolver(T solver) |
Modifier and Type | Method and Description |
---|---|
IConstr |
addClause(IVecInt literals,
int desc) |
IConstr |
addControlableClause(IVecInt literals,
int desc) |
IConstr |
addNonControlableClause(IVecInt literals) |
Collection<Integer> |
getAddedVars() |
Map<Integer,Integer> |
getVarToHighLevel() |
int[] |
model()
Provide a model (if any) for a satisfiable formula.
|
createNewVar, discardLastestVar, externalState, internalState, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable
addAllClauses, addAtLeast, addAtMost, addBlockingClause, addClause, addExactly, clearDecorated, clearLearntClauses, decorated, expireTimeout, findModel, findModel, getLogPrefix, getSearchListener, getSolvingEngine, getStat, getTimeout, getTimeoutMs, isDBSimplificationAllowed, isSolverKeptHot, isVerbose, model, modelWithInternalVariables, nConstraints, newVar, newVar, nextFreeVarId, nVars, primeImplicant, primeImplicant, printInfos, printInfos, printStat, printStat, printStat, realNumberOfVariables, registerLiteral, removeConstr, removeSubsumedConstr, reset, setDBSimplificationAllowed, setExpectedNumberOfClauses, setKeepSolverHot, setLogPrefix, setSearchListener, setTimeout, setTimeoutMs, setTimeoutOnConflicts, setUnitClauseProvider, setVerbose, toString, toString, unsatExplanation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAllClauses, addAtLeast, addAtMost, addBlockingClause, addClause, addExactly, clearLearntClauses, expireTimeout, getLogPrefix, getSearchListener, getSolvingEngine, getStat, getTimeout, getTimeoutMs, isDBSimplificationAllowed, isSolverKeptHot, isVerbose, modelWithInternalVariables, newVar, nextFreeVarId, printStat, printStat, printStat, realNumberOfVariables, registerLiteral, removeConstr, removeSubsumedConstr, reset, setDBSimplificationAllowed, setExpectedNumberOfClauses, setKeepSolverHot, setLogPrefix, setSearchListener, setTimeout, setTimeoutMs, setTimeoutOnConflicts, setUnitClauseProvider, setVerbose, toString, unsatExplanation
findModel, findModel, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable, nConstraints, newVar, nVars, primeImplicant, primeImplicant, printInfos, printInfos
model
public GroupClauseSelectorSolver(T solver)
public IConstr addControlableClause(IVecInt literals, int desc) throws ContradictionException
ContradictionException
public IConstr addNonControlableClause(IVecInt literals) throws ContradictionException
ContradictionException
public IConstr addClause(IVecInt literals, int desc) throws ContradictionException
addClause
in interface IGroupSolver
literals
- a clausedesc
- the level of the clause setContradictionException
public Collection<Integer> getAddedVars()
getAddedVars
in class AbstractClauseSelectorSolver<T extends ISolver>
public int[] model()
IProblem
model
in interface IProblem
model
in class SolverDecorator<T extends ISolver>
IProblem.isSatisfiable()
,
IProblem.isSatisfiable(IVecInt)
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.