Uses of Interface
org.chocosolver.solver.search.strategy.selectors.values.IntValueSelector
-
-
Uses of IntValueSelector in org.chocosolver.solver.search.strategy
Methods in org.chocosolver.solver.search.strategy with parameters of type IntValueSelector Modifier and Type Method Description static IntStrategySearch. intVarSearch(VariableSelector<IntVar> varSelector, IntValueSelector valSelector, DecisionOperator<IntVar> decisionOperator, IntVar... vars)Builds your own search strategy based on binary decisions.static IntStrategySearch. intVarSearch(VariableSelector<IntVar> varSelector, IntValueSelector valSelector, IntVar... vars)Builds your own assignment strategy based on binary decisions. -
Uses of IntValueSelector in org.chocosolver.solver.search.strategy.selectors.values
Classes in org.chocosolver.solver.search.strategy.selectors.values that implement IntValueSelector Modifier and Type Class Description classIntDomainBestValue selector for optimization problems: Branches on the value with the best objective bound (evaluated each possible assignment)classIntDomainImpactValue selector for any type of problems: Branches on the value with the best/worst impact on domains cardinality (evaluated each possible assignment)classIntDomainLastValue selector for optimization problems: Branches on the value in the last solution, if still in domainclassIntDomainMaxSelects the variable upper boundclassIntDomainMedianSelects the median value in the variable domain.classIntDomainMiddleSelects the value in the variable domain closest to the mean of its current bounds.classIntDomainMinSelects the variable lower boundclassIntDomainRandomSelects randomly a value in the variable domain.classIntDomainRandomBoundSelects randomly between the lower and the upper bound of the variableConstructors in org.chocosolver.solver.search.strategy.selectors.values with parameters of type IntValueSelector Constructor Description IntDomainLast(Solution solution, IntValueSelector mainSelector)Create a value selector that returns the value in the last solution. -
Uses of IntValueSelector in org.chocosolver.solver.search.strategy.selectors.variables
Constructors in org.chocosolver.solver.search.strategy.selectors.variables with parameters of type IntValueSelector Constructor Description DomOverWDeg(IntVar[] variables, long seed, IntValueSelector valueSelector)Creates a DomOverWDeg variable selector -
Uses of IntValueSelector in org.chocosolver.solver.search.strategy.strategy
Fields in org.chocosolver.solver.search.strategy.strategy declared as IntValueSelector Modifier and Type Field Description protected IntValueSelectorIntStrategy. valueSelectorHow a value is selectedMethods in org.chocosolver.solver.search.strategy.strategy that return IntValueSelector Modifier and Type Method Description IntValueSelectorIntStrategy. getValSelector()Constructors in org.chocosolver.solver.search.strategy.strategy with parameters of type IntValueSelector Constructor Description IntStrategy(IntVar[] scope, VariableSelector<IntVar> varSelector, IntValueSelector valSelector)Creates a search strategy which selects a variable X and a value V to perform the decision X = V BEWARE: if the variable domain is not enumerated, the value V should be a domain bound.IntStrategy(IntVar[] scope, VariableSelector<IntVar> varSelector, IntValueSelector valSelector, DecisionOperator<IntVar> decOperator)Creates a search strategy which selects a variable X and a value V to perform the decision X decOperator V This can be X <= V for instance.
-