Enum RoutingSearchParameters.InsertionSortingProperty

java.lang.Object
java.lang.Enum<RoutingSearchParameters.InsertionSortingProperty>
com.google.ortools.constraintsolver.RoutingSearchParameters.InsertionSortingProperty
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<RoutingSearchParameters.InsertionSortingProperty>, java.lang.constant.Constable
Enclosing class:
RoutingSearchParameters

public static enum RoutingSearchParameters.InsertionSortingProperty extends 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 Details

    • SORTING_PROPERTY_UNSPECIFIED

      public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_UNSPECIFIED
       Invalid property.
       
      SORTING_PROPERTY_UNSPECIFIED = 0;
    • SORTING_PROPERTY_ALLOWED_VEHICLES

      public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_ALLOWED_VEHICLES
       Selects nodes with the least number of allowed vehicles.
       
      SORTING_PROPERTY_ALLOWED_VEHICLES = 1;
    • SORTING_PROPERTY_PENALTY

      public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_PENALTY
       Selects nodes with the highest penalty.
       
      SORTING_PROPERTY_PENALTY = 2;
    • SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO

      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;
    • SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS

      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;
    • SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS

      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;
    • SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS

      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;
    • SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE

      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;
    • SORTING_PROPERTY_RANDOM

      public static final RoutingSearchParameters.InsertionSortingProperty SORTING_PROPERTY_RANDOM
       Selects nodes in random order.
       This property cannot be used in conjunction with other properties.
       
      SORTING_PROPERTY_RANDOM = 8;
    • UNRECOGNIZED

      public static final RoutingSearchParameters.InsertionSortingProperty UNRECOGNIZED
  • Field Details

    • SORTING_PROPERTY_UNSPECIFIED_VALUE

      public static final int SORTING_PROPERTY_UNSPECIFIED_VALUE
       Invalid property.
       
      SORTING_PROPERTY_UNSPECIFIED = 0;
      See Also:
    • SORTING_PROPERTY_ALLOWED_VEHICLES_VALUE

      public static final int SORTING_PROPERTY_ALLOWED_VEHICLES_VALUE
       Selects nodes with the least number of allowed vehicles.
       
      SORTING_PROPERTY_ALLOWED_VEHICLES = 1;
      See Also:
    • SORTING_PROPERTY_PENALTY_VALUE

      public static final int SORTING_PROPERTY_PENALTY_VALUE
       Selects nodes with the highest penalty.
       
      SORTING_PROPERTY_PENALTY = 2;
      See Also:
    • SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO_VALUE

      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;
      See Also:
    • SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE

      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;
      See Also:
    • SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE

      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;
      See Also:
    • SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS_VALUE

      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;
      See Also:
    • SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE_VALUE

      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;
      See Also:
    • SORTING_PROPERTY_RANDOM_VALUE

      public static final int SORTING_PROPERTY_RANDOM_VALUE
       Selects nodes in random order.
       This property cannot be used in conjunction with other properties.
       
      SORTING_PROPERTY_RANDOM = 8;
      See Also:
  • Method Details

    • values

      Returns 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
    • valueOf

      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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static RoutingSearchParameters.InsertionSortingProperty 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.InsertionSortingProperty> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static RoutingSearchParameters.InsertionSortingProperty 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