Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
java.util.List< java.lang.Integer > | getVariablesList () |
int | getVariablesCount () |
int | getVariables (int index) |
java.util.List< com.google.ortools.sat.LinearExpressionProto > | getExprsList () |
com.google.ortools.sat.LinearExpressionProto | getExprs (int index) |
int | getExprsCount () |
java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder > | getExprsOrBuilderList () |
com.google.ortools.sat.LinearExpressionProtoOrBuilder | getExprsOrBuilder (int index) |
int | getVariableSelectionStrategyValue () |
com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy | getVariableSelectionStrategy () |
int | getDomainReductionStrategyValue () |
com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy | getDomainReductionStrategy () |
Definition at line 7 of file DecisionStrategyProtoOrBuilder.java.
com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getDomainReductionStrategy | ( | ) |
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.
int com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getDomainReductionStrategyValue | ( | ) |
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getExprs | ( | int | index | ) |
If this is set, then the variables field must be empty. We currently only support affine expression. Note that this is needed so that if a variable has an affine representative, we can properly transform a DecisionStrategyProto through presolve.
repeated .operations_research.sat.LinearExpressionProto exprs = 5;
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.
int com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getExprsCount | ( | ) |
If this is set, then the variables field must be empty. We currently only support affine expression. Note that this is needed so that if a variable has an affine representative, we can properly transform a DecisionStrategyProto through presolve.
repeated .operations_research.sat.LinearExpressionProto exprs = 5;
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.
java.util.List< com.google.ortools.sat.LinearExpressionProto > com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getExprsList | ( | ) |
If this is set, then the variables field must be empty. We currently only support affine expression. Note that this is needed so that if a variable has an affine representative, we can properly transform a DecisionStrategyProto through presolve.
repeated .operations_research.sat.LinearExpressionProto exprs = 5;
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.
com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getExprsOrBuilder | ( | int | index | ) |
If this is set, then the variables field must be empty. We currently only support affine expression. Note that this is needed so that if a variable has an affine representative, we can properly transform a DecisionStrategyProto through presolve.
repeated .operations_research.sat.LinearExpressionProto exprs = 5;
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.
java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder > com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getExprsOrBuilderList | ( | ) |
If this is set, then the variables field must be empty. We currently only support affine expression. Note that this is needed so that if a variable has an affine representative, we can properly transform a DecisionStrategyProto through presolve.
repeated .operations_research.sat.LinearExpressionProto exprs = 5;
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.
int com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getVariables | ( | int | index | ) |
The variables to be considered for the next decision. The order matter and is always used as a tie-breaker after the variable selection strategy criteria defined below.
repeated int32 variables = 1;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.
int com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getVariablesCount | ( | ) |
The variables to be considered for the next decision. The order matter and is always used as a tie-breaker after the variable selection strategy criteria defined below.
repeated int32 variables = 1;
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.
com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getVariableSelectionStrategy | ( | ) |
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy = 2;
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.
int com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getVariableSelectionStrategyValue | ( | ) |
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy = 2;
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.
java.util.List< java.lang.Integer > com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getVariablesList | ( | ) |
The variables to be considered for the next decision. The order matter and is always used as a tie-breaker after the variable selection strategy criteria defined below.
repeated int32 variables = 1;
Implemented in com.google.ortools.sat.DecisionStrategyProto.Builder, and com.google.ortools.sat.DecisionStrategyProto.