public final class OriginalHTClausePB extends OriginalHTClause implements PBConstr
| Constructor and Description |
|---|
OriginalHTClausePB(IVecInt ps,
ILits voc) |
| Modifier and Type | Method and Description |
|---|---|
static OriginalHTClausePB |
brandNewClause(UnitPropagationListener s,
ILits voc,
IVecInt literals)
Creates a brand new clause, presumably from external data.
|
IVecInt |
computeAnImpliedClause() |
String |
dump() |
BigInteger |
getCoef(int literal) |
BigInteger[] |
getCoefs() |
BigInteger |
getDegree() |
BigInteger |
getSumCoefs() |
forwardActivity, incActivity, learnt, propagate, propagatePI, register, setActivity, setLearntassertConstraint, assertConstraintIfNeeded, calcReason, calcReasonOnTheFly, canBePropagatedMultipleTimes, canBeSatisfiedByCountingLiterals, equals, get, getActivity, getAssertionLevel, getLits, getVocabulary, hashCode, isSatisfied, locked, remove, requiredNumberOfSatisfiedLiterals, rescaleBy, simplify, size, toConstraint, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLits, getVocabularyassertConstraint, assertConstraintIfNeeded, calcReason, calcReasonOnTheFly, canBeSatisfiedByCountingLiterals, forwardActivity, getAssertionLevel, incActivity, isSatisfied, locked, register, remove, requiredNumberOfSatisfiedLiterals, rescaleBy, setActivity, setLearnt, simplifycanBePropagatedMultipleTimes, get, getActivity, learnt, size, toStringpublic IVecInt computeAnImpliedClause()
computeAnImpliedClause in interface PBConstrpublic BigInteger getCoef(int literal)
public BigInteger[] getCoefs()
public BigInteger getDegree()
public static OriginalHTClausePB brandNewClause(UnitPropagationListener s, ILits voc, IVecInt literals)
s - the object responsible for unit propagationvoc - the vocabularyliterals - the literals to store in the clausepublic BigInteger getSumCoefs()
getSumCoefs in interface PBConstrCopyright © 2020 Centre de Recherche en Informatique de Lens (CRIL). All rights reserved.