public class FullClauseSelectorSolver<T extends ISolver> extends AbstractClauseSelectorSolver<T>
| Constructor and Description | 
|---|
FullClauseSelectorSolver(T solver,
                        boolean skipDuplicatedEntries)  | 
| Modifier and Type | Method and Description | 
|---|---|
IConstr | 
addClause(IVecInt literals)
Create a clause from a set of literals The literals are represented by
 non null integers such that opposite literals a represented by opposite
 values. 
 | 
IConstr | 
addControlableClause(IVecInt literals)  | 
IConstr | 
addNonControlableClause(IVecInt literals)  | 
Collection<Integer> | 
getAddedVars()  | 
Collection<IConstr> | 
getConstraints()  | 
Map<Integer,IConstr> | 
getConstrs()  | 
IVecInt | 
getLastClause()  | 
IConstr | 
getLastConstr()  | 
boolean | 
isSkipDuplicatedEntries()  | 
int[] | 
model()
Provide a model (if any) for a satisfiable formula. 
 | 
void | 
setLastConstr(IConstr lastConstr)  | 
createNewVar, discardLastestVar, externalState, internalState, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiableaddAllClauses, addAtLeast, addAtMost, addBlockingClause, 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, setVerbose, toString, toString, unsatExplanationpublic FullClauseSelectorSolver(T solver, boolean skipDuplicatedEntries)
public IConstr addControlableClause(IVecInt literals) throws ContradictionException
ContradictionExceptionpublic IConstr addNonControlableClause(IVecInt literals) throws ContradictionException
ContradictionExceptionpublic IConstr addClause(IVecInt literals) throws ContradictionException
ISolveraddClause in interface ISolveraddClause in class SolverDecorator<T extends ISolver>literals - a set of literalsContradictionException - iff the vector of literals is empty or if it contains only
             falsified literals after unit propagationISolver.removeConstr(IConstr)public int[] model()
IProblemmodel in interface IProblemmodel in class SolverDecorator<T extends ISolver>IProblem.isSatisfiable(), 
IProblem.isSatisfiable(IVecInt)public Collection<IConstr> getConstraints()
public Collection<Integer> getAddedVars()
getAddedVars in class AbstractClauseSelectorSolver<T extends ISolver>public IConstr getLastConstr()
public void setLastConstr(IConstr lastConstr)
public IVecInt getLastClause()
public boolean isSkipDuplicatedEntries()
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.