![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
enum | DomainReductionStrategy |
enum | VariableSelectionStrategy |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.sat.DecisionStrategyProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.DecisionStrategyProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.DecisionStrategyProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.DecisionStrategyProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.DecisionStrategyProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.DecisionStrategyProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.DecisionStrategyProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.DecisionStrategyProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.DecisionStrategyProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.DecisionStrategyProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.DecisionStrategyProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.sat.DecisionStrategyProto | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.sat.DecisionStrategyProto prototype) |
static com.google.ortools.sat.DecisionStrategyProto | getDefaultInstance () |
static com.google.protobuf.Parser< DecisionStrategyProto > | parser () |
Static Public Attributes | |
static final int | VARIABLES_FIELD_NUMBER = 1 |
static final int | EXPRS_FIELD_NUMBER = 5 |
static final int | VARIABLE_SELECTION_STRATEGY_FIELD_NUMBER = 2 |
static final int | DOMAIN_REDUCTION_STRATEGY_FIELD_NUMBER = 3 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
Define the strategy to follow when the solver needs to take a new decision. Note that this strategy is only defined on a subset of variables.
Protobuf type operations_research.sat.DecisionStrategyProto
Definition at line 16 of file DecisionStrategyProto.java.
boolean com.google.ortools.sat.DecisionStrategyProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 608 of file DecisionStrategyProto.java.
|
static |
Definition at line 1630 of file DecisionStrategyProto.java.
com.google.ortools.sat.DecisionStrategyProto com.google.ortools.sat.DecisionStrategyProto.getDefaultInstanceForType | ( | ) |
Definition at line 1666 of file DecisionStrategyProto.java.
|
static |
Definition at line 42 of file DecisionStrategyProto.java.
com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy com.google.ortools.sat.DecisionStrategyProto.getDomainReductionStrategy | ( | ) |
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 531 of file DecisionStrategyProto.java.
int com.google.ortools.sat.DecisionStrategyProto.getDomainReductionStrategyValue | ( | ) |
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 524 of file DecisionStrategyProto.java.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.DecisionStrategyProto.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;
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 479 of file DecisionStrategyProto.java.
int com.google.ortools.sat.DecisionStrategyProto.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;
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 463 of file DecisionStrategyProto.java.
java.util.List< com.google.ortools.sat.LinearExpressionProto > com.google.ortools.sat.DecisionStrategyProto.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;
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 430 of file DecisionStrategyProto.java.
com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.DecisionStrategyProto.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;
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 495 of file DecisionStrategyProto.java.
java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder > com.google.ortools.sat.DecisionStrategyProto.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;
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 447 of file DecisionStrategyProto.java.
com.google.protobuf.Parser< DecisionStrategyProto > com.google.ortools.sat.DecisionStrategyProto.getParserForType | ( | ) |
Definition at line 1661 of file DecisionStrategyProto.java.
int com.google.ortools.sat.DecisionStrategyProto.getSerializedSize | ( | ) |
Definition at line 571 of file DecisionStrategyProto.java.
int com.google.ortools.sat.DecisionStrategyProto.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. |
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 409 of file DecisionStrategyProto.java.
int com.google.ortools.sat.DecisionStrategyProto.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;
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 395 of file DecisionStrategyProto.java.
com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy com.google.ortools.sat.DecisionStrategyProto.getVariableSelectionStrategy | ( | ) |
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy = 2;
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 513 of file DecisionStrategyProto.java.
int com.google.ortools.sat.DecisionStrategyProto.getVariableSelectionStrategyValue | ( | ) |
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy = 2;
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 506 of file DecisionStrategyProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.DecisionStrategyProto.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;
Implements com.google.ortools.sat.DecisionStrategyProtoOrBuilder.
Definition at line 382 of file DecisionStrategyProto.java.
int com.google.ortools.sat.DecisionStrategyProto.hashCode | ( | ) |
Definition at line 628 of file DecisionStrategyProto.java.
|
protected |
Definition at line 48 of file DecisionStrategyProto.java.
final boolean com.google.ortools.sat.DecisionStrategyProto.isInitialized | ( | ) |
Definition at line 538 of file DecisionStrategyProto.java.
|
static |
Definition at line 725 of file DecisionStrategyProto.java.
|
static |
Definition at line 728 of file DecisionStrategyProto.java.
Builder com.google.ortools.sat.DecisionStrategyProto.newBuilderForType | ( | ) |
Definition at line 724 of file DecisionStrategyProto.java.
|
protected |
Definition at line 738 of file DecisionStrategyProto.java.
|
static |
Definition at line 696 of file DecisionStrategyProto.java.
|
static |
Definition at line 702 of file DecisionStrategyProto.java.
|
static |
Definition at line 673 of file DecisionStrategyProto.java.
|
static |
Definition at line 677 of file DecisionStrategyProto.java.
|
static |
Definition at line 662 of file DecisionStrategyProto.java.
|
static |
Definition at line 667 of file DecisionStrategyProto.java.
|
static |
Definition at line 709 of file DecisionStrategyProto.java.
|
static |
Definition at line 715 of file DecisionStrategyProto.java.
|
static |
Definition at line 683 of file DecisionStrategyProto.java.
|
static |
Definition at line 688 of file DecisionStrategyProto.java.
|
static |
Definition at line 651 of file DecisionStrategyProto.java.
|
static |
Definition at line 656 of file DecisionStrategyProto.java.
|
static |
Definition at line 1656 of file DecisionStrategyProto.java.
Builder com.google.ortools.sat.DecisionStrategyProto.toBuilder | ( | ) |
Definition at line 732 of file DecisionStrategyProto.java.
void com.google.ortools.sat.DecisionStrategyProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 548 of file DecisionStrategyProto.java.
|
static |
Definition at line 518 of file DecisionStrategyProto.java.
|
static |
Definition at line 414 of file DecisionStrategyProto.java.
|
static |
Definition at line 500 of file DecisionStrategyProto.java.
|
static |
Definition at line 366 of file DecisionStrategyProto.java.