Uses of Class
com.google.ortools.constraintsolver.IntBoolPair
Packages that use IntBoolPair
-
Uses of IntBoolPair in com.google.ortools.constraintsolver
Methods in com.google.ortools.constraintsolver that return IntBoolPairModifier and TypeMethodDescriptionRoutingModel.addConstantDimension(long value, long capacity, boolean fix_start_cumul_to_zero, String name) RoutingModel.addConstantDimensionWithSlack(long value, long capacity, long slack_max, boolean fix_start_cumul_to_zero, 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).RoutingModel.addMatrixDimension(long[][] values, long capacity, boolean fix_start_cumul_to_zero, 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.RoutingModel.addVectorDimension(long[] values, long capacity, boolean fix_start_cumul_to_zero, 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 IntBoolPairModifier and TypeMethodDescriptionprotected static longIntBoolPair.getCPtr(IntBoolPair obj) static final intmainJNI.IntBoolPair_first_get(long jarg1, IntBoolPair jarg1_) static final voidmainJNI.IntBoolPair_first_set(long jarg1, IntBoolPair jarg1_, int jarg2) static final booleanmainJNI.IntBoolPair_second_get(long jarg1, IntBoolPair jarg1_) static final voidmainJNI.IntBoolPair_second_set(long jarg1, IntBoolPair jarg1_, boolean jarg2) static final 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