Enum SatParameters.VariableOrder
- All Implemented Interfaces:
- com.google.protobuf.Internal.EnumLite,- com.google.protobuf.ProtocolMessageEnum,- Serializable,- Comparable<SatParameters.VariableOrder>,- java.lang.constant.Constable
- Enclosing class:
- SatParameters
public static enum SatParameters.VariableOrder
extends Enum<SatParameters.VariableOrder>
implements com.google.protobuf.ProtocolMessageEnum
Variables without activity (i.e. at the beginning of the search) will be tried in this preferred order.Protobuf enum
operations_research.sat.SatParameters.VariableOrder- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionAs specified by the problem.IN_RANDOM_ORDER = 2;IN_REVERSE_ORDER = 1;
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intAs specified by the problem.static final intIN_RANDOM_ORDER = 2;static final intIN_REVERSE_ORDER = 1;
- 
Method SummaryModifier and TypeMethodDescriptionstatic SatParameters.VariableOrderforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SatParameters.VariableOrder> static SatParameters.VariableOrdervalueOf(int value) Deprecated.static SatParameters.VariableOrdervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SatParameters.VariableOrderReturns the enum constant of this type with the specified name.static SatParameters.VariableOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
IN_ORDERAs specified by the problem. IN_ORDER = 0;
- 
IN_REVERSE_ORDERIN_REVERSE_ORDER = 1;
- 
IN_RANDOM_ORDERIN_RANDOM_ORDER = 2;
 
- 
- 
Field Details- 
IN_ORDER_VALUEpublic static final int IN_ORDER_VALUEAs specified by the problem. IN_ORDER = 0;- See Also:
 
- 
IN_REVERSE_ORDER_VALUEpublic static final int IN_REVERSE_ORDER_VALUEIN_REVERSE_ORDER = 1;- See Also:
 
- 
IN_RANDOM_ORDER_VALUEpublic static final int IN_RANDOM_ORDER_VALUEIN_RANDOM_ORDER = 2;- See Also:
 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getNumberpublic final int getNumber()- Specified by:
- getNumberin interface- com.google.protobuf.Internal.EnumLite
- Specified by:
- getNumberin interface- com.google.protobuf.ProtocolMessageEnum
 
- 
valueOfDeprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- value- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
forNumber- Parameters:
- value- The numeric wire value of the corresponding enum entry.
- Returns:
- The enum associated with the given numeric wire value.
 
- 
internalGetValueMappublic static com.google.protobuf.Internal.EnumLiteMap<SatParameters.VariableOrder> internalGetValueMap()
- 
getValueDescriptorpublic final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
- getValueDescriptorin interface- com.google.protobuf.ProtocolMessageEnum
 
- 
getDescriptorForTypepublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.ProtocolMessageEnum
 
- 
getDescriptorpublic static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
- 
valueOfpublic static SatParameters.VariableOrder valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- desc- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-