public static enum RoutingSearchParameters.InsertionSortingProperty extends java.lang.Enum<RoutingSearchParameters.InsertionSortingProperty> implements com.google.protobuf.ProtocolMessageEnum
Properties used to select in which order nodes or node pairs are considered in insertion heuristics.Protobuf enum
operations_research.RoutingSearchParameters.InsertionSortingProperty
Enum Constant and Description |
---|
SORTING_PROPERTY_ALLOWED_VEHICLES
Selects nodes with the least number of allowed vehicles.
|
SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS
Selects nodes that are on average the farthest from vehicles.
|
SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE
Selects nodes that have a higher dimension usage on average, where the
usage is determined as the ratio of node demand over vehicle capacity.
|
SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS
Selects nodes that are on average the closest to vehicles.
|
SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS
Select nodes with the smallest distance to the closest vehicle.
|
SORTING_PROPERTY_PENALTY
Selects nodes with the highest penalty.
|
SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO
Selects nodes with the highest penalty / number of allowed vehicles
ratio.
|
SORTING_PROPERTY_UNSPECIFIED
Invalid property.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
SORTING_PROPERTY_ALLOWED_VEHICLES_VALUE
Selects nodes with the least number of allowed vehicles.
|
static int |
SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE
Selects nodes that are on average the farthest from vehicles.
|
static int |
SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE_VALUE
Selects nodes that have a higher dimension usage on average, where the
usage is determined as the ratio of node demand over vehicle capacity.
|
static int |
SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE
Selects nodes that are on average the closest to vehicles.
|
static int |
SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS_VALUE
Select nodes with the smallest distance to the closest vehicle.
|
static int |
SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO_VALUE
Selects nodes with the highest penalty / number of allowed vehicles
ratio.
|
static int |
SORTING_PROPERTY_PENALTY_VALUE
Selects nodes with the highest penalty.
|
static int |
SORTING_PROPERTY_UNSPECIFIED_VALUE
Invalid property.
|
Modifier and Type | Method and Description |
---|---|
static RoutingSearchParameters.InsertionSortingProperty |
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<RoutingSearchParameters.InsertionSortingProperty> |
internalGetValueMap() |
static RoutingSearchParameters.InsertionSortingProperty |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RoutingSearchParameters.InsertionSortingProperty |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RoutingSearchParameters.InsertionSortingProperty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RoutingSearchParameters.InsertionSortingProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_UNSPECIFIED
Invalid property.
SORTING_PROPERTY_UNSPECIFIED = 0;
public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_ALLOWED_VEHICLES
Selects nodes with the least number of allowed vehicles.
SORTING_PROPERTY_ALLOWED_VEHICLES = 1;
public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_PENALTY
Selects nodes with the highest penalty.
SORTING_PROPERTY_PENALTY = 2;
public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO
Selects nodes with the highest penalty / number of allowed vehicles ratio.
SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO = 3;
public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS
Selects nodes that are on average the farthest from vehicles.
SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS = 4;
public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS
Selects nodes that are on average the closest to vehicles.
SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS = 5;
public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS
Select nodes with the smallest distance to the closest vehicle.
SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS = 6;
public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE
Selects nodes that have a higher dimension usage on average, where the usage is determined as the ratio of node demand over vehicle capacity. Currently, this property only supports unary dimensions.
SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE = 7;
public static final RoutingSearchParameters.InsertionSortingProperty UNRECOGNIZED
public static final int SORTING_PROPERTY_UNSPECIFIED_VALUE
Invalid property.
SORTING_PROPERTY_UNSPECIFIED = 0;
public static final int SORTING_PROPERTY_ALLOWED_VEHICLES_VALUE
Selects nodes with the least number of allowed vehicles.
SORTING_PROPERTY_ALLOWED_VEHICLES = 1;
public static final int SORTING_PROPERTY_PENALTY_VALUE
Selects nodes with the highest penalty.
SORTING_PROPERTY_PENALTY = 2;
public static final int SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO_VALUE
Selects nodes with the highest penalty / number of allowed vehicles ratio.
SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO = 3;
public static final int SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE
Selects nodes that are on average the farthest from vehicles.
SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS = 4;
public static final int SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE
Selects nodes that are on average the closest to vehicles.
SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS = 5;
public static final int SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS_VALUE
Select nodes with the smallest distance to the closest vehicle.
SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS = 6;
public static final int SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE_VALUE
Selects nodes that have a higher dimension usage on average, where the usage is determined as the ratio of node demand over vehicle capacity. Currently, this property only supports unary dimensions.
SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE = 7;
public static RoutingSearchParameters.InsertionSortingProperty[] values()
for (RoutingSearchParameters.InsertionSortingProperty c : RoutingSearchParameters.InsertionSortingProperty.values()) System.out.println(c);
public static RoutingSearchParameters.InsertionSortingProperty 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 RoutingSearchParameters.InsertionSortingProperty valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static RoutingSearchParameters.InsertionSortingProperty forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RoutingSearchParameters.InsertionSortingProperty> 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 RoutingSearchParameters.InsertionSortingProperty valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.