Uses of Class
org.chocosolver.solver.constraints.Operator
-
Packages that use Operator Package Description org.chocosolver.solver.constraints org.chocosolver.solver.constraints.binary org.chocosolver.solver.constraints.nary.sum org.chocosolver.solver.constraints.real -
-
Uses of Operator in org.chocosolver.solver.constraints
Methods in org.chocosolver.solver.constraints that return Operator Modifier and Type Method Description static Operator
Operator. get(String name)
static Operator
Operator. getOpposite(Operator operator)
static Operator
Operator. valueOf(String name)
Returns the enum constant of this type with the specified name.static Operator[]
Operator. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.chocosolver.solver.constraints with parameters of type Operator Modifier and Type Method Description static Operator
Operator. getOpposite(Operator operator)
Constructors in org.chocosolver.solver.constraints with parameters of type Operator Constructor Description Arithmetic(String name, IntVar[] vars, Operator op1, Operator op2, int cste, Propagator prop)
-
Uses of Operator in org.chocosolver.solver.constraints.binary
Constructors in org.chocosolver.solver.constraints.binary with parameters of type Operator Constructor Description PropDistanceXYC(IntVar[] vars, Operator operator, int cste)
-
Uses of Operator in org.chocosolver.solver.constraints.nary.sum
Fields in org.chocosolver.solver.constraints.nary.sum declared as Operator Modifier and Type Field Description protected Operator
PropSum. o
The operator among EQ, LE, GE and NEMethods in org.chocosolver.solver.constraints.nary.sum that return Operator Modifier and Type Method Description static Operator
PropSum. nop(Operator co)
Methods in org.chocosolver.solver.constraints.nary.sum with parameters of type Operator Modifier and Type Method Description static int
PropSum. nb(Operator co)
static Operator
PropSum. nop(Operator co)
static Constraint
IntLinCombFactory. reduce(IntVar[] VARS, int[] COEFFS, Operator OPERATOR, IntVar SCALAR, int minCardForDecomposition)
Reduce coefficients, and variables if required, when dealing with a scalar productstatic Constraint
IntLinCombFactory. reduce(IntVar[] VARS, Operator OPERATOR, IntVar SUM, int minCardForDecomposition)
Reduce coefficients, and variables if required, when dealing with a sum (all coefficients are implicitly equal to 1)static Constraint
IntLinCombFactory. selectScalar(IntVar[] VARS, int[] COEFFS, Operator OPERATOR, int RESULT)
Select the most relevant ScalarProduct constraint to returnstatic Constraint
IntLinCombFactory. selectSum(IntVar[] VARS, int[] COEFFS, Operator OPERATOR, int RESULT, int nbools)
Select the most relevant Sum constraint to returnConstructors in org.chocosolver.solver.constraints.nary.sum with parameters of type Operator Constructor Description PropScalar(IntVar[] variables, int[] coeffs, int pos, Operator o, int b)
Create a scalar product: SUM(x_i*c_i) o b Variables and coefficients are excepted to be ordered wrt to coefficients: first positive ones then negative ones.PropSum(IntVar[] variables, int pos, Operator o, int b)
Creates a sum propagator: SUM(x_i) o b Coefficients are induced bypos
: those beforepos
(included) are equal to 1, the other ones are equal to -1.PropSumBool(BoolVar[] variables, int pos, Operator o, IntVar sum, int b)
Creates a sum propagator: SUM(x_i) Op sum + b, where x_i are boolean variables.PropSumBool(BoolVar[] variables, int pos, Operator o, IntVar sum, int b, boolean reactOnFineEvent)
Creates a sum propagator: SUM(x_i) Op sum + b, where x_i are boolean variables.PropSumBoolIncr(BoolVar[] variables, int pos, Operator o, IntVar sum, int b)
Creates a sum propagator: SUM(x_i) Op sum + b, where x_i are boolean variables, maintained incrementally.PropSumFullBool(BoolVar[] variables, int pos, Operator o, int b)
Creates a sum propagator: SUM(x_i) Op b, where x_i are boolean variables.PropSumFullBool(BoolVar[] variables, int pos, Operator o, int b, boolean reactOnFineEvent)
Creates a sum propagator: SUM(x_i) Op b, where x_i are boolean variables.PropSumFullBoolIncr(BoolVar[] variables, int pos, Operator o, int b)
Creates a sum propagator: SUM(x_i) Op b, where x_i are boolean variables, maintained incrementally. -
Uses of Operator in org.chocosolver.solver.constraints.real
Fields in org.chocosolver.solver.constraints.real declared as Operator Modifier and Type Field Description protected Operator
PropScalarMixed. o
The operator among EQ, LE, GE and NEConstructors in org.chocosolver.solver.constraints.real with parameters of type Operator Constructor Description PropScalarMixed(Variable[] variables, double[] coeffs, Operator o, double b)
Create a scalar product: SCALAR(x_i*c_i) o b
-