Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy Enum Reference

Detailed Description

The order in which the variables (resp. affine expression) above should be
considered. Note that only variables that are not already fixed are
considered.

TODO(user): extend as needed.

Protobuf enum operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy

Definition at line 66 of file DecisionStrategyProto.java.

Inheritance diagram for com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy:

Public Member Functions

final int getNumber ()
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor ()
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType ()

Static Public Member Functions

 [static initializer]
static VariableSelectionStrategy valueOf (int value)
static VariableSelectionStrategy forNumber (int value)
static com.google.protobuf.Internal.EnumLiteMap< VariableSelectionStrategyinternalGetValueMap ()
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor ()
static VariableSelectionStrategy valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc)

Public Attributes

 CHOOSE_FIRST =(0)
 CHOOSE_LOWEST_MIN =(1)
 CHOOSE_HIGHEST_MAX =(2)
 CHOOSE_MIN_DOMAIN_SIZE =(3)
 CHOOSE_MAX_DOMAIN_SIZE =(4)
 UNRECOGNIZED =(-1)

Static Public Attributes

static final int CHOOSE_FIRST_VALUE = 0
static final int CHOOSE_LOWEST_MIN_VALUE = 1
static final int CHOOSE_HIGHEST_MAX_VALUE = 2
static final int CHOOSE_MIN_DOMAIN_SIZE_VALUE = 3
static final int CHOOSE_MAX_DOMAIN_SIZE_VALUE = 4

Member Function Documentation

◆ [static initializer]()

com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.[static initializer]
static

◆ forNumber()

VariableSelectionStrategy com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.forNumber ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.

Definition at line 144 of file DecisionStrategyProto.java.

◆ getDescriptor()

com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.getDescriptor ( )
static

Definition at line 180 of file DecisionStrategyProto.java.

◆ getDescriptorForType()

final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.getDescriptorForType ( )

Definition at line 176 of file DecisionStrategyProto.java.

◆ getNumber()

final int com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.getNumber ( )

Definition at line 122 of file DecisionStrategyProto.java.

◆ getValueDescriptor()

final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.getValueDescriptor ( )

Definition at line 168 of file DecisionStrategyProto.java.

◆ internalGetValueMap()

com.google.protobuf.Internal.EnumLiteMap< VariableSelectionStrategy > com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.internalGetValueMap ( )
static

Definition at line 156 of file DecisionStrategyProto.java.

◆ valueOf() [1/2]

VariableSelectionStrategy com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.valueOf ( com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static

Definition at line 186 of file DecisionStrategyProto.java.

◆ valueOf() [2/2]

VariableSelectionStrategy com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.valueOf ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.
Deprecated
Use forNumber(int) instead.

Definition at line 136 of file DecisionStrategyProto.java.

Member Data Documentation

◆ CHOOSE_FIRST

com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_FIRST =(0)

CHOOSE_FIRST = 0;

Definition at line 71 of file DecisionStrategyProto.java.

◆ CHOOSE_FIRST_VALUE

final int com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_FIRST_VALUE = 0
static

CHOOSE_FIRST = 0;

Definition at line 103 of file DecisionStrategyProto.java.

◆ CHOOSE_HIGHEST_MAX

com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_HIGHEST_MAX =(2)

CHOOSE_HIGHEST_MAX = 2;

Definition at line 79 of file DecisionStrategyProto.java.

◆ CHOOSE_HIGHEST_MAX_VALUE

final int com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_HIGHEST_MAX_VALUE = 2
static

CHOOSE_HIGHEST_MAX = 2;

Definition at line 111 of file DecisionStrategyProto.java.

◆ CHOOSE_LOWEST_MIN

com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_LOWEST_MIN =(1)

CHOOSE_LOWEST_MIN = 1;

Definition at line 75 of file DecisionStrategyProto.java.

◆ CHOOSE_LOWEST_MIN_VALUE

final int com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_LOWEST_MIN_VALUE = 1
static

CHOOSE_LOWEST_MIN = 1;

Definition at line 107 of file DecisionStrategyProto.java.

◆ CHOOSE_MAX_DOMAIN_SIZE

com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_MAX_DOMAIN_SIZE =(4)

CHOOSE_MAX_DOMAIN_SIZE = 4;

Definition at line 87 of file DecisionStrategyProto.java.

◆ CHOOSE_MAX_DOMAIN_SIZE_VALUE

final int com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_MAX_DOMAIN_SIZE_VALUE = 4
static

CHOOSE_MAX_DOMAIN_SIZE = 4;

Definition at line 119 of file DecisionStrategyProto.java.

◆ CHOOSE_MIN_DOMAIN_SIZE

com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_MIN_DOMAIN_SIZE =(3)

CHOOSE_MIN_DOMAIN_SIZE = 3;

Definition at line 83 of file DecisionStrategyProto.java.

◆ CHOOSE_MIN_DOMAIN_SIZE_VALUE

final int com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_MIN_DOMAIN_SIZE_VALUE = 3
static

CHOOSE_MIN_DOMAIN_SIZE = 3;

Definition at line 115 of file DecisionStrategyProto.java.

◆ UNRECOGNIZED

com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.UNRECOGNIZED =(-1)

Definition at line 88 of file DecisionStrategyProto.java.


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