|
||||||||||
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 org.sat4j.minisat.constraints.CardinalityDataStructureYanMin
public class CardinalityDataStructureYanMin
Field Summary |
---|
Fields inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory |
---|
learner, lits, solver |
Constructor Summary | |
---|---|
CardinalityDataStructureYanMin()
|
Method Summary | |
---|---|
Constr |
createCardinalityConstraint(IVecInt literals,
int degree)
|
Constr |
createClause(IVecInt literals)
|
Constr |
createUnregisteredClause(IVecInt literals)
|
Methods inherited from class org.sat4j.minisat.constraints.AbstractCardinalityDataStructure |
---|
coefficientsEqualToOne, createLits, createPseudoBooleanConstraint |
Methods inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory |
---|
conflictDetectedInWatchesFor, 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 |
Constructor Detail |
---|
public CardinalityDataStructureYanMin()
Method Detail |
---|
public Constr createClause(IVecInt literals) throws ContradictionException
literals
- a set of literals using Dimacs format (signed non null
integers).
ContradictionException
- the constraint is trivially unsatisfiable.public Constr createUnregisteredClause(IVecInt literals)
public Constr createCardinalityConstraint(IVecInt literals, int degree) throws ContradictionException
createCardinalityConstraint
in interface DataStructureFactory<ILits>
createCardinalityConstraint
in class AbstractDataStructureFactory<ILits>
ContradictionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |