![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Parameters used to configure local cheapest insertion heuristics.
Protobuf type operations_research.LocalCheapestInsertionParameters
Definition at line 818 of file LocalCheapestInsertionParameters.java.
Static Public Member Functions | |
| static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.addAllInsertionSortingProperties | ( | java.lang.Iterable<? extends com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty > | values | ) |
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;
| values | The insertionSortingProperties to add. |
Definition at line 1174 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.addAllInsertionSortingPropertiesValue | ( | java.lang.Iterable< java.lang.Integer > | values | ) |
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;
| values | The enum numeric values on the wire for insertionSortingProperties to add. |
Definition at line 1293 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.addInsertionSortingProperties | ( | com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty | value | ) |
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;
| value | The insertionSortingProperties to add. |
Definition at line 1153 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.addInsertionSortingPropertiesValue | ( | int | value | ) |
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;
| value | The enum numeric value on the wire for insertionSortingProperties to add. |
Definition at line 1273 of file LocalCheapestInsertionParameters.java.
| com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.build | ( | ) |
Definition at line 866 of file LocalCheapestInsertionParameters.java.
| com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.buildPartial | ( | ) |
Definition at line 875 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.clear | ( | ) |
Definition at line 846 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.clearInsertionSortingProperties | ( | ) |
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;
Definition at line 1196 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.clearPickupDeliveryStrategy | ( | ) |
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;
Definition at line 1052 of file LocalCheapestInsertionParameters.java.
| com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 861 of file LocalCheapestInsertionParameters.java.
|
static |
Definition at line 823 of file LocalCheapestInsertionParameters.java.
| com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.getDescriptorForType | ( | ) |
Definition at line 856 of file LocalCheapestInsertionParameters.java.
| com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.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;
| index | The index of the element to return. |
Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.
Definition at line 1113 of file LocalCheapestInsertionParameters.java.
| int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.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;
Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.
Definition at line 1096 of file LocalCheapestInsertionParameters.java.
| java.util.List< com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty > com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.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;
Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.
Definition at line 1079 of file LocalCheapestInsertionParameters.java.
| int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.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;
| index | The index of the value to return. |
Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.
Definition at line 1234 of file LocalCheapestInsertionParameters.java.
| java.util.List< java.lang.Integer > com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.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;
Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.
Definition at line 1216 of file LocalCheapestInsertionParameters.java.
| com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.PairInsertionStrategy com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.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;
Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.
Definition at line 1022 of file LocalCheapestInsertionParameters.java.
| int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.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;
Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.
Definition at line 993 of file LocalCheapestInsertionParameters.java.
|
protected |
Definition at line 829 of file LocalCheapestInsertionParameters.java.
| final boolean com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.isInitialized | ( | ) |
Definition at line 925 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.mergeFrom | ( | com.google.ortools.constraintsolver.LocalCheapestInsertionParameters | other | ) |
Definition at line 903 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
| com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 930 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 894 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.setInsertionSortingProperties | ( | int | index, |
| com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty | value ) |
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;
| index | The index to set the value at. |
| value | The insertionSortingProperties to set. |
Definition at line 1131 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.setInsertionSortingPropertiesValue | ( | int | index, |
| int | value ) |
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;
| index | The index to set the value at. |
| value | The enum numeric value on the wire for insertionSortingProperties to set. |
Definition at line 1252 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.setPickupDeliveryStrategy | ( | com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.PairInsertionStrategy | value | ) |
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;
| value | The pickupDeliveryStrategy to set. |
Definition at line 1036 of file LocalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder.setPickupDeliveryStrategyValue | ( | int | value | ) |
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;
| value | The enum numeric value on the wire for pickupDeliveryStrategy to set. |
Definition at line 1006 of file LocalCheapestInsertionParameters.java.