public final class LearntHTClausePB extends LearntHTClause implements PBConstr
| Constructor and Description |
|---|
LearntHTClausePB(IVecInt ps,
ILits voc) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertConstraint(UnitPropagationListener s)
Method called when the constraint is to be asserted.
|
IVecInt |
computeAnImpliedClause() |
java.math.BigInteger |
getCoef(int literal) |
java.math.BigInteger[] |
getCoefs() |
java.math.BigInteger |
getDegree() |
forwardActivity, incActivity, learnt, register, setActivity, setLearntassertConstraintIfNeeded, calcReason, calcReasonOnTheFly, canBePropagatedMultipleTimes, equals, get, getActivity, getLits, getVocabulary, hashCode, locked, propagate, remove, rescaleBy, simplify, size, toConstraint, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLits, getVocabularyassertConstraintIfNeeded, calcReason, calcReasonOnTheFly, forwardActivity, incActivity, locked, register, remove, rescaleBy, setActivity, setLearnt, simplifycanBePropagatedMultipleTimes, get, getActivity, learnt, sizepublic void assertConstraint(UnitPropagationListener s)
ConstrassertConstraint in interface ConstrassertConstraint in class HTClauses - a UnitPropagationListener to use for unit propagation.public IVecInt computeAnImpliedClause()
computeAnImpliedClause in interface PBConstrpublic java.math.BigInteger getCoef(int literal)