Class LocalCheapestInsertionParameters

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ortools.constraintsolver.LocalCheapestInsertionParameters
All Implemented Interfaces:
LocalCheapestInsertionParametersOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class LocalCheapestInsertionParameters extends com.google.protobuf.GeneratedMessage implements LocalCheapestInsertionParametersOrBuilder
Parameters used to configure local cheapest insertion heuristics.
Protobuf type operations_research.LocalCheapestInsertionParameters
See Also:
  • Field Details

    • PICKUP_DELIVERY_STRATEGY_FIELD_NUMBER

      public static final int PICKUP_DELIVERY_STRATEGY_FIELD_NUMBER
      See Also:
    • INSERTION_SORTING_PROPERTIES_FIELD_NUMBER

      public static final int INSERTION_SORTING_PROPERTIES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getPickupDeliveryStrategyValue

      public int getPickupDeliveryStrategyValue()
      Choice of insertion strategy for pickup/delivery pairs, used in local
      cheapest insertion, both first solution heuristic and LNS.
      
      .operations_research.LocalCheapestInsertionParameters.PairInsertionStrategy pickup_delivery_strategy = 1;
      Specified by:
      getPickupDeliveryStrategyValue in interface LocalCheapestInsertionParametersOrBuilder
      Returns:
      The enum numeric value on the wire for pickupDeliveryStrategy.
    • getPickupDeliveryStrategy

      public LocalCheapestInsertionParameters.PairInsertionStrategy getPickupDeliveryStrategy()
      Choice of insertion strategy for pickup/delivery pairs, used in local
      cheapest insertion, both first solution heuristic and LNS.
      
      .operations_research.LocalCheapestInsertionParameters.PairInsertionStrategy pickup_delivery_strategy = 1;
      Specified by:
      getPickupDeliveryStrategy in interface LocalCheapestInsertionParametersOrBuilder
      Returns:
      The pickupDeliveryStrategy.
    • getInsertionSortingPropertiesList

      public List<LocalCheapestInsertionParameters.InsertionSortingProperty> getInsertionSortingPropertiesList()
      The properties used to sort insertion entries in the local cheapest
      insertion heuristic, in *decreasing* order of priority. The properties
      listed here are applied hierarchically, from highest to lowest priority.
      When no properties are provided
      (SORTING_PROPERTY_ALLOWED_VEHICLES, SORTING_PROPERTY_PENALTY)
      is used by default.
      
      repeated .operations_research.LocalCheapestInsertionParameters.InsertionSortingProperty insertion_sorting_properties = 2;
      Specified by:
      getInsertionSortingPropertiesList in interface LocalCheapestInsertionParametersOrBuilder
      Returns:
      A list containing the insertionSortingProperties.
    • getInsertionSortingPropertiesCount

      public int getInsertionSortingPropertiesCount()
      The properties used to sort insertion entries in the local cheapest
      insertion heuristic, in *decreasing* order of priority. The properties
      listed here are applied hierarchically, from highest to lowest priority.
      When no properties are provided
      (SORTING_PROPERTY_ALLOWED_VEHICLES, SORTING_PROPERTY_PENALTY)
      is used by default.
      
      repeated .operations_research.LocalCheapestInsertionParameters.InsertionSortingProperty insertion_sorting_properties = 2;
      Specified by:
      getInsertionSortingPropertiesCount in interface LocalCheapestInsertionParametersOrBuilder
      Returns:
      The count of insertionSortingProperties.
    • getInsertionSortingProperties

      public LocalCheapestInsertionParameters.InsertionSortingProperty getInsertionSortingProperties(int index)
      The properties used to sort insertion entries in the local cheapest
      insertion heuristic, in *decreasing* order of priority. The properties
      listed here are applied hierarchically, from highest to lowest priority.
      When no properties are provided
      (SORTING_PROPERTY_ALLOWED_VEHICLES, SORTING_PROPERTY_PENALTY)
      is used by default.
      
      repeated .operations_research.LocalCheapestInsertionParameters.InsertionSortingProperty insertion_sorting_properties = 2;
      Specified by:
      getInsertionSortingProperties in interface LocalCheapestInsertionParametersOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The insertionSortingProperties at the given index.
    • getInsertionSortingPropertiesValueList

      public List<Integer> getInsertionSortingPropertiesValueList()
      The properties used to sort insertion entries in the local cheapest
      insertion heuristic, in *decreasing* order of priority. The properties
      listed here are applied hierarchically, from highest to lowest priority.
      When no properties are provided
      (SORTING_PROPERTY_ALLOWED_VEHICLES, SORTING_PROPERTY_PENALTY)
      is used by default.
      
      repeated .operations_research.LocalCheapestInsertionParameters.InsertionSortingProperty insertion_sorting_properties = 2;
      Specified by:
      getInsertionSortingPropertiesValueList in interface LocalCheapestInsertionParametersOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for insertionSortingProperties.
    • getInsertionSortingPropertiesValue

      public int getInsertionSortingPropertiesValue(int index)
      The properties used to sort insertion entries in the local cheapest
      insertion heuristic, in *decreasing* order of priority. The properties
      listed here are applied hierarchically, from highest to lowest priority.
      When no properties are provided
      (SORTING_PROPERTY_ALLOWED_VEHICLES, SORTING_PROPERTY_PENALTY)
      is used by default.
      
      repeated .operations_research.LocalCheapestInsertionParameters.InsertionSortingProperty insertion_sorting_properties = 2;
      Specified by:
      getInsertionSortingPropertiesValue in interface LocalCheapestInsertionParametersOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of insertionSortingProperties at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static LocalCheapestInsertionParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LocalCheapestInsertionParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LocalCheapestInsertionParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LocalCheapestInsertionParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LocalCheapestInsertionParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LocalCheapestInsertionParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LocalCheapestInsertionParameters parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LocalCheapestInsertionParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LocalCheapestInsertionParameters parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LocalCheapestInsertionParameters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LocalCheapestInsertionParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LocalCheapestInsertionParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public LocalCheapestInsertionParameters.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static LocalCheapestInsertionParameters.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected LocalCheapestInsertionParameters.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static LocalCheapestInsertionParameters getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LocalCheapestInsertionParameters> parser()
    • getParserForType

      public com.google.protobuf.Parser<LocalCheapestInsertionParameters> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public LocalCheapestInsertionParameters getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder