public final class PercentLengthLearning<D extends DataStructureFactory> extends LimitedLearning<D>
lits| Constructor and Description |
|---|
PercentLengthLearning() |
PercentLengthLearning(int percent) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLimit() |
void |
init()
hook method called just before the search begins.
|
protected boolean |
learningCondition(Constr constr) |
protected void |
setBound(int newbound) |
void |
setLimit(int percent) |
String |
toString() |
learns, setSolver, setVarActivityListenerpublic PercentLengthLearning()
public PercentLengthLearning(int percent)
public void setLimit(int percent)
public int getLimit()
public void init()
LearningStrategyinit in interface LearningStrategy<D extends DataStructureFactory>init in class LimitedLearning<D extends DataStructureFactory>protected void setBound(int newbound)
protected boolean learningCondition(Constr constr)
learningCondition in class LimitedLearning<D extends DataStructureFactory>Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.