public static enum SatParameters.RestartAlgorithm extends java.lang.Enum<SatParameters.RestartAlgorithm> implements com.google.protobuf.ProtocolMessageEnum
Restart algorithms. A reference for the more advanced ones is: Gilles Audemard, Laurent Simon, "Refining Restarts Strategies for SAT and UNSAT", Principles and Practice of Constraint Programming Lecture Notes in Computer Science 2012, pp 118-126Protobuf enum
operations_research.sat.SatParameters.RestartAlgorithm
Enum Constant and Description |
---|
DL_MOVING_AVERAGE_RESTART
Moving average restart based on the decision level of conflicts.
|
FIXED_RESTART
Fixed period restart every restart period.
|
LBD_MOVING_AVERAGE_RESTART
Moving average restart based on the LBD of conflicts.
|
LUBY_RESTART
Just follow a Luby sequence times restart_period.
|
NO_RESTART
NO_RESTART = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
DL_MOVING_AVERAGE_RESTART_VALUE
Moving average restart based on the decision level of conflicts.
|
static int |
FIXED_RESTART_VALUE
Fixed period restart every restart period.
|
static int |
LBD_MOVING_AVERAGE_RESTART_VALUE
Moving average restart based on the LBD of conflicts.
|
static int |
LUBY_RESTART_VALUE
Just follow a Luby sequence times restart_period.
|
static int |
NO_RESTART_VALUE
NO_RESTART = 0; |
Modifier and Type | Method and Description |
---|---|
static SatParameters.RestartAlgorithm |
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.RestartAlgorithm> |
internalGetValueMap() |
static SatParameters.RestartAlgorithm |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SatParameters.RestartAlgorithm |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SatParameters.RestartAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SatParameters.RestartAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SatParameters.RestartAlgorithm NO_RESTART
NO_RESTART = 0;
public static final SatParameters.RestartAlgorithm LUBY_RESTART
Just follow a Luby sequence times restart_period.
LUBY_RESTART = 1;
public static final SatParameters.RestartAlgorithm DL_MOVING_AVERAGE_RESTART
Moving average restart based on the decision level of conflicts.
DL_MOVING_AVERAGE_RESTART = 2;
public static final SatParameters.RestartAlgorithm LBD_MOVING_AVERAGE_RESTART
Moving average restart based on the LBD of conflicts.
LBD_MOVING_AVERAGE_RESTART = 3;
public static final SatParameters.RestartAlgorithm FIXED_RESTART
Fixed period restart every restart period.
FIXED_RESTART = 4;
public static final int NO_RESTART_VALUE
NO_RESTART = 0;
public static final int LUBY_RESTART_VALUE
Just follow a Luby sequence times restart_period.
LUBY_RESTART = 1;
public static final int DL_MOVING_AVERAGE_RESTART_VALUE
Moving average restart based on the decision level of conflicts.
DL_MOVING_AVERAGE_RESTART = 2;
public static final int LBD_MOVING_AVERAGE_RESTART_VALUE
Moving average restart based on the LBD of conflicts.
LBD_MOVING_AVERAGE_RESTART = 3;
public static final int FIXED_RESTART_VALUE
Fixed period restart every restart period.
FIXED_RESTART = 4;
public static SatParameters.RestartAlgorithm[] values()
for (SatParameters.RestartAlgorithm c : SatParameters.RestartAlgorithm.values()) System.out.println(c);
public static SatParameters.RestartAlgorithm 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.RestartAlgorithm valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static SatParameters.RestartAlgorithm forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SatParameters.RestartAlgorithm> 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.RestartAlgorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.