Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Static Public Attributes | |
static final int | VOID_FALSE_CONSTRAINT = mainJNI.ModelCache_VOID_FALSE_CONSTRAINT_get() |
VoidConstraintType. | |
static final int | VOID_TRUE_CONSTRAINT = mainJNI.ModelCache_VOID_TRUE_CONSTRAINT_get() |
static final int | VOID_CONSTRAINT_MAX = mainJNI.ModelCache_VOID_CONSTRAINT_MAX_get() |
static final int | VAR_CONSTANT_EQUALITY = mainJNI.ModelCache_VAR_CONSTANT_EQUALITY_get() |
VarConstantConstraintType. | |
static final int | VAR_CONSTANT_GREATER_OR_EQUAL = mainJNI.ModelCache_VAR_CONSTANT_GREATER_OR_EQUAL_get() |
static final int | VAR_CONSTANT_LESS_OR_EQUAL = mainJNI.ModelCache_VAR_CONSTANT_LESS_OR_EQUAL_get() |
static final int | VAR_CONSTANT_NON_EQUALITY = mainJNI.ModelCache_VAR_CONSTANT_NON_EQUALITY_get() |
static final int | VAR_CONSTANT_CONSTRAINT_MAX = mainJNI.ModelCache_VAR_CONSTANT_CONSTRAINT_MAX_get() |
static final int | VAR_CONSTANT_CONSTANT_BETWEEN = mainJNI.ModelCache_VAR_CONSTANT_CONSTANT_BETWEEN_get() |
VarConstantConstantConstraintType. | |
static final int | VAR_CONSTANT_CONSTANT_CONSTRAINT_MAX = mainJNI.ModelCache_VAR_CONSTANT_CONSTANT_CONSTRAINT_MAX_get() |
static final int | EXPR_EXPR_EQUALITY = mainJNI.ModelCache_EXPR_EXPR_EQUALITY_get() |
ExprExprConstraintType. | |
static final int | EXPR_EXPR_GREATER = mainJNI.ModelCache_EXPR_EXPR_GREATER_get() |
static final int | EXPR_EXPR_GREATER_OR_EQUAL = mainJNI.ModelCache_EXPR_EXPR_GREATER_OR_EQUAL_get() |
static final int | EXPR_EXPR_LESS = mainJNI.ModelCache_EXPR_EXPR_LESS_get() |
static final int | EXPR_EXPR_LESS_OR_EQUAL = mainJNI.ModelCache_EXPR_EXPR_LESS_OR_EQUAL_get() |
static final int | EXPR_EXPR_NON_EQUALITY = mainJNI.ModelCache_EXPR_EXPR_NON_EQUALITY_get() |
static final int | EXPR_EXPR_CONSTRAINT_MAX = mainJNI.ModelCache_EXPR_EXPR_CONSTRAINT_MAX_get() |
static final int | EXPR_OPPOSITE = mainJNI.ModelCache_EXPR_OPPOSITE_get() |
ExprExpressionType. | |
static final int | EXPR_ABS = mainJNI.ModelCache_EXPR_ABS_get() |
static final int | EXPR_SQUARE = mainJNI.ModelCache_EXPR_SQUARE_get() |
static final int | EXPR_EXPRESSION_MAX = mainJNI.ModelCache_EXPR_EXPRESSION_MAX_get() |
static final int | EXPR_EXPR_DIFFERENCE = mainJNI.ModelCache_EXPR_EXPR_DIFFERENCE_get() |
ExprExprExpressionType. | |
static final int | EXPR_EXPR_PROD = mainJNI.ModelCache_EXPR_EXPR_PROD_get() |
static final int | EXPR_EXPR_DIV = mainJNI.ModelCache_EXPR_EXPR_DIV_get() |
static final int | EXPR_EXPR_MAX = mainJNI.ModelCache_EXPR_EXPR_MAX_get() |
static final int | EXPR_EXPR_MIN = mainJNI.ModelCache_EXPR_EXPR_MIN_get() |
static final int | EXPR_EXPR_SUM = mainJNI.ModelCache_EXPR_EXPR_SUM_get() |
static final int | EXPR_EXPR_IS_LESS = mainJNI.ModelCache_EXPR_EXPR_IS_LESS_get() |
static final int | EXPR_EXPR_IS_LESS_OR_EQUAL = mainJNI.ModelCache_EXPR_EXPR_IS_LESS_OR_EQUAL_get() |
static final int | EXPR_EXPR_IS_EQUAL = mainJNI.ModelCache_EXPR_EXPR_IS_EQUAL_get() |
static final int | EXPR_EXPR_IS_NOT_EQUAL = mainJNI.ModelCache_EXPR_EXPR_IS_NOT_EQUAL_get() |
static final int | EXPR_EXPR_EXPRESSION_MAX = mainJNI.ModelCache_EXPR_EXPR_EXPRESSION_MAX_get() |
static final int | EXPR_EXPR_CONSTANT_CONDITIONAL = mainJNI.ModelCache_EXPR_EXPR_CONSTANT_CONDITIONAL_get() |
ExprExprConstantExpressionType. | |
static final int | EXPR_EXPR_CONSTANT_EXPRESSION_MAX = mainJNI.ModelCache_EXPR_EXPR_CONSTANT_EXPRESSION_MAX_get() |
static final int | EXPR_CONSTANT_DIFFERENCE = mainJNI.ModelCache_EXPR_CONSTANT_DIFFERENCE_get() |
ExprConstantExpressionType. | |
static final int | EXPR_CONSTANT_DIVIDE = mainJNI.ModelCache_EXPR_CONSTANT_DIVIDE_get() |
static final int | EXPR_CONSTANT_PROD = mainJNI.ModelCache_EXPR_CONSTANT_PROD_get() |
static final int | EXPR_CONSTANT_MAX = mainJNI.ModelCache_EXPR_CONSTANT_MAX_get() |
static final int | EXPR_CONSTANT_MIN = mainJNI.ModelCache_EXPR_CONSTANT_MIN_get() |
static final int | EXPR_CONSTANT_SUM = mainJNI.ModelCache_EXPR_CONSTANT_SUM_get() |
static final int | EXPR_CONSTANT_IS_EQUAL = mainJNI.ModelCache_EXPR_CONSTANT_IS_EQUAL_get() |
static final int | EXPR_CONSTANT_IS_NOT_EQUAL = mainJNI.ModelCache_EXPR_CONSTANT_IS_NOT_EQUAL_get() |
static final int | EXPR_CONSTANT_IS_GREATER_OR_EQUAL = mainJNI.ModelCache_EXPR_CONSTANT_IS_GREATER_OR_EQUAL_get() |
static final int | EXPR_CONSTANT_IS_LESS_OR_EQUAL = mainJNI.ModelCache_EXPR_CONSTANT_IS_LESS_OR_EQUAL_get() |
static final int | EXPR_CONSTANT_EXPRESSION_MAX = mainJNI.ModelCache_EXPR_CONSTANT_EXPRESSION_MAX_get() |
static final int | VAR_CONSTANT_CONSTANT_SEMI_CONTINUOUS = mainJNI.ModelCache_VAR_CONSTANT_CONSTANT_SEMI_CONTINUOUS_get() |
VarConstantConstantExpressionType. | |
static final int | VAR_CONSTANT_CONSTANT_EXPRESSION_MAX = mainJNI.ModelCache_VAR_CONSTANT_CONSTANT_EXPRESSION_MAX_get() |
static final int | VAR_CONSTANT_ARRAY_ELEMENT = mainJNI.ModelCache_VAR_CONSTANT_ARRAY_ELEMENT_get() |
VarConstantArrayExpressionType. | |
static final int | VAR_CONSTANT_ARRAY_EXPRESSION_MAX = mainJNI.ModelCache_VAR_CONSTANT_ARRAY_EXPRESSION_MAX_get() |
static final int | VAR_ARRAY_CONSTANT_ARRAY_SCAL_PROD = mainJNI.ModelCache_VAR_ARRAY_CONSTANT_ARRAY_SCAL_PROD_get() |
VarArrayConstantArrayExpressionType. | |
static final int | VAR_ARRAY_CONSTANT_ARRAY_EXPRESSION_MAX = mainJNI.ModelCache_VAR_ARRAY_CONSTANT_ARRAY_EXPRESSION_MAX_get() |
static final int | VAR_ARRAY_MAX = mainJNI.ModelCache_VAR_ARRAY_MAX_get() |
VarArrayExpressionType. | |
static final int | VAR_ARRAY_MIN = mainJNI.ModelCache_VAR_ARRAY_MIN_get() |
static final int | VAR_ARRAY_SUM = mainJNI.ModelCache_VAR_ARRAY_SUM_get() |
static final int | VAR_ARRAY_EXPRESSION_MAX = mainJNI.ModelCache_VAR_ARRAY_EXPRESSION_MAX_get() |
static final int | VAR_ARRAY_CONSTANT_INDEX = mainJNI.ModelCache_VAR_ARRAY_CONSTANT_INDEX_get() |
VarArrayConstantExpressionType. | |
static final int | VAR_ARRAY_CONSTANT_EXPRESSION_MAX = mainJNI.ModelCache_VAR_ARRAY_CONSTANT_EXPRESSION_MAX_get() |
Protected Member Functions | |
ModelCache (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
static long | getCPtr (ModelCache obj) |
static long | swigRelease (ModelCache obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
Implements a complete cache for model elements: expressions and
constraints. Caching is based on the signatures of the elements, as
well as their types. This class is used internally to avoid creating
duplicate objects.
Definition at line 17 of file ModelCache.java.
|
protected |
Definition at line 21 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.clear | ( | ) |
Definition at line 57 of file ModelCache.java.
synchronized void com.google.ortools.constraintsolver.ModelCache.delete | ( | ) |
Definition at line 47 of file ModelCache.java.
|
protected |
Definition at line 43 of file ModelCache.java.
IntExpr com.google.ortools.constraintsolver.ModelCache.findExprConstantExpression | ( | IntExpr | expr, |
long | value, | ||
int | type ) |
Expr Constant Expressions.
Definition at line 124 of file ModelCache.java.
IntExpr com.google.ortools.constraintsolver.ModelCache.findExprExprConstantExpression | ( | IntExpr | var1, |
IntExpr | var2, | ||
long | constant, | ||
int | type ) |
Expr Expr Constant Expressions.
Definition at line 148 of file ModelCache.java.
Constraint com.google.ortools.constraintsolver.ModelCache.findExprExprConstraint | ( | IntExpr | expr1, |
IntExpr | expr2, | ||
int | type ) |
Expr Expr Constraints.
Definition at line 100 of file ModelCache.java.
IntExpr com.google.ortools.constraintsolver.ModelCache.findExprExpression | ( | IntExpr | expr, |
int | type ) |
Expr Expressions.
Definition at line 112 of file ModelCache.java.
IntExpr com.google.ortools.constraintsolver.ModelCache.findExprExprExpression | ( | IntExpr | var1, |
IntExpr | var2, | ||
int | type ) |
Expr Expr Expressions.
Definition at line 136 of file ModelCache.java.
IntExpr com.google.ortools.constraintsolver.ModelCache.findVarArrayConstantArrayExpression | ( | IntVar[] | vars, |
long[] | values, | ||
int | type ) |
Var Array Constant Array Expressions.
Definition at line 196 of file ModelCache.java.
IntExpr com.google.ortools.constraintsolver.ModelCache.findVarArrayConstantExpression | ( | IntVar[] | vars, |
long | value, | ||
int | type ) |
Var Array Constant Expressions.
Definition at line 208 of file ModelCache.java.
IntExpr com.google.ortools.constraintsolver.ModelCache.findVarArrayExpression | ( | IntVar[] | vars, |
int | type ) |
Var Array Expressions.
Definition at line 184 of file ModelCache.java.
IntExpr com.google.ortools.constraintsolver.ModelCache.findVarConstantArrayExpression | ( | IntVar | var, |
long[] | values, | ||
int | type ) |
Var Constant Array Expressions.
Definition at line 172 of file ModelCache.java.
Constraint com.google.ortools.constraintsolver.ModelCache.findVarConstantConstantConstraint | ( | IntVar | var, |
long | value1, | ||
long | value2, | ||
int | type ) |
Var Constant Constant Constraints.
Definition at line 88 of file ModelCache.java.
IntExpr com.google.ortools.constraintsolver.ModelCache.findVarConstantConstantExpression | ( | IntVar | var, |
long | value1, | ||
long | value2, | ||
int | type ) |
Var Constant Constant Expressions.
Definition at line 160 of file ModelCache.java.
Constraint com.google.ortools.constraintsolver.ModelCache.findVarConstantConstraint | ( | IntVar | var, |
long | value, | ||
int | type ) |
Var Constant Constraints.
Definition at line 76 of file ModelCache.java.
Constraint com.google.ortools.constraintsolver.ModelCache.findVoidConstraint | ( | int | type | ) |
Void constraints.
Definition at line 64 of file ModelCache.java.
|
staticprotected |
Definition at line 26 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertExprConstantExpression | ( | IntExpr | expression, |
IntExpr | var, | ||
long | value, | ||
int | type ) |
Definition at line 129 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertExprExprConstantExpression | ( | IntExpr | expression, |
IntExpr | var1, | ||
IntExpr | var2, | ||
long | constant, | ||
int | type ) |
Definition at line 153 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertExprExprConstraint | ( | Constraint | ct, |
IntExpr | expr1, | ||
IntExpr | expr2, | ||
int | type ) |
Definition at line 105 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertExprExpression | ( | IntExpr | expression, |
IntExpr | expr, | ||
int | type ) |
Definition at line 117 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertExprExprExpression | ( | IntExpr | expression, |
IntExpr | var1, | ||
IntExpr | var2, | ||
int | type ) |
Definition at line 141 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertVarArrayConstantArrayExpression | ( | IntExpr | expression, |
IntVar[] | var, | ||
long[] | values, | ||
int | type ) |
Definition at line 201 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertVarArrayConstantExpression | ( | IntExpr | expression, |
IntVar[] | var, | ||
long | value, | ||
int | type ) |
Definition at line 213 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertVarArrayExpression | ( | IntExpr | expression, |
IntVar[] | vars, | ||
int | type ) |
Definition at line 189 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertVarConstantArrayExpression | ( | IntExpr | expression, |
IntVar | var, | ||
long[] | values, | ||
int | type ) |
Definition at line 177 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertVarConstantConstantConstraint | ( | Constraint | ct, |
IntVar | var, | ||
long | value1, | ||
long | value2, | ||
int | type ) |
Definition at line 93 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertVarConstantConstantExpression | ( | IntExpr | expression, |
IntVar | var, | ||
long | value1, | ||
long | value2, | ||
int | type ) |
Definition at line 165 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertVarConstantConstraint | ( | Constraint | ct, |
IntVar | var, | ||
long | value, | ||
int | type ) |
Definition at line 81 of file ModelCache.java.
void com.google.ortools.constraintsolver.ModelCache.insertVoidConstraint | ( | Constraint | ct, |
int | type ) |
Definition at line 69 of file ModelCache.java.
Solver com.google.ortools.constraintsolver.ModelCache.solver | ( | ) |
Definition at line 217 of file ModelCache.java.
|
staticprotected |
Definition at line 30 of file ModelCache.java.
|
static |
Definition at line 249 of file ModelCache.java.
|
static |
ExprConstantExpressionType.
Definition at line 271 of file ModelCache.java.
|
static |
Definition at line 272 of file ModelCache.java.
|
static |
Definition at line 281 of file ModelCache.java.
|
static |
Definition at line 277 of file ModelCache.java.
|
static |
Definition at line 279 of file ModelCache.java.
|
static |
Definition at line 280 of file ModelCache.java.
|
static |
Definition at line 278 of file ModelCache.java.
|
static |
Definition at line 274 of file ModelCache.java.
|
static |
Definition at line 275 of file ModelCache.java.
|
static |
Definition at line 273 of file ModelCache.java.
|
static |
Definition at line 276 of file ModelCache.java.
|
static |
ExprExprConstantExpressionType.
Definition at line 267 of file ModelCache.java.
|
static |
Definition at line 268 of file ModelCache.java.
|
static |
Definition at line 245 of file ModelCache.java.
|
static |
ExprExprExpressionType.
Definition at line 254 of file ModelCache.java.
|
static |
Definition at line 256 of file ModelCache.java.
|
static |
ExprExprConstraintType.
Definition at line 239 of file ModelCache.java.
|
static |
Definition at line 264 of file ModelCache.java.
|
static |
Definition at line 240 of file ModelCache.java.
|
static |
Definition at line 241 of file ModelCache.java.
|
static |
Definition at line 262 of file ModelCache.java.
|
static |
Definition at line 260 of file ModelCache.java.
|
static |
Definition at line 261 of file ModelCache.java.
|
static |
Definition at line 263 of file ModelCache.java.
|
static |
Definition at line 242 of file ModelCache.java.
|
static |
Definition at line 243 of file ModelCache.java.
|
static |
Definition at line 257 of file ModelCache.java.
|
static |
Definition at line 258 of file ModelCache.java.
|
static |
Definition at line 244 of file ModelCache.java.
|
static |
Definition at line 255 of file ModelCache.java.
|
static |
Definition at line 259 of file ModelCache.java.
|
static |
Definition at line 251 of file ModelCache.java.
|
static |
ExprExpressionType.
Definition at line 248 of file ModelCache.java.
|
static |
Definition at line 250 of file ModelCache.java.
|
protected |
Definition at line 19 of file ModelCache.java.
|
static |
Definition at line 293 of file ModelCache.java.
|
static |
VarArrayConstantArrayExpressionType.
Definition at line 292 of file ModelCache.java.
|
static |
Definition at line 303 of file ModelCache.java.
|
static |
VarArrayConstantExpressionType.
Definition at line 302 of file ModelCache.java.
|
static |
Definition at line 299 of file ModelCache.java.
|
static |
VarArrayExpressionType.
Definition at line 296 of file ModelCache.java.
|
static |
Definition at line 297 of file ModelCache.java.
|
static |
Definition at line 298 of file ModelCache.java.
|
static |
VarConstantArrayExpressionType.
Definition at line 288 of file ModelCache.java.
|
static |
Definition at line 289 of file ModelCache.java.
|
static |
VarConstantConstantConstraintType.
Definition at line 235 of file ModelCache.java.
|
static |
Definition at line 236 of file ModelCache.java.
|
static |
Definition at line 285 of file ModelCache.java.
|
static |
VarConstantConstantExpressionType.
Definition at line 284 of file ModelCache.java.
|
static |
Definition at line 232 of file ModelCache.java.
|
static |
VarConstantConstraintType.
Definition at line 228 of file ModelCache.java.
|
static |
Definition at line 229 of file ModelCache.java.
|
static |
Definition at line 230 of file ModelCache.java.
|
static |
Definition at line 231 of file ModelCache.java.
|
static |
Definition at line 225 of file ModelCache.java.
|
static |
VoidConstraintType.
Definition at line 223 of file ModelCache.java.
|
static |
Definition at line 224 of file ModelCache.java.