public static enum SatParameters.MaxSatStratificationAlgorithm extends java.lang.Enum<SatParameters.MaxSatStratificationAlgorithm> implements com.google.protobuf.ProtocolMessageEnum
What stratification algorithm we use in the presence of weight.Protobuf enum
operations_research.sat.SatParameters.MaxSatStratificationAlgorithm
Enum Constant and Description |
---|
STRATIFICATION_ASCENT
Start with all literals.
|
STRATIFICATION_DESCENT
Start with literals with the highest weight, and when SAT, add the
literals with the next highest weight and so on.
|
STRATIFICATION_NONE
No stratification of the problem.
|
Modifier and Type | Field and Description |
---|---|
static int |
STRATIFICATION_ASCENT_VALUE
Start with all literals.
|
static int |
STRATIFICATION_DESCENT_VALUE
Start with literals with the highest weight, and when SAT, add the
literals with the next highest weight and so on.
|
static int |
STRATIFICATION_NONE_VALUE
No stratification of the problem.
|
Modifier and Type | Method and Description |
---|---|
static SatParameters.MaxSatStratificationAlgorithm |
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<SatParameters.MaxSatStratificationAlgorithm> |
internalGetValueMap() |
static SatParameters.MaxSatStratificationAlgorithm |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SatParameters.MaxSatStratificationAlgorithm |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SatParameters.MaxSatStratificationAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SatParameters.MaxSatStratificationAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SatParameters.MaxSatStratificationAlgorithm STRATIFICATION_NONE
No stratification of the problem.
STRATIFICATION_NONE = 0;
public static final SatParameters.MaxSatStratificationAlgorithm STRATIFICATION_DESCENT
Start with literals with the highest weight, and when SAT, add the literals with the next highest weight and so on.
STRATIFICATION_DESCENT = 1;
public static final SatParameters.MaxSatStratificationAlgorithm STRATIFICATION_ASCENT
Start with all literals. Each time a core is found with a given minimum weight, do not consider literals with a lower weight for the next core computation. If the subproblem is SAT, do like in STRATIFICATION_DESCENT and just add the literals with the next highest weight.
STRATIFICATION_ASCENT = 2;
public static final int STRATIFICATION_NONE_VALUE
No stratification of the problem.
STRATIFICATION_NONE = 0;
public static final int STRATIFICATION_DESCENT_VALUE
Start with literals with the highest weight, and when SAT, add the literals with the next highest weight and so on.
STRATIFICATION_DESCENT = 1;
public static final int STRATIFICATION_ASCENT_VALUE
Start with all literals. Each time a core is found with a given minimum weight, do not consider literals with a lower weight for the next core computation. If the subproblem is SAT, do like in STRATIFICATION_DESCENT and just add the literals with the next highest weight.
STRATIFICATION_ASCENT = 2;
public static SatParameters.MaxSatStratificationAlgorithm[] values()
for (SatParameters.MaxSatStratificationAlgorithm c : SatParameters.MaxSatStratificationAlgorithm.values()) System.out.println(c);
public static SatParameters.MaxSatStratificationAlgorithm 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 SatParameters.MaxSatStratificationAlgorithm valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static SatParameters.MaxSatStratificationAlgorithm forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SatParameters.MaxSatStratificationAlgorithm> 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 SatParameters.MaxSatStratificationAlgorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.