Class RandomSetDecisionStrategy
java.lang.Object
org.chocosolver.solver.search.strategy.strategy.AbstractStrategy<org.chocosolver.solver.variables.SetVar>
org.clafer.choco.search.RandomSetDecisionStrategy
public class RandomSetDecisionStrategy
extends org.chocosolver.solver.search.strategy.strategy.AbstractStrategy<org.chocosolver.solver.variables.SetVar>
- Author:
- jimmy
-
Field Summary
Fields inherited from class org.chocosolver.solver.search.strategy.strategy.AbstractStrategy
decisionPath, idScope, model, vars -
Constructor Summary
ConstructorsConstructorDescriptionRandomSetDecisionStrategy(org.chocosolver.solver.variables.SetVar[] scope, org.chocosolver.solver.search.strategy.selectors.variables.VariableSelector<org.chocosolver.solver.variables.SetVar> varSelector, org.chocosolver.solver.search.strategy.selectors.values.SetValueSelector valSelector) RandomSetDecisionStrategy(org.chocosolver.solver.variables.SetVar[] scope, org.chocosolver.solver.search.strategy.selectors.variables.VariableSelector<org.chocosolver.solver.variables.SetVar> varSelector, org.chocosolver.solver.search.strategy.selectors.values.SetValueSelector valSelector, Random rand) -
Method Summary
Modifier and TypeMethodDescriptionorg.chocosolver.solver.search.strategy.decision.Decision<org.chocosolver.solver.variables.SetVar> computeDecision(org.chocosolver.solver.variables.SetVar s) org.chocosolver.solver.search.strategy.decision.Decision<org.chocosolver.solver.variables.SetVar> Methods inherited from class org.chocosolver.solver.search.strategy.strategy.AbstractStrategy
getModel, getVariables, init, isVarInScope, makeIntDecision, remove, toString
-
Constructor Details
-
RandomSetDecisionStrategy
public RandomSetDecisionStrategy(org.chocosolver.solver.variables.SetVar[] scope, org.chocosolver.solver.search.strategy.selectors.variables.VariableSelector<org.chocosolver.solver.variables.SetVar> varSelector, org.chocosolver.solver.search.strategy.selectors.values.SetValueSelector valSelector) -
RandomSetDecisionStrategy
public RandomSetDecisionStrategy(org.chocosolver.solver.variables.SetVar[] scope, org.chocosolver.solver.search.strategy.selectors.variables.VariableSelector<org.chocosolver.solver.variables.SetVar> varSelector, org.chocosolver.solver.search.strategy.selectors.values.SetValueSelector valSelector, Random rand)
-
-
Method Details
-
getDecision
public org.chocosolver.solver.search.strategy.decision.Decision<org.chocosolver.solver.variables.SetVar> getDecision()- Specified by:
getDecisionin classorg.chocosolver.solver.search.strategy.strategy.AbstractStrategy<org.chocosolver.solver.variables.SetVar>
-
computeDecision
public org.chocosolver.solver.search.strategy.decision.Decision<org.chocosolver.solver.variables.SetVar> computeDecision(org.chocosolver.solver.variables.SetVar s) - Overrides:
computeDecisionin classorg.chocosolver.solver.search.strategy.strategy.AbstractStrategy<org.chocosolver.solver.variables.SetVar>
-