Uses of Class
com.google.ortools.constraintsolver.IntBoolPair
-
Packages that use IntBoolPair Package Description com.google.ortools.constraintsolver -
-
Uses of IntBoolPair in com.google.ortools.constraintsolver
Methods in com.google.ortools.constraintsolver that return IntBoolPair Modifier and Type Method Description IntBoolPairRoutingModel. addConstantDimension(long value, long capacity, boolean fix_start_cumul_to_zero, java.lang.String name)IntBoolPairRoutingModel. addConstantDimensionWithSlack(long value, long capacity, long slack_max, boolean fix_start_cumul_to_zero, java.lang.String name)Creates a dimension where the transit variable is constrained to be
equal to 'value'; 'capacity' is the upper bound of the cumul variables.
'name' is the name used to reference the dimension; this name is used to
get cumul and transit variables from the routing model.
Returns a pair consisting of an index to the registered unary transit
callback and a bool denoting whether the dimension has been created.
It is false if a dimension with the same name has already been created
(and doesn't create the new dimension but still register a new callback).IntBoolPairRoutingModel. addMatrixDimension(long[][] values, long capacity, boolean fix_start_cumul_to_zero, java.lang.String name)Creates a dimension where the transit variable is constrained to be
equal to 'values[i][next(i)]' for node i; 'capacity' is the upper bound of
the cumul variables.IntBoolPairRoutingModel. addVectorDimension(long[] values, long capacity, boolean fix_start_cumul_to_zero, java.lang.String name)Creates a dimension where the transit variable is constrained to be
equal to 'values[i]' for node i; 'capacity' is the upper bound of
the cumul variables.Methods in com.google.ortools.constraintsolver with parameters of type IntBoolPair Modifier and Type Method Description protected static longIntBoolPair. getCPtr(IntBoolPair obj)static intmainJNI. IntBoolPair_first_get(long jarg1, IntBoolPair jarg1_)static voidmainJNI. IntBoolPair_first_set(long jarg1, IntBoolPair jarg1_, int jarg2)static booleanmainJNI. IntBoolPair_second_get(long jarg1, IntBoolPair jarg1_)static voidmainJNI. IntBoolPair_second_set(long jarg1, IntBoolPair jarg1_, boolean jarg2)static longmainJNI. new_IntBoolPair__SWIG_2(long jarg1, IntBoolPair jarg1_)protected static longIntBoolPair. swigRelease(IntBoolPair obj)Constructors in com.google.ortools.constraintsolver with parameters of type IntBoolPair Constructor Description IntBoolPair(IntBoolPair other)
-