public class UnitClausesPB extends UnitClauses implements PBConstr
literals| Constructor and Description |
|---|
UnitClausesPB(IVecInt values) |
| Modifier and Type | Method and Description |
|---|---|
IVecInt |
computeAnImpliedClause() |
BigInteger |
getCoef(int literal) |
BigInteger[] |
getCoefs() |
BigInteger |
getDegree() |
int[] |
getLits() |
BigInteger |
getSumCoefs() |
ILits |
getVocabulary() |
assertConstraint, assertConstraintIfNeeded, calcReason, calcReasonOnTheFly, canBePropagatedMultipleTimes, canBeSatisfiedByCountingLiterals, dump, forwardActivity, get, getActivity, getAssertionLevel, incActivity, isSatisfied, learnt, locked, propagate, propagatePi, register, remove, requiredNumberOfSatisfiedLiterals, rescaleBy, setActivity, setLearnt, simplify, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassertConstraint, assertConstraintIfNeeded, calcReason, calcReasonOnTheFly, canBeSatisfiedByCountingLiterals, forwardActivity, getAssertionLevel, incActivity, isSatisfied, locked, register, remove, requiredNumberOfSatisfiedLiterals, rescaleBy, setActivity, setLearnt, simplifycanBePropagatedMultipleTimes, dump, get, getActivity, learnt, size, toStringpublic UnitClausesPB(IVecInt values)
public BigInteger getCoef(int literal)
public BigInteger getDegree()
public ILits getVocabulary()
getVocabulary in interface PBConstrpublic BigInteger[] getCoefs()
public IVecInt computeAnImpliedClause()
computeAnImpliedClause in interface PBConstrpublic BigInteger getSumCoefs()
getSumCoefs in interface PBConstrCopyright © 2020 Centre de Recherche en Informatique de Lens (CRIL). All rights reserved.