Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.DecisionStrategyProtoOrBuilder Interface Reference
Inheritance diagram for com.google.ortools.sat.DecisionStrategyProtoOrBuilder:
com.google.ortools.sat.DecisionStrategyProto com.google.ortools.sat.DecisionStrategyProto.Builder

Public Member Functions

java.util.List< java.lang.Integer > getVariablesList ()
 
int getVariablesCount ()
 
int getVariables (int index)
 
java.util.List< com.google.ortools.sat.LinearExpressionProtogetExprsList ()
 
com.google.ortools.sat.LinearExpressionProto getExprs (int index)
 
int getExprsCount ()
 
java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuildergetExprsOrBuilderList ()
 
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 ()
 

Detailed Description

Definition at line 7 of file DecisionStrategyProtoOrBuilder.java.

Member Function Documentation

◆ getDomainReductionStrategy()

com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getDomainReductionStrategy ( )

.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;

Returns
The domainReductionStrategy.

Implemented in com.google.ortools.sat.DecisionStrategyProto, and com.google.ortools.sat.DecisionStrategyProto.Builder.

◆ getDomainReductionStrategyValue()

int com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getDomainReductionStrategyValue ( )

.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;

Returns
The enum numeric value on the wire for domainReductionStrategy.

Implemented in com.google.ortools.sat.DecisionStrategyProto, and com.google.ortools.sat.DecisionStrategyProto.Builder.

◆ getExprs()

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, and com.google.ortools.sat.DecisionStrategyProto.Builder.

◆ getExprsCount()

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, and com.google.ortools.sat.DecisionStrategyProto.Builder.

◆ getExprsList()

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, and com.google.ortools.sat.DecisionStrategyProto.Builder.

◆ getExprsOrBuilder()

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, and com.google.ortools.sat.DecisionStrategyProto.Builder.

◆ getExprsOrBuilderList()

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, and com.google.ortools.sat.DecisionStrategyProto.Builder.

◆ getVariables()

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;

Parameters
indexThe index of the element to return.
Returns
The variables at the given index.

Implemented in com.google.ortools.sat.DecisionStrategyProto, and com.google.ortools.sat.DecisionStrategyProto.Builder.

◆ getVariablesCount()

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;

Returns
The count of variables.

Implemented in com.google.ortools.sat.DecisionStrategyProto, and com.google.ortools.sat.DecisionStrategyProto.Builder.

◆ getVariableSelectionStrategy()

com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getVariableSelectionStrategy ( )

.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy = 2;

Returns
The variableSelectionStrategy.

Implemented in com.google.ortools.sat.DecisionStrategyProto, and com.google.ortools.sat.DecisionStrategyProto.Builder.

◆ getVariableSelectionStrategyValue()

int com.google.ortools.sat.DecisionStrategyProtoOrBuilder.getVariableSelectionStrategyValue ( )

.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy = 2;

Returns
The enum numeric value on the wire for variableSelectionStrategy.

Implemented in com.google.ortools.sat.DecisionStrategyProto, and com.google.ortools.sat.DecisionStrategyProto.Builder.

◆ getVariablesList()

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;

Returns
A list containing the variables.

Implemented in com.google.ortools.sat.DecisionStrategyProto, and com.google.ortools.sat.DecisionStrategyProto.Builder.


The documentation for this interface was generated from the following file: