|
||||||||||
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.ClausalDataStructureCB
public class ClausalDataStructureCB
Field Summary |
---|
Fields inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory |
---|
learner, lits, solver |
Constructor Summary | |
---|---|
ClausalDataStructureCB()
|
Method Summary | |
---|---|
void |
conflictDetectedInAttachesFor(int p,
int i)
|
Constr |
createClause(IVecInt literals)
|
protected ILits |
createLits()
|
Constr |
createUnregisteredClause(IVecInt literals)
|
IVec<Propagatable> |
getAttachesFor(int p)
|
Methods inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory |
---|
createCardinalityConstraint, 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 ClausalDataStructureCB()
Method Detail |
---|
public void conflictDetectedInAttachesFor(int p, int i)
conflictDetectedInAttachesFor
in interface DataStructureFactory<ILits>
conflictDetectedInAttachesFor
in class AbstractDataStructureFactory<ILits>
i
- the index of the conflicting constraintpublic IVec<Propagatable> getAttachesFor(int p)
getAttachesFor
in interface DataStructureFactory<ILits>
getAttachesFor
in class AbstractDataStructureFactory<ILits>
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 |