public final class MinWatchCardPB extends MinWatchCard implements PBConstr
ATLEAST, ATMOST, degree, watchCumul| Constructor and Description |
|---|
MinWatchCardPB(ILits voc,
IVecInt ps,
boolean moreThan,
int degree) |
MinWatchCardPB(ILits voc,
IVecInt ps,
int degree) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertConstraint(UnitPropagationListener s) |
IVecInt |
computeAnImpliedClause() |
BigInteger |
getCoef(int literal) |
BigInteger[] |
getCoefs() |
BigInteger |
getDegree() |
boolean |
learnt()
D?
|
static PBConstr |
minWatchCardPBNew(UnitPropagationListener s,
ILits voc,
IVecInt ps,
boolean moreThan,
int degree)
Permet la cr?
|
static PBConstr |
normalizedMinWatchCardPBNew(UnitPropagationListener s,
ILits voc,
IVecInt ps,
int degree)
Permet la cr?
|
void |
register() |
void |
setLearnt() |
assertConstraintIfNeeded, calcReason, calcReasonOnTheFly, canBePropagatedMultipleTimes, computePropagation, computeWatches, equals, forwardActivity, get, getActivity, getLits, getVocabulary, hashCode, incActivity, linearisation, locked, minWatchCardNew, normalize, propagate, remove, rescaleBy, setActivity, simplify, size, toConstraint, toString, undoclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLits, getVocabularyassertConstraintIfNeeded, calcReason, calcReasonOnTheFly, forwardActivity, incActivity, locked, remove, rescaleBy, setActivity, simplifycanBePropagatedMultipleTimes, get, getActivity, sizepublic BigInteger getCoef(int literal)
public BigInteger getDegree()
public BigInteger[] getCoefs()
public static PBConstr normalizedMinWatchCardPBNew(UnitPropagationListener s, ILits voc, IVecInt ps, int degree) throws ContradictionException
s - outil pour la propagation des litt?rauxvoc - vocabulaire utilis? par la contrainteps - liste des litt?raux de la nouvelle contraintedegree - fournit le degr? de la contrainteContradictionExceptionpublic static PBConstr minWatchCardPBNew(UnitPropagationListener s, ILits voc, IVecInt ps, boolean moreThan, int degree) throws ContradictionException
s - outil pour la propagation des litt?rauxvoc - vocabulaire utilis? par la contrainteps - liste des litt?raux de la nouvelle contraintemoreThan - d?termine si c'est une sup?rieure ou ?gal ? l'originedegree - fournit le degr? de la contrainteContradictionExceptionpublic boolean learnt()
learnt in interface IConstrlearnt in class MinWatchCardIConstr.learnt()public void setLearnt()
setLearnt in interface ConstrsetLearnt in class MinWatchCardpublic void register()
register in interface Constrregister in class MinWatchCardpublic void assertConstraint(UnitPropagationListener s)
assertConstraint in interface ConstrassertConstraint in class MinWatchCardpublic IVecInt computeAnImpliedClause()
computeAnImpliedClause in interface PBConstrCopyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.