public static enum SatParameters.ClauseProtection extends java.lang.Enum<SatParameters.ClauseProtection> implements com.google.protobuf.ProtocolMessageEnum
Each time a clause activity is bumped, the clause has a chance to be protected during the next cleanup phase. Note that clauses used as a reason are always protected.Protobuf enum
operations_research.sat.SatParameters.ClauseProtection
Enum Constant and Description |
---|
PROTECTION_ALWAYS
Protect all clauses whose activity is bumped.
|
PROTECTION_LBD
Only protect clause with a better LBD.
|
PROTECTION_NONE
No protection.
|
Modifier and Type | Field and Description |
---|---|
static int |
PROTECTION_ALWAYS_VALUE
Protect all clauses whose activity is bumped.
|
static int |
PROTECTION_LBD_VALUE
Only protect clause with a better LBD.
|
static int |
PROTECTION_NONE_VALUE
No protection.
|
Modifier and Type | Method and Description |
---|---|
static SatParameters.ClauseProtection |
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.ClauseProtection> |
internalGetValueMap() |
static SatParameters.ClauseProtection |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SatParameters.ClauseProtection |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SatParameters.ClauseProtection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SatParameters.ClauseProtection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SatParameters.ClauseProtection PROTECTION_NONE
No protection.
PROTECTION_NONE = 0;
public static final SatParameters.ClauseProtection PROTECTION_ALWAYS
Protect all clauses whose activity is bumped.
PROTECTION_ALWAYS = 1;
public static final SatParameters.ClauseProtection PROTECTION_LBD
Only protect clause with a better LBD.
PROTECTION_LBD = 2;
public static final int PROTECTION_NONE_VALUE
No protection.
PROTECTION_NONE = 0;
public static final int PROTECTION_ALWAYS_VALUE
Protect all clauses whose activity is bumped.
PROTECTION_ALWAYS = 1;
public static final int PROTECTION_LBD_VALUE
Only protect clause with a better LBD.
PROTECTION_LBD = 2;
public static SatParameters.ClauseProtection[] values()
for (SatParameters.ClauseProtection c : SatParameters.ClauseProtection.values()) System.out.println(c);
public static SatParameters.ClauseProtection 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.ClauseProtection valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static SatParameters.ClauseProtection forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SatParameters.ClauseProtection> 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.ClauseProtection valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.