- java.lang.Object
-
- org.chocosolver.solver.search.strategy.strategy.AbstractStrategy<IntVar>
-
- org.chocosolver.solver.search.strategy.strategy.IntStrategy
-
- org.chocosolver.solver.search.strategy.strategy.FullyRandom
-
public class FullyRandom extends IntStrategy
Project: choco-solver.
- Since:
- 26/04/2016.
- Author:
- Charles Prud'homme
-
-
Field Summary
-
Fields inherited from class org.chocosolver.solver.search.strategy.strategy.IntStrategy
valueSelector
-
Fields inherited from class org.chocosolver.solver.search.strategy.strategy.AbstractStrategy
vars
-
-
Constructor Summary
Constructors Constructor Description FullyRandom(IntVar[] scope, long seed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Decision<IntVar>
computeDecision(IntVar variable)
Computes a decision to be applied to variable var This method should be implemented in order to use search patterns-
Methods inherited from class org.chocosolver.solver.search.strategy.strategy.IntStrategy
getDecision, getDecisionOperator, getValSelector, getVarSelector, init
-
Methods inherited from class org.chocosolver.solver.search.strategy.strategy.AbstractStrategy
getVariables, makeIntDecision, remove, toString
-
-
-
-
Constructor Detail
-
FullyRandom
public FullyRandom(IntVar[] scope, long seed)
-
-
Method Detail
-
computeDecision
public Decision<IntVar> computeDecision(IntVar variable)
Description copied from class:AbstractStrategy
Computes a decision to be applied to variable var This method should be implemented in order to use search patterns- Overrides:
computeDecision
in classIntStrategy
- Parameters:
variable
- a variable- Returns:
- a decision to be applied to variable var
-
-