public final class AtLeastPB extends AtLeast implements PBConstr
lits, maxUnsatisfied, voc| Modifier and Type | Method and Description |
|---|---|
void |
assertConstraint(UnitPropagationListener s) |
static AtLeastPB |
atLeastNew(ILits voc,
IVecInt ps,
int n) |
static PBConstr |
atLeastNew(UnitPropagationListener s,
ILits voc,
IVecInt ps,
int n) |
IVecInt |
computeAnImpliedClause() |
String |
dump() |
BigInteger |
getCoef(int literal) |
BigInteger[] |
getCoefs() |
BigInteger |
getDegree() |
int[] |
getLits() |
BigInteger |
getSumCoefs() |
ILits |
getVocabulary() |
boolean |
learnt()
D?
|
void |
setLearnt() |
assertConstraintIfNeeded, calcReason, calcReasonOnTheFly, canBePropagatedMultipleTimes, canBeSatisfiedByCountingLiterals, forwardActivity, get, getActivity, getAssertionLevel, incActivity, isSatisfied, locked, niceParameters, propagate, propagatePI, register, remove, requiredNumberOfSatisfiedLiterals, rescaleBy, setActivity, simplify, size, toConstraint, toString, toString, undoclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitassertConstraintIfNeeded, calcReason, calcReasonOnTheFly, canBeSatisfiedByCountingLiterals, forwardActivity, getAssertionLevel, incActivity, isSatisfied, locked, register, remove, requiredNumberOfSatisfiedLiterals, rescaleBy, setActivity, simplifycanBePropagatedMultipleTimes, get, getActivity, size, toStringpublic static PBConstr atLeastNew(UnitPropagationListener s, ILits voc, IVecInt ps, int n) throws ContradictionException
ContradictionExceptionpublic BigInteger getCoef(int literal)
public BigInteger getDegree()
public ILits getVocabulary()
getVocabulary in interface PBConstrpublic BigInteger[] getCoefs()
public boolean learnt()
learnt in interface IConstrlearnt in class AtLeastIConstr.learnt()public void setLearnt()
public void assertConstraint(UnitPropagationListener s)
assertConstraint in interface ConstrassertConstraint in class AtLeastpublic IVecInt computeAnImpliedClause()
computeAnImpliedClause in interface PBConstrpublic BigInteger getSumCoefs()
getSumCoefs in interface PBConstrCopyright © 2020 Centre de Recherche en Informatique de Lens (CRIL). All rights reserved.