choco.cp.solver.search.integer.varselector
Class RandomIntVarSelector
java.lang.Object
choco.kernel.solver.search.AbstractSearchHeuristic
choco.kernel.solver.search.integer.AbstractIntVarSelector
choco.kernel.solver.search.integer.HeuristicIntVarSelector
choco.kernel.solver.search.integer.IntHeuristicIntVarSelector
choco.cp.solver.search.integer.varselector.RandomIntVarSelector
- All Implemented Interfaces:
- VarSelector<IntDomainVar>, TiedIntVarSelector<IntDomainVar>
public class RandomIntVarSelector
- extends IntHeuristicIntVarSelector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
random
protected final Random random
RandomIntVarSelector
public RandomIntVarSelector(Solver solver)
- Creates a new random-based integer domain variable selector
RandomIntVarSelector
public RandomIntVarSelector(Solver solver,
long seed)
- Creates a new random-based integer domain variable selector with the specified seed
(to make the experiment determinist)
RandomIntVarSelector
public RandomIntVarSelector(Solver solver,
IntDomainVar[] vs,
long seed)
getHeuristic
public int getHeuristic(IntDomainVar v)
- Description copied from class:
IntHeuristicIntVarSelector
- the heuristic that is minimized in order to find the best IntVar
- Specified by:
getHeuristic
in class IntHeuristicIntVarSelector
Copyright © 2012. All Rights Reserved.