org.sat4j.minisat.learning
Class ActiveLearning<L extends ILits>
java.lang.Object
org.sat4j.minisat.learning.LimitedLearning<L>
org.sat4j.minisat.learning.ActiveLearning<L>
- All Implemented Interfaces:
- java.io.Serializable, LearningStrategy<L>
public class ActiveLearning<L extends ILits>
- extends LimitedLearning<L>
Learn clauses with a great number of active variables.
- Author:
- leberre
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ActiveLearning
public ActiveLearning()
ActiveLearning
public ActiveLearning(double d)
setOrder
public void setOrder(IOrder<L> order)
setSolver
public void setSolver(Solver<L> s)
- Specified by:
setSolver
in interface LearningStrategy<L extends ILits>
- Overrides:
setSolver
in class LimitedLearning<L extends ILits>
setActivityPercent
public void setActivityPercent(double d)
getActivityPercent
public double getActivityPercent()
learningCondition
protected boolean learningCondition(Constr clause)
- Specified by:
learningCondition
in class LimitedLearning<L extends ILits>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setLimit
public void setLimit(int percent)
getLimit
public int getLimit()
Copyright © 2007 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.