|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sat4j.minisat.learning.LimitedLearning<L>
public abstract class LimitedLearning<L extends ILits>
Learn only clauses which size is smaller than a percentage of the number of variables.
Field Summary | |
---|---|
protected L |
lits
|
Constructor Summary | |
---|---|
LimitedLearning()
|
Method Summary | |
---|---|
void |
init()
hook method called just before the search begins. |
protected abstract boolean |
learningCondition(Constr constr)
|
void |
learns(Constr constr)
|
void |
setSolver(Solver<L> s)
|
void |
setVarActivityListener(VarActivityListener s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected L extends ILits lits
Constructor Detail |
---|
public LimitedLearning()
Method Detail |
---|
public void setSolver(Solver<L> s)
setSolver
in interface LearningStrategy<L extends ILits>
public void learns(Constr constr)
learns
in interface LearningStrategy<L extends ILits>
protected abstract boolean learningCondition(Constr constr)
public void init()
LearningStrategy
init
in interface LearningStrategy<L extends ILits>
public void setVarActivityListener(VarActivityListener s)
setVarActivityListener
in interface LearningStrategy<L extends ILits>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |