Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.AcceptanceStrategy.Value Enum Reference
Inheritance diagram for com.google.ortools.constraintsolver.AcceptanceStrategy.Value:

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 Value valueOf (int value)
 
static Value forNumber (int value)
 
static com.google.protobuf.Internal.EnumLiteMap< ValueinternalGetValueMap ()
 
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor ()
 
static Value valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc)
 

Public Attributes

 UNSET =(0)
 
 GREEDY_DESCENT =(1)
 
 SIMULATED_ANNEALING =(2)
 
 UNRECOGNIZED =(-1)
 

Static Public Attributes

static final int UNSET_VALUE = 0
 
static final int GREEDY_DESCENT_VALUE = 1
 
static final int SIMULATED_ANNEALING_VALUE = 2
 

Detailed Description

Protobuf enum operations_research.AcceptanceStrategy.Value

Definition at line 54 of file AcceptanceStrategy.java.

Member Function Documentation

◆ [static initializer]()

com.google.ortools.constraintsolver.AcceptanceStrategy.Value.[static initializer]
static

◆ forNumber()

static Value com.google.ortools.constraintsolver.AcceptanceStrategy.Value.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 AcceptanceStrategy.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.constraintsolver.AcceptanceStrategy.Value.getDescriptor ( )
static

Definition at line 178 of file AcceptanceStrategy.java.

◆ getDescriptorForType()

final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.constraintsolver.AcceptanceStrategy.Value.getDescriptorForType ( )

Definition at line 174 of file AcceptanceStrategy.java.

◆ getNumber()

final int com.google.ortools.constraintsolver.AcceptanceStrategy.Value.getNumber ( )

Definition at line 122 of file AcceptanceStrategy.java.

◆ getValueDescriptor()

final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.constraintsolver.AcceptanceStrategy.Value.getValueDescriptor ( )

Definition at line 166 of file AcceptanceStrategy.java.

◆ internalGetValueMap()

static com.google.protobuf.Internal.EnumLiteMap< Value > com.google.ortools.constraintsolver.AcceptanceStrategy.Value.internalGetValueMap ( )
static

Definition at line 154 of file AcceptanceStrategy.java.

◆ valueOf() [1/2]

static Value com.google.ortools.constraintsolver.AcceptanceStrategy.Value.valueOf ( com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static

Definition at line 184 of file AcceptanceStrategy.java.

◆ valueOf() [2/2]

static Value com.google.ortools.constraintsolver.AcceptanceStrategy.Value.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 AcceptanceStrategy.java.

Member Data Documentation

◆ GREEDY_DESCENT

com.google.ortools.constraintsolver.AcceptanceStrategy.Value.GREEDY_DESCENT =(1)
Accepts only solutions that are improving with respect to the reference
one.

GREEDY_DESCENT = 1;

Definition at line 72 of file AcceptanceStrategy.java.

◆ GREEDY_DESCENT_VALUE

final int com.google.ortools.constraintsolver.AcceptanceStrategy.Value.GREEDY_DESCENT_VALUE = 1
static
Accepts only solutions that are improving with respect to the reference
one.

GREEDY_DESCENT = 1;

Definition at line 110 of file AcceptanceStrategy.java.

◆ SIMULATED_ANNEALING

com.google.ortools.constraintsolver.AcceptanceStrategy.Value.SIMULATED_ANNEALING =(2)
Accepts a candidate solution with a probability that depends on its
quality and on the current state of the search.

SIMULATED_ANNEALING = 2;

Definition at line 81 of file AcceptanceStrategy.java.

◆ SIMULATED_ANNEALING_VALUE

final int com.google.ortools.constraintsolver.AcceptanceStrategy.Value.SIMULATED_ANNEALING_VALUE = 2
static
Accepts a candidate solution with a probability that depends on its
quality and on the current state of the search.

SIMULATED_ANNEALING = 2;

Definition at line 119 of file AcceptanceStrategy.java.

◆ UNRECOGNIZED

com.google.ortools.constraintsolver.AcceptanceStrategy.Value.UNRECOGNIZED =(-1)

Definition at line 82 of file AcceptanceStrategy.java.

◆ UNSET

com.google.ortools.constraintsolver.AcceptanceStrategy.Value.UNSET =(0)
Unspecified value.

UNSET = 0;

Definition at line 63 of file AcceptanceStrategy.java.

◆ UNSET_VALUE

final int com.google.ortools.constraintsolver.AcceptanceStrategy.Value.UNSET_VALUE = 0
static
Unspecified value.

UNSET = 0;

Definition at line 101 of file AcceptanceStrategy.java.


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