|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sat4j.minisat.constraints.AbstractDataStructureFactory<ILits>
org.sat4j.minisat.constraints.MixedDataStructureDaniel
public class MixedDataStructureDaniel
Uses specific data strcuture for cardinality constraints.
| Field Summary |
|---|
| Fields inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory |
|---|
learner, lits, solver |
| Constructor Summary | |
|---|---|
MixedDataStructureDaniel()
|
|
| Method Summary | |
|---|---|
Constr |
createCardinalityConstraint(IVecInt literals,
int degree)
|
Constr |
createClause(IVecInt literals)
|
protected ILits |
createLits()
|
Constr |
createUnregisteredClause(IVecInt literals)
|
| Methods inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory |
|---|
conflictDetectedInAttachesFor, getAttachesFor, getVocabulary, 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 MixedDataStructureDaniel()
| Method Detail |
|---|
public Constr createCardinalityConstraint(IVecInt literals,
int degree)
throws ContradictionException
createCardinalityConstraint in interface DataStructureFactory<ILits>createCardinalityConstraint in class AbstractDataStructureFactory<ILits>ContradictionException
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)
protected ILits createLits()
createLits in class AbstractDataStructureFactory<ILits>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||