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

Detailed Description

Protobuf enum operations_research.AcceptanceStrategy.Value

Definition at line 55 of file AcceptanceStrategy.java.

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 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

Member Function Documentation

◆ [static initializer]()

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

◆ forNumber()

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 145 of file AcceptanceStrategy.java.

◆ getDescriptor()

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

Definition at line 179 of file AcceptanceStrategy.java.

◆ getDescriptorForType()

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

Definition at line 175 of file AcceptanceStrategy.java.

◆ getNumber()

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

Definition at line 123 of file AcceptanceStrategy.java.

◆ getValueDescriptor()

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

Definition at line 167 of file AcceptanceStrategy.java.

◆ internalGetValueMap()

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

Definition at line 155 of file AcceptanceStrategy.java.

◆ valueOf() [1/2]

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

Definition at line 185 of file AcceptanceStrategy.java.

◆ valueOf() [2/2]

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 137 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 73 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 111 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 82 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 120 of file AcceptanceStrategy.java.

◆ UNRECOGNIZED

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

Definition at line 83 of file AcceptanceStrategy.java.

◆ UNSET

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

UNSET = 0;

Definition at line 64 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 102 of file AcceptanceStrategy.java.


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