|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sat4j.minisat.constraints.AbstractDataStructureFactory<ILits> org.sat4j.minisat.constraints.AbstractCardinalityDataStructure
public abstract class AbstractCardinalityDataStructure
Field Summary |
---|
Fields inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory |
---|
learner, lits, solver |
Constructor Summary | |
---|---|
AbstractCardinalityDataStructure()
|
Method Summary | |
---|---|
static boolean |
coefficientsEqualToOne(IVec<java.math.BigInteger> v)
|
protected ILits |
createLits()
|
Constr |
createPseudoBooleanConstraint(IVecInt literals,
IVec<java.math.BigInteger> coefs,
boolean moreThan,
java.math.BigInteger degree)
|
Methods inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory |
---|
conflictDetectedInWatchesFor, createCardinalityConstraint, createUnregisteredPseudoBooleanConstraint, getVocabulary, getWatchesFor, learnConstraint, reset, setLearner, setUnitPropagationListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.sat4j.minisat.core.DataStructureFactory |
---|
createClause, createUnregisteredClause |
Constructor Detail |
---|
public AbstractCardinalityDataStructure()
Method Detail |
---|
public Constr createPseudoBooleanConstraint(IVecInt literals, IVec<java.math.BigInteger> coefs, boolean moreThan, java.math.BigInteger degree) throws ContradictionException
createPseudoBooleanConstraint
in interface DataStructureFactory<ILits>
createPseudoBooleanConstraint
in class AbstractDataStructureFactory<ILits>
ContradictionException
public static boolean coefficientsEqualToOne(IVec<java.math.BigInteger> v)
protected ILits createLits()
createLits
in class AbstractDataStructureFactory<ILits>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |