Enum RoutingSearchParameters.SchedulingSolver
- java.lang.Object
-
- java.lang.Enum<RoutingSearchParameters.SchedulingSolver>
-
- com.google.ortools.constraintsolver.RoutingSearchParameters.SchedulingSolver
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<RoutingSearchParameters.SchedulingSolver>
- Enclosing class:
- RoutingSearchParameters
public static enum RoutingSearchParameters.SchedulingSolver extends java.lang.Enum<RoutingSearchParameters.SchedulingSolver> implements com.google.protobuf.ProtocolMessageEnum
Underlying solver to use in dimension scheduling, respectively for continuous and mixed models.
Protobuf enumoperations_research.RoutingSearchParameters.SchedulingSolver
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SCHEDULING_CP_SATSCHEDULING_CP_SAT = 2;SCHEDULING_GLOPSCHEDULING_GLOP = 1;SCHEDULING_UNSETSCHEDULING_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intSCHEDULING_CP_SAT_VALUESCHEDULING_CP_SAT = 2;static intSCHEDULING_GLOP_VALUESCHEDULING_GLOP = 1;static intSCHEDULING_UNSET_VALUESCHEDULING_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RoutingSearchParameters.SchedulingSolverforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<RoutingSearchParameters.SchedulingSolver>internalGetValueMap()static RoutingSearchParameters.SchedulingSolvervalueOf(int value)Deprecated.static RoutingSearchParameters.SchedulingSolvervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static RoutingSearchParameters.SchedulingSolvervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RoutingSearchParameters.SchedulingSolver[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCHEDULING_UNSET
public static final RoutingSearchParameters.SchedulingSolver SCHEDULING_UNSET
SCHEDULING_UNSET = 0;
-
SCHEDULING_GLOP
public static final RoutingSearchParameters.SchedulingSolver SCHEDULING_GLOP
SCHEDULING_GLOP = 1;
-
SCHEDULING_CP_SAT
public static final RoutingSearchParameters.SchedulingSolver SCHEDULING_CP_SAT
SCHEDULING_CP_SAT = 2;
-
UNRECOGNIZED
public static final RoutingSearchParameters.SchedulingSolver UNRECOGNIZED
-
-
Field Detail
-
SCHEDULING_UNSET_VALUE
public static final int SCHEDULING_UNSET_VALUE
SCHEDULING_UNSET = 0;- See Also:
- Constant Field Values
-
SCHEDULING_GLOP_VALUE
public static final int SCHEDULING_GLOP_VALUE
SCHEDULING_GLOP = 1;- See Also:
- Constant Field Values
-
SCHEDULING_CP_SAT_VALUE
public static final int SCHEDULING_CP_SAT_VALUE
SCHEDULING_CP_SAT = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RoutingSearchParameters.SchedulingSolver[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RoutingSearchParameters.SchedulingSolver c : RoutingSearchParameters.SchedulingSolver.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoutingSearchParameters.SchedulingSolver valueOf(java.lang.String name)
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:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static RoutingSearchParameters.SchedulingSolver valueOf(int value)
Deprecated.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static RoutingSearchParameters.SchedulingSolver forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<RoutingSearchParameters.SchedulingSolver> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static RoutingSearchParameters.SchedulingSolver 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-