org.sat4j.minisat.learning
Class ActiveLearning<D extends DataStructureFactory>
java.lang.Object
org.sat4j.minisat.learning.LimitedLearning<D>
org.sat4j.minisat.learning.ActiveLearning<D>
- All Implemented Interfaces:
- Serializable, LearningStrategy<D>
public final class ActiveLearning<D extends DataStructureFactory>
- extends LimitedLearning<D>
Learn clauses with a great number of active variables.
- Author:
- leberre
- See Also:
- Serialized Form
ActiveLearning
public ActiveLearning()
ActiveLearning
public ActiveLearning(double d)
setOrder
public void setOrder(IOrder order)
setSolver
public void setSolver(Solver<D> s)
- Specified by:
setSolver
in interface LearningStrategy<D extends DataStructureFactory>
- Overrides:
setSolver
in class LimitedLearning<D extends DataStructureFactory>
setActivityPercent
public void setActivityPercent(double d)
getActivityPercent
public double getActivityPercent()
learningCondition
protected boolean learningCondition(Constr clause)
- Specified by:
learningCondition
in class LimitedLearning<D extends DataStructureFactory>
toString
public String toString()
- Overrides:
toString
in class Object
setLimit
public void setLimit(int percent)
getLimit
public int getLimit()
Copyright © 2011 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.