public static enum AcceptanceStrategy.Value extends java.lang.Enum<AcceptanceStrategy.Value> implements com.google.protobuf.ProtocolMessageEnum
operations_research.AcceptanceStrategy.Value
Enum Constant and Description |
---|
GREEDY_DESCENT
Accepts only solutions that are improving with respect to the reference
one.
|
SIMULATED_ANNEALING
Accepts a candidate solution with a probability that depends on its
quality and on the current state of the search.
|
UNRECOGNIZED |
UNSET
Unspecified value.
|
Modifier and Type | Field and Description |
---|---|
static int |
GREEDY_DESCENT_VALUE
Accepts only solutions that are improving with respect to the reference
one.
|
static int |
SIMULATED_ANNEALING_VALUE
Accepts a candidate solution with a probability that depends on its
quality and on the current state of the search.
|
static int |
UNSET_VALUE
Unspecified value.
|
Modifier and Type | Method and Description |
---|---|
static AcceptanceStrategy.Value |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<AcceptanceStrategy.Value> |
internalGetValueMap() |
static AcceptanceStrategy.Value |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AcceptanceStrategy.Value |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AcceptanceStrategy.Value |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AcceptanceStrategy.Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcceptanceStrategy.Value UNSET
Unspecified value.
UNSET = 0;
public static final AcceptanceStrategy.Value GREEDY_DESCENT
Accepts only solutions that are improving with respect to the reference one.
GREEDY_DESCENT = 1;
public static final AcceptanceStrategy.Value SIMULATED_ANNEALING
Accepts a candidate solution with a probability that depends on its quality and on the current state of the search.
SIMULATED_ANNEALING = 2;
public static final AcceptanceStrategy.Value UNRECOGNIZED
public static final int UNSET_VALUE
Unspecified value.
UNSET = 0;
public static final int GREEDY_DESCENT_VALUE
Accepts only solutions that are improving with respect to the reference one.
GREEDY_DESCENT = 1;
public static final int SIMULATED_ANNEALING_VALUE
Accepts a candidate solution with a probability that depends on its quality and on the current state of the search.
SIMULATED_ANNEALING = 2;
public static AcceptanceStrategy.Value[] values()
for (AcceptanceStrategy.Value c : AcceptanceStrategy.Value.values()) System.out.println(c);
public static AcceptanceStrategy.Value valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static AcceptanceStrategy.Value valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static AcceptanceStrategy.Value forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AcceptanceStrategy.Value> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AcceptanceStrategy.Value valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.