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

    Constructors
    Constructor
    Description
    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(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 Type
    Method
    Description
    org.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

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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:
      getDecision in class org.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:
      computeDecision in class org.chocosolver.solver.search.strategy.strategy.AbstractStrategy<org.chocosolver.solver.variables.SetVar>