|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sat4j.minisat.constraints.cnf.WLClause org.sat4j.minisat.constraints.cnf.OriginalWLClause
public class OriginalWLClause
Field Summary |
---|
Fields inherited from class org.sat4j.minisat.constraints.cnf.WLClause |
---|
lits, voc |
Constructor Summary | |
---|---|
OriginalWLClause(IVecInt ps,
ILits voc)
|
Method Summary | |
---|---|
static OriginalWLClause |
brandNewClause(UnitPropagationListener s,
ILits voc,
IVecInt literals)
Creates a brand new clause, presumably from external data. |
boolean |
learnt()
|
void |
register()
Register the constraint to the solver. |
void |
setLearnt()
Mark a constraint as learnt. |
Methods inherited from class org.sat4j.minisat.constraints.cnf.WLClause |
---|
assertConstraint, calcReason, get, getActivity, getLits, getVocabulary, incActivity, locked, propagate, remove, rescaleBy, sanityCheck, simplify, size, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OriginalWLClause(IVecInt ps, ILits voc)
Method Detail |
---|
public void register()
Constr
public boolean learnt()
public void setLearnt()
Constr
public static OriginalWLClause brandNewClause(UnitPropagationListener s, ILits voc, IVecInt literals)
s
- the object responsible for unit propagationvoc
- the vocabularyliterals
- the literals to store in the clause
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |