public class ManyCoreIntegerPB<S extends IIntegerPBSolver> extends ManyCorePB<S> implements IIntegerPBSolver
numberOfSolvers, solversVOIDVOID| Constructor and Description |
|---|
ManyCoreIntegerPB(ASolverFactory<S> factory,
String... solverNames) |
ManyCoreIntegerPB(S... iSolver) |
addAtLeast, addAtLeast, addAtMost, addAtMost, addExactly, addExactly, addPseudoBoolean, getObjectiveFunction, setObjectiveFunctionaddAllClauses, addAtLeast, addAtMost, addBlockingClause, addClause, addConstr, addExactly, addParity, clearLearntClauses, createBlockingClauseForCurrentModel, discardCurrentModel, expireTimeout, findModel, findModel, getLogPrefix, getOriginInModel, getSearchListener, getSolvers, getSolvingEngine, getStat, getTimeout, getTimeoutMs, getWinnerId, isDBSimplificationAllowed, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable, isSolverKeptHot, isVerbose, learnUnit, model, model, modelWithInternalVariables, nConstraints, newVar, newVar, nextFreeVarId, nVars, onFinishWithAnswer, primeImplicant, primeImplicant, printInfos, printInfos, printStat, printStat, printStat, provideUnitClauses, realNumberOfVariables, registerLiteral, removeConstr, removeSubsumedConstr, reset, setDBSimplificationAllowed, setExpectedNumberOfClauses, setKeepSolverHot, setLogPrefix, setSearchListener, setTimeout, setTimeoutMs, setTimeoutOnConflicts, setUnitClauseConsumer, setUnitClauseProvider, setVerbose, toString, unsatExplanationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 ManyCoreIntegerPB(ASolverFactory<S> factory, String... solverNames)
public ManyCoreIntegerPB(S... iSolver)
public IntegerVariable newIntegerVar(BigInteger maxValue)
newIntegerVar in interface IIntegerPBSolverpublic IConstr addAtLeast(IntegerVariable var, int degree) throws ContradictionException
addAtLeast in interface IIntegerPBSolverContradictionExceptionpublic 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(IntegerVariable var, int degree) throws ContradictionException
addAtMost 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(IntegerVariable var, int degree) throws ContradictionException
addExactly 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 BigInteger getIntegerVarValue(IntegerVariable var)
getIntegerVarValue in interface IIntegerPBSolverCopyright © 2020 Centre de Recherche en Informatique de Lens (CRIL). All rights reserved.