public class IntegerPBSolverDecorator extends PBSolverDecorator implements IIntegerPBSolver
| Constructor and Description |
|---|
IntegerPBSolverDecorator(IPBSolver solver) |
addAtLeast, addAtLeast, addAtMost, addAtMost, addExactly, addExactly, addPseudoBoolean, getObjectiveFunction, setObjectiveFunctionaddAllClauses, addAtLeast, addAtMost, addBlockingClause, addClause, addConstr, addExactly, addParity, clearDecorated, clearLearntClauses, createBlockingClauseForCurrentModel, decorated, discardCurrentModel, expireTimeout, findModel, findModel, getLogPrefix, getOriginInModel, getSearchListener, getSolvingEngine, getStat, getTimeout, getTimeoutMs, isDBSimplificationAllowed, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable, isSolverKeptHot, isVerbose, model, model, modelWithInternalVariables, nConstraints, newVar, newVar, nextFreeVarId, nVars, primeImplicant, primeImplicant, printInfos, printInfos, printStat, printStat, printStat, realNumberOfVariables, registerLiteral, removeConstr, removeSubsumedConstr, reset, setDBSimplificationAllowed, setDecorated, setExpectedNumberOfClauses, setKeepSolverHot, setLogPrefix, setSearchListener, setTimeout, setTimeoutMs, setTimeoutOnConflicts, setUnitClauseConsumer, setUnitClauseProvider, setVerbose, toString, toString, unsatExplanationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAtLeast, addAtLeast, addAtMost, addAtMost, addExactly, addExactly, addPseudoBoolean, getObjectiveFunction, setObjectiveFunctionaddAllClauses, addAtLeast, addAtMost, addBlockingClause, addClause, addConstr, addExactly, addParity, clearLearntClauses, createBlockingClauseForCurrentModel, discardCurrentModel, expireTimeout, getLogPrefix, getOriginInModel, 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, setUnitClauseConsumer, setUnitClauseProvider, setVerbose, toString, unsatExplanationfindModel, findModel, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable, model, nConstraints, newVar, nVars, primeImplicant, primeImplicant, printInfos, printInfosmodelpublic IntegerPBSolverDecorator(IPBSolver solver)
public IntegerVariable newIntegerVar(BigInteger maxValue)
newIntegerVar in interface IIntegerPBSolverpublic IConstr addAtLeast(IVecInt literals, IVec<BigInteger> coeffs, IVec<IntegerVariable> integerVars, IVec<BigInteger> integerVarsCoeffs, BigInteger degree) throws ContradictionException
addAtLeast in interface IIntegerPBSolverContradictionExceptionpublic IConstr addAtLeast(IVecInt literals, IVecInt coeffs, IVec<IntegerVariable> integerVars, IVec<BigInteger> integerVarsCoeffs, int degree) throws ContradictionException
addAtLeast in interface IIntegerPBSolverContradictionExceptionpublic IConstr addAtMost(IVecInt literals, IVec<BigInteger> coeffs, IVec<IntegerVariable> integerVars, IVec<BigInteger> integerVarsCoeffs, BigInteger degree) throws ContradictionException
addAtMost in interface IIntegerPBSolverContradictionExceptionpublic IConstr addAtMost(IVecInt literals, IVecInt coeffs, IVec<IntegerVariable> integerVars, IVec<BigInteger> integerVarsCoeffs, int degree) throws ContradictionException
addAtMost in interface IIntegerPBSolverContradictionExceptionpublic IConstr addExactly(IVecInt literals, IVec<BigInteger> coeffs, IVec<IntegerVariable> integerVars, IVec<BigInteger> integerVarsCoeffs, BigInteger weight) throws ContradictionException
addExactly in interface IIntegerPBSolverContradictionExceptionpublic IConstr addExactly(IVecInt literals, IVecInt coeffs, IVec<IntegerVariable> integerVars, IVec<BigInteger> integerVarsCoeffs, int weight) throws ContradictionException
addExactly in interface IIntegerPBSolverContradictionExceptionpublic IConstr addPseudoBoolean(IVecInt lits, IVec<BigInteger> coeffs, IVec<IntegerVariable> integerVars, IVec<BigInteger> integerVarsCoeffs, boolean moreThan, BigInteger d) throws ContradictionException
addPseudoBoolean in interface IIntegerPBSolverContradictionExceptionpublic void addIntegerVariableToObjectiveFunction(IntegerVariable var, BigInteger weight)
addIntegerVariableToObjectiveFunction in interface IIntegerPBSolverpublic IConstr addAtLeast(IntegerVariable var, int degree) throws ContradictionException
addAtLeast in interface IIntegerPBSolverContradictionExceptionpublic IConstr addAtMost(IntegerVariable var, int degree) throws ContradictionException
addAtMost in interface IIntegerPBSolverContradictionExceptionpublic IConstr addExactly(IntegerVariable var, int degree) throws ContradictionException
addExactly in interface IIntegerPBSolverContradictionExceptionpublic BigInteger getIntegerVarValue(IntegerVariable var)
getIntegerVarValue in interface IIntegerPBSolverCopyright © 2020 Centre de Recherche en Informatique de Lens (CRIL). All rights reserved.