Class RoutingSearchParameters.LocalSearchNeighborhoodOperators
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ortools.constraintsolver.RoutingSearchParameters.LocalSearchNeighborhoodOperators
- All Implemented Interfaces:
RoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
RoutingSearchParameters
public static final class RoutingSearchParameters.LocalSearchNeighborhoodOperators
extends com.google.protobuf.GeneratedMessage
implements RoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder
Local search neighborhood operators used to build a solutions neighborhood. Next ID: 39Protobuf type
operations_research.RoutingSearchParameters.LocalSearchNeighborhoodOperators- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLocal search neighborhood operators used to build a solutions neighborhood.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<RoutingSearchParameters.LocalSearchNeighborhoodOperators> intOperator which cross exchanges the starting chains of 2 paths, including exchanging the whole paths.Not implemented yet.intNot implemented yet.intOperator which cross exchanges the starting chains of 2 paths, including exchanging the whole paths.Operator which exchanges the positions of two nodes.Operator which exchanges two nodes and inserts an inactive node.intOperator which exchanges two nodes and inserts an inactive node.Operator which exchanges the positions of two pair of nodes.intOperator which exchanges the positions of two pair of nodes.Operator which exchanges the first and last nodes of two paths and makes a node active.intOperator which exchanges the first and last nodes of two paths and makes a node active.Operator which exchanges subtrips associated to two pairs of nodes, see use_relocate_subtrip for a definition of subtrips.intOperator which exchanges subtrips associated to two pairs of nodes, see use_relocate_subtrip for a definition of subtrips.intOperator which exchanges the positions of two nodes.Operator which makes an inactive node active and an active one inactive.intOperator which makes an inactive node active and an active one inactive.Operator which relaxes one entire path and all inactive nodes.intOperator which relaxes one entire path and all inactive nodes.The following operator makes a node and its heuristic_close_nodes_lns_num_nodes closest neighbors unperformed along with each of their corresponding performed pickup/delivery pairs, and then reinserts them using the GlobalCheapestInsertion heuristic.intThe following operator makes a node and its heuristic_close_nodes_lns_num_nodes closest neighbors unperformed along with each of their corresponding performed pickup/delivery pairs, and then reinserts them using the GlobalCheapestInsertion heuristic.This operator finds heuristic_expensive_chain_lns_num_arcs_to_consider most expensive arcs on a route, makes the nodes in between pairs of these expensive arcs unperformed, and reinserts them using the GlobalCheapestInsertion heuristic.intThis operator finds heuristic_expensive_chain_lns_num_arcs_to_consider most expensive arcs on a route, makes the nodes in between pairs of these expensive arcs unperformed, and reinserts them using the GlobalCheapestInsertion heuristic.--- LNS-like large neighborhood search operators using heuristics --- Operator which makes all nodes on a route unperformed, and reinserts them using the GlobalCheapestInsertion heuristic.int--- LNS-like large neighborhood search operators using heuristics --- Operator which makes all nodes on a route unperformed, and reinserts them using the GlobalCheapestInsertion heuristic.Operator which relaxes all inactive nodes and one sub-chain of six consecutive arcs.intOperator which relaxes all inactive nodes and one sub-chain of six consecutive arcs.Operator which moves a pair of pickup and delivery nodes after another pair.intOperator which moves a pair of pickup and delivery nodes after another pair.Lin-Kernighan operator.intLin-Kernighan operator.Same as above, but insertion positions for nodes are determined by the LocalCheapestInsertion heuristic.intSame as above, but insertion positions for nodes are determined by the LocalCheapestInsertion heuristic.Same as above but using LocalCheapestInsertion as a heuristic for insertion.intSame as above but using LocalCheapestInsertion as a heuristic for insertion.Same as above but using LocalCheapestInsertion as a heuristic.intSame as above but using LocalCheapestInsertion as a heuristic.--- Operators on inactive nodes --- Operator which inserts an inactive node into a path.int--- Operators on inactive nodes --- Operator which inserts an inactive node into a path.Operator which makes a "chain" of path nodes inactive.intOperator which makes a "chain" of path nodes inactive.Operator which makes path nodes inactive.intOperator which makes path nodes inactive.Operator which makes an inactive node active and an active pair of nodes inactive OR makes an inactive pair of nodes active and an active node inactive.intOperator which makes an inactive node active and an active pair of nodes inactive OR makes an inactive pair of nodes active and an active node inactive.Operator which moves sub-chains of a path of length 1, 2 and 3 to another position in the same path.intOperator which moves sub-chains of a path of length 1, 2 and 3 to another position in the same path.--- Large neighborhood search operators --- Operator which relaxes two sub-chains of three consecutive arcs each.int--- Large neighborhood search operators --- Operator which relaxes two sub-chains of three consecutive arcs each.--- Inter-route operators --- Operator which moves a single node to another position.Operator which relocates a node while making an inactive one active.intOperator which relocates a node while making an inactive one active.Operator which detects the relocate_expensive_chain_num_arcs_to_consider most expensive arcs on a path, and moves the chain resulting from cutting pairs of arcs among these to another position.intOperator which detects the relocate_expensive_chain_num_arcs_to_consider most expensive arcs on a path, and moves the chain resulting from cutting pairs of arcs among these to another position.Relocate neighborhood which moves chains of neighbors.intRelocate neighborhood which moves chains of neighbors.Operator which moves a pair of pickup and delivery nodes to another position where the first node of the pair must be before the second node on the same path.intOperator which moves a pair of pickup and delivery nodes to another position where the first node of the pair must be before the second node on the same path.The following operator relocates an entire route to an empty path and then tries to insert the unperformed nodes using the global cheapest insertion heuristic.intThe following operator relocates an entire route to an empty path and then tries to insert the unperformed nodes using the global cheapest insertion heuristic.Relocate neighborhood that moves subpaths all pickup and delivery pairs have both pickup and delivery inside the subpath or both outside the subpath.intRelocate neighborhood that moves subpaths all pickup and delivery pairs have both pickup and delivery inside the subpath or both outside the subpath.int--- Inter-route operators --- Operator which moves a single node to another position.Swaps active nodes from node alternatives in sequence.intSwaps active nodes from node alternatives in sequence.Similar to use_two_opt but returns the shortest path on the DAG of node alternatives of the reversed chain (cf. use_shortest_path_swap_active).intSimilar to use_two_opt but returns the shortest path on the DAG of node alternatives of the reversed chain (cf. use_shortest_path_swap_active).Operator which replaces an active node by an inactive one.Operator which replaces a chain of active nodes by an inactive one.intOperator which replaces a chain of active nodes by an inactive one.intOperator which replaces an active node by an inactive one.TSP-base LNS.intTSP-base LNS.Sliding TSP operator.intSliding TSP operator.--- Intra-route operators --- Operator which reverses a subchain of a path.int--- Intra-route operators --- Operator which reverses a subchain of a path.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RoutingSearchParameters.LocalSearchNeighborhoodOperators> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
USE_RELOCATE_FIELD_NUMBER
public static final int USE_RELOCATE_FIELD_NUMBER- See Also:
-
USE_RELOCATE_PAIR_FIELD_NUMBER
public static final int USE_RELOCATE_PAIR_FIELD_NUMBER- See Also:
-
USE_LIGHT_RELOCATE_PAIR_FIELD_NUMBER
public static final int USE_LIGHT_RELOCATE_PAIR_FIELD_NUMBER- See Also:
-
USE_RELOCATE_NEIGHBORS_FIELD_NUMBER
public static final int USE_RELOCATE_NEIGHBORS_FIELD_NUMBER- See Also:
-
USE_RELOCATE_SUBTRIP_FIELD_NUMBER
public static final int USE_RELOCATE_SUBTRIP_FIELD_NUMBER- See Also:
-
USE_EXCHANGE_FIELD_NUMBER
public static final int USE_EXCHANGE_FIELD_NUMBER- See Also:
-
USE_EXCHANGE_PAIR_FIELD_NUMBER
public static final int USE_EXCHANGE_PAIR_FIELD_NUMBER- See Also:
-
USE_EXCHANGE_SUBTRIP_FIELD_NUMBER
public static final int USE_EXCHANGE_SUBTRIP_FIELD_NUMBER- See Also:
-
USE_CROSS_FIELD_NUMBER
public static final int USE_CROSS_FIELD_NUMBER- See Also:
-
USE_CROSS_EXCHANGE_FIELD_NUMBER
public static final int USE_CROSS_EXCHANGE_FIELD_NUMBER- See Also:
-
USE_RELOCATE_EXPENSIVE_CHAIN_FIELD_NUMBER
public static final int USE_RELOCATE_EXPENSIVE_CHAIN_FIELD_NUMBER- See Also:
-
USE_TWO_OPT_FIELD_NUMBER
public static final int USE_TWO_OPT_FIELD_NUMBER- See Also:
-
USE_OR_OPT_FIELD_NUMBER
public static final int USE_OR_OPT_FIELD_NUMBER- See Also:
-
USE_LIN_KERNIGHAN_FIELD_NUMBER
public static final int USE_LIN_KERNIGHAN_FIELD_NUMBER- See Also:
-
USE_TSP_OPT_FIELD_NUMBER
public static final int USE_TSP_OPT_FIELD_NUMBER- See Also:
-
USE_MAKE_ACTIVE_FIELD_NUMBER
public static final int USE_MAKE_ACTIVE_FIELD_NUMBER- See Also:
-
USE_RELOCATE_AND_MAKE_ACTIVE_FIELD_NUMBER
public static final int USE_RELOCATE_AND_MAKE_ACTIVE_FIELD_NUMBER- See Also:
-
USE_EXCHANGE_AND_MAKE_ACTIVE_FIELD_NUMBER
public static final int USE_EXCHANGE_AND_MAKE_ACTIVE_FIELD_NUMBER- See Also:
-
USE_EXCHANGE_PATH_START_ENDS_AND_MAKE_ACTIVE_FIELD_NUMBER
public static final int USE_EXCHANGE_PATH_START_ENDS_AND_MAKE_ACTIVE_FIELD_NUMBER- See Also:
-
USE_MAKE_INACTIVE_FIELD_NUMBER
public static final int USE_MAKE_INACTIVE_FIELD_NUMBER- See Also:
-
USE_MAKE_CHAIN_INACTIVE_FIELD_NUMBER
public static final int USE_MAKE_CHAIN_INACTIVE_FIELD_NUMBER- See Also:
-
USE_SWAP_ACTIVE_FIELD_NUMBER
public static final int USE_SWAP_ACTIVE_FIELD_NUMBER- See Also:
-
USE_SWAP_ACTIVE_CHAIN_FIELD_NUMBER
public static final int USE_SWAP_ACTIVE_CHAIN_FIELD_NUMBER- See Also:
-
USE_EXTENDED_SWAP_ACTIVE_FIELD_NUMBER
public static final int USE_EXTENDED_SWAP_ACTIVE_FIELD_NUMBER- See Also:
-
USE_SHORTEST_PATH_SWAP_ACTIVE_FIELD_NUMBER
public static final int USE_SHORTEST_PATH_SWAP_ACTIVE_FIELD_NUMBER- See Also:
-
USE_SHORTEST_PATH_TWO_OPT_FIELD_NUMBER
public static final int USE_SHORTEST_PATH_TWO_OPT_FIELD_NUMBER- See Also:
-
USE_NODE_PAIR_SWAP_ACTIVE_FIELD_NUMBER
public static final int USE_NODE_PAIR_SWAP_ACTIVE_FIELD_NUMBER- See Also:
-
USE_PATH_LNS_FIELD_NUMBER
public static final int USE_PATH_LNS_FIELD_NUMBER- See Also:
-
USE_FULL_PATH_LNS_FIELD_NUMBER
public static final int USE_FULL_PATH_LNS_FIELD_NUMBER- See Also:
-
USE_TSP_LNS_FIELD_NUMBER
public static final int USE_TSP_LNS_FIELD_NUMBER- See Also:
-
USE_INACTIVE_LNS_FIELD_NUMBER
public static final int USE_INACTIVE_LNS_FIELD_NUMBER- See Also:
-
USE_GLOBAL_CHEAPEST_INSERTION_PATH_LNS_FIELD_NUMBER
public static final int USE_GLOBAL_CHEAPEST_INSERTION_PATH_LNS_FIELD_NUMBER- See Also:
-
USE_LOCAL_CHEAPEST_INSERTION_PATH_LNS_FIELD_NUMBER
public static final int USE_LOCAL_CHEAPEST_INSERTION_PATH_LNS_FIELD_NUMBER- See Also:
-
USE_RELOCATE_PATH_GLOBAL_CHEAPEST_INSERTION_INSERT_UNPERFORMED_FIELD_NUMBER
public static final int USE_RELOCATE_PATH_GLOBAL_CHEAPEST_INSERTION_INSERT_UNPERFORMED_FIELD_NUMBER- See Also:
-
USE_GLOBAL_CHEAPEST_INSERTION_EXPENSIVE_CHAIN_LNS_FIELD_NUMBER
public static final int USE_GLOBAL_CHEAPEST_INSERTION_EXPENSIVE_CHAIN_LNS_FIELD_NUMBER- See Also:
-
USE_LOCAL_CHEAPEST_INSERTION_EXPENSIVE_CHAIN_LNS_FIELD_NUMBER
public static final int USE_LOCAL_CHEAPEST_INSERTION_EXPENSIVE_CHAIN_LNS_FIELD_NUMBER- See Also:
-
USE_GLOBAL_CHEAPEST_INSERTION_CLOSE_NODES_LNS_FIELD_NUMBER
public static final int USE_GLOBAL_CHEAPEST_INSERTION_CLOSE_NODES_LNS_FIELD_NUMBER- See Also:
-
USE_LOCAL_CHEAPEST_INSERTION_CLOSE_NODES_LNS_FIELD_NUMBER
public static final int USE_LOCAL_CHEAPEST_INSERTION_CLOSE_NODES_LNS_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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getUseRelocateValue
public int getUseRelocateValue()--- Inter-route operators --- Operator which moves a single node to another position. Possible neighbors for the path 1 -> 2 -> 3 -> 4 -> 5 (where (1, 5) are first and last nodes of the path and can therefore not be moved): 1 -> 3 -> [2] -> 4 -> 5 1 -> 3 -> 4 -> [2] -> 5 1 -> 2 -> 4 -> [3] -> 5 1 -> [4] -> 2 -> 3 -> 5
.operations_research.OptionalBoolean use_relocate = 1;- Specified by:
getUseRelocateValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useRelocate.
-
getUseRelocate
--- Inter-route operators --- Operator which moves a single node to another position. Possible neighbors for the path 1 -> 2 -> 3 -> 4 -> 5 (where (1, 5) are first and last nodes of the path and can therefore not be moved): 1 -> 3 -> [2] -> 4 -> 5 1 -> 3 -> 4 -> [2] -> 5 1 -> 2 -> 4 -> [3] -> 5 1 -> [4] -> 2 -> 3 -> 5
.operations_research.OptionalBoolean use_relocate = 1;- Specified by:
getUseRelocatein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useRelocate.
-
getUseRelocatePairValue
public int getUseRelocatePairValue()Operator which moves a pair of pickup and delivery nodes to another position where the first node of the pair must be before the second node on the same path. Compared to the light_relocate_pair operator, tries all possible positions of insertion of a pair (not only after another pair). Possible neighbors for the path 1 -> A -> B -> 2 -> 3 (where (1, 3) are first and last nodes of the path and can therefore not be moved, and (A, B) is a pair of nodes): 1 -> [A] -> 2 -> [B] -> 3 1 -> 2 -> [A] -> [B] -> 3
.operations_research.OptionalBoolean use_relocate_pair = 2;- Specified by:
getUseRelocatePairValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useRelocatePair.
-
getUseRelocatePair
Operator which moves a pair of pickup and delivery nodes to another position where the first node of the pair must be before the second node on the same path. Compared to the light_relocate_pair operator, tries all possible positions of insertion of a pair (not only after another pair). Possible neighbors for the path 1 -> A -> B -> 2 -> 3 (where (1, 3) are first and last nodes of the path and can therefore not be moved, and (A, B) is a pair of nodes): 1 -> [A] -> 2 -> [B] -> 3 1 -> 2 -> [A] -> [B] -> 3
.operations_research.OptionalBoolean use_relocate_pair = 2;- Specified by:
getUseRelocatePairin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useRelocatePair.
-
getUseLightRelocatePairValue
public int getUseLightRelocatePairValue()Operator which moves a pair of pickup and delivery nodes after another pair. Possible neighbors for paths 1 -> A -> B -> 2, 3 -> C -> D -> 4 (where (1, 2) and (3, 4) are first and last nodes of paths and can therefore not be moved, and (A, B) and (C, D) are pair of nodes): 1 -> 2, 3 -> C -> [A] -> D -> [B] -> 4 1 -> A -> [C] -> B -> [D] -> 2, 3 -> 4
.operations_research.OptionalBoolean use_light_relocate_pair = 24;- Specified by:
getUseLightRelocatePairValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useLightRelocatePair.
-
getUseLightRelocatePair
Operator which moves a pair of pickup and delivery nodes after another pair. Possible neighbors for paths 1 -> A -> B -> 2, 3 -> C -> D -> 4 (where (1, 2) and (3, 4) are first and last nodes of paths and can therefore not be moved, and (A, B) and (C, D) are pair of nodes): 1 -> 2, 3 -> C -> [A] -> D -> [B] -> 4 1 -> A -> [C] -> B -> [D] -> 2, 3 -> 4
.operations_research.OptionalBoolean use_light_relocate_pair = 24;- Specified by:
getUseLightRelocatePairin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useLightRelocatePair.
-
getUseRelocateNeighborsValue
public int getUseRelocateNeighborsValue()Relocate neighborhood which moves chains of neighbors. The operator starts by relocating a node n after a node m, then continues moving nodes which were after n as long as the "cost" added is less than the "cost" of the arc (m, n). If the new chain doesn't respect the domain of next variables, it will try reordering the nodes until it finds a valid path. Possible neighbors for path 1 -> A -> B -> C -> D -> E -> 2 (where (1, 2) are first and last nodes of the path and can therefore not be moved, A must be performed before B, and A, D and E are located at the same place): 1 -> A -> C -> [B] -> D -> E -> 2 1 -> A -> C -> D -> [B] -> E -> 2 1 -> A -> C -> D -> E -> [B] -> 2 1 -> A -> B -> D -> [C] -> E -> 2 1 -> A -> B -> D -> E -> [C] -> 2 1 -> A -> [D] -> [E] -> B -> C -> 2 1 -> A -> B -> [D] -> [E] -> C -> 2 1 -> A -> [E] -> B -> C -> D -> 2 1 -> A -> B -> [E] -> C -> D -> 2 1 -> A -> B -> C -> [E] -> D -> 2 This operator is extremely useful to move chains of nodes which are located at the same place (for instance nodes part of a same stop).
.operations_research.OptionalBoolean use_relocate_neighbors = 3;- Specified by:
getUseRelocateNeighborsValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useRelocateNeighbors.
-
getUseRelocateNeighbors
Relocate neighborhood which moves chains of neighbors. The operator starts by relocating a node n after a node m, then continues moving nodes which were after n as long as the "cost" added is less than the "cost" of the arc (m, n). If the new chain doesn't respect the domain of next variables, it will try reordering the nodes until it finds a valid path. Possible neighbors for path 1 -> A -> B -> C -> D -> E -> 2 (where (1, 2) are first and last nodes of the path and can therefore not be moved, A must be performed before B, and A, D and E are located at the same place): 1 -> A -> C -> [B] -> D -> E -> 2 1 -> A -> C -> D -> [B] -> E -> 2 1 -> A -> C -> D -> E -> [B] -> 2 1 -> A -> B -> D -> [C] -> E -> 2 1 -> A -> B -> D -> E -> [C] -> 2 1 -> A -> [D] -> [E] -> B -> C -> 2 1 -> A -> B -> [D] -> [E] -> C -> 2 1 -> A -> [E] -> B -> C -> D -> 2 1 -> A -> B -> [E] -> C -> D -> 2 1 -> A -> B -> C -> [E] -> D -> 2 This operator is extremely useful to move chains of nodes which are located at the same place (for instance nodes part of a same stop).
.operations_research.OptionalBoolean use_relocate_neighbors = 3;- Specified by:
getUseRelocateNeighborsin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useRelocateNeighbors.
-
getUseRelocateSubtripValue
public int getUseRelocateSubtripValue()Relocate neighborhood that moves subpaths all pickup and delivery pairs have both pickup and delivery inside the subpath or both outside the subpath. For instance, for given paths: 0 -> A -> B -> A' -> B' -> 5 -> 6 -> 8 7 -> 9 Pairs (A,A') and (B,B') are interleaved, so the expected neighbors are: 0 -> 5 -> A -> B -> A' -> B' -> 6 -> 8 7 -> 9 0 -> 5 -> 6 -> A -> B -> A' -> B' -> 8 7 -> 9 0 -> 5 -> 6 -> 8 7 -> A -> B -> A' -> B' -> 9
.operations_research.OptionalBoolean use_relocate_subtrip = 25;- Specified by:
getUseRelocateSubtripValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useRelocateSubtrip.
-
getUseRelocateSubtrip
Relocate neighborhood that moves subpaths all pickup and delivery pairs have both pickup and delivery inside the subpath or both outside the subpath. For instance, for given paths: 0 -> A -> B -> A' -> B' -> 5 -> 6 -> 8 7 -> 9 Pairs (A,A') and (B,B') are interleaved, so the expected neighbors are: 0 -> 5 -> A -> B -> A' -> B' -> 6 -> 8 7 -> 9 0 -> 5 -> 6 -> A -> B -> A' -> B' -> 8 7 -> 9 0 -> 5 -> 6 -> 8 7 -> A -> B -> A' -> B' -> 9
.operations_research.OptionalBoolean use_relocate_subtrip = 25;- Specified by:
getUseRelocateSubtripin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useRelocateSubtrip.
-
getUseExchangeValue
public int getUseExchangeValue()Operator which exchanges the positions of two nodes. Possible neighbors for the path 1 -> 2 -> 3 -> 4 -> 5 (where (1, 5) are first and last nodes of the path and can therefore not be moved): 1 -> [3] -> [2] -> 4 -> 5 1 -> [4] -> 3 -> [2] -> 5 1 -> 2 -> [4] -> [3] -> 5
.operations_research.OptionalBoolean use_exchange = 4;- Specified by:
getUseExchangeValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useExchange.
-
getUseExchange
Operator which exchanges the positions of two nodes. Possible neighbors for the path 1 -> 2 -> 3 -> 4 -> 5 (where (1, 5) are first and last nodes of the path and can therefore not be moved): 1 -> [3] -> [2] -> 4 -> 5 1 -> [4] -> 3 -> [2] -> 5 1 -> 2 -> [4] -> [3] -> 5
.operations_research.OptionalBoolean use_exchange = 4;- Specified by:
getUseExchangein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useExchange.
-
getUseExchangePairValue
public int getUseExchangePairValue()Operator which exchanges the positions of two pair of nodes. Pairs correspond to the pickup and delivery pairs defined in the routing model. Possible neighbor for the paths 1 -> A -> B -> 2 -> 3 and 4 -> C -> D -> 5 (where (1, 3) and (4, 5) are first and last nodes of the paths and can therefore not be moved, and (A, B) and (C,D) are pairs of nodes): 1 -> [C] -> [D] -> 2 -> 3, 4 -> [A] -> [B] -> 5
.operations_research.OptionalBoolean use_exchange_pair = 22;- Specified by:
getUseExchangePairValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useExchangePair.
-
getUseExchangePair
Operator which exchanges the positions of two pair of nodes. Pairs correspond to the pickup and delivery pairs defined in the routing model. Possible neighbor for the paths 1 -> A -> B -> 2 -> 3 and 4 -> C -> D -> 5 (where (1, 3) and (4, 5) are first and last nodes of the paths and can therefore not be moved, and (A, B) and (C,D) are pairs of nodes): 1 -> [C] -> [D] -> 2 -> 3, 4 -> [A] -> [B] -> 5
.operations_research.OptionalBoolean use_exchange_pair = 22;- Specified by:
getUseExchangePairin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useExchangePair.
-
getUseExchangeSubtripValue
public int getUseExchangeSubtripValue()Operator which exchanges subtrips associated to two pairs of nodes, see use_relocate_subtrip for a definition of subtrips.
.operations_research.OptionalBoolean use_exchange_subtrip = 26;- Specified by:
getUseExchangeSubtripValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useExchangeSubtrip.
-
getUseExchangeSubtrip
Operator which exchanges subtrips associated to two pairs of nodes, see use_relocate_subtrip for a definition of subtrips.
.operations_research.OptionalBoolean use_exchange_subtrip = 26;- Specified by:
getUseExchangeSubtripin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useExchangeSubtrip.
-
getUseCrossValue
public int getUseCrossValue()Operator which cross exchanges the starting chains of 2 paths, including exchanging the whole paths. First and last nodes are not moved. Possible neighbors for the paths 1 -> 2 -> 3 -> 4 -> 5 and 6 -> 7 -> 8 (where (1, 5) and (6, 8) are first and last nodes of the paths and can therefore not be moved): 1 -> [7] -> 3 -> 4 -> 5 6 -> [2] -> 8 1 -> [7] -> 4 -> 5 6 -> [2 -> 3] -> 8 1 -> [7] -> 5 6 -> [2 -> 3 -> 4] -> 8
.operations_research.OptionalBoolean use_cross = 5;- Specified by:
getUseCrossValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useCross.
-
getUseCross
Operator which cross exchanges the starting chains of 2 paths, including exchanging the whole paths. First and last nodes are not moved. Possible neighbors for the paths 1 -> 2 -> 3 -> 4 -> 5 and 6 -> 7 -> 8 (where (1, 5) and (6, 8) are first and last nodes of the paths and can therefore not be moved): 1 -> [7] -> 3 -> 4 -> 5 6 -> [2] -> 8 1 -> [7] -> 4 -> 5 6 -> [2 -> 3] -> 8 1 -> [7] -> 5 6 -> [2 -> 3 -> 4] -> 8
.operations_research.OptionalBoolean use_cross = 5;- Specified by:
getUseCrossin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useCross.
-
getUseCrossExchangeValue
public int getUseCrossExchangeValue()Not implemented yet. TODO(b/68128619): Implement.
.operations_research.OptionalBoolean use_cross_exchange = 6;- Specified by:
getUseCrossExchangeValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useCrossExchange.
-
getUseCrossExchange
Not implemented yet. TODO(b/68128619): Implement.
.operations_research.OptionalBoolean use_cross_exchange = 6;- Specified by:
getUseCrossExchangein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useCrossExchange.
-
getUseRelocateExpensiveChainValue
public int getUseRelocateExpensiveChainValue()Operator which detects the relocate_expensive_chain_num_arcs_to_consider most expensive arcs on a path, and moves the chain resulting from cutting pairs of arcs among these to another position. Possible neighbors for paths 1 -> 2 (empty) and 3 -> A ------> B --> C -----> D -> 4 (where A -> B and C -> D are the 2 most expensive arcs, and the chain resulting from breaking them is B -> C): 1 -> [B -> C] -> 2 3 -> A -> D -> 4 1 -> 2 3 -> [B -> C] -> A -> D -> 4 1 -> 2 3 -> A -> D -> [B -> C] -> 4
.operations_research.OptionalBoolean use_relocate_expensive_chain = 23;- Specified by:
getUseRelocateExpensiveChainValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useRelocateExpensiveChain.
-
getUseRelocateExpensiveChain
Operator which detects the relocate_expensive_chain_num_arcs_to_consider most expensive arcs on a path, and moves the chain resulting from cutting pairs of arcs among these to another position. Possible neighbors for paths 1 -> 2 (empty) and 3 -> A ------> B --> C -----> D -> 4 (where A -> B and C -> D are the 2 most expensive arcs, and the chain resulting from breaking them is B -> C): 1 -> [B -> C] -> 2 3 -> A -> D -> 4 1 -> 2 3 -> [B -> C] -> A -> D -> 4 1 -> 2 3 -> A -> D -> [B -> C] -> 4
.operations_research.OptionalBoolean use_relocate_expensive_chain = 23;- Specified by:
getUseRelocateExpensiveChainin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useRelocateExpensiveChain.
-
getUseTwoOptValue
public int getUseTwoOptValue()--- Intra-route operators --- Operator which reverses a subchain of a path. It is called TwoOpt because it breaks two arcs on the path; resulting paths are called two-optimal. Possible neighbors for the path 1 -> 2 -> 3 -> 4 -> 5 (where (1, 5) are first and last nodes of the path and can therefore not be moved): 1 -> [3 -> 2] -> 4 -> 5 1 -> [4 -> 3 -> 2] -> 5 1 -> 2 -> [4 -> 3] -> 5
.operations_research.OptionalBoolean use_two_opt = 7;- Specified by:
getUseTwoOptValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useTwoOpt.
-
getUseTwoOpt
--- Intra-route operators --- Operator which reverses a subchain of a path. It is called TwoOpt because it breaks two arcs on the path; resulting paths are called two-optimal. Possible neighbors for the path 1 -> 2 -> 3 -> 4 -> 5 (where (1, 5) are first and last nodes of the path and can therefore not be moved): 1 -> [3 -> 2] -> 4 -> 5 1 -> [4 -> 3 -> 2] -> 5 1 -> 2 -> [4 -> 3] -> 5
.operations_research.OptionalBoolean use_two_opt = 7;- Specified by:
getUseTwoOptin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useTwoOpt.
-
getUseOrOptValue
public int getUseOrOptValue()Operator which moves sub-chains of a path of length 1, 2 and 3 to another position in the same path. When the length of the sub-chain is 1, the operator simply moves a node to another position. Possible neighbors for the path 1 -> 2 -> 3 -> 4 -> 5, for a sub-chain length of 2 (where (1, 5) are first and last nodes of the path and can therefore not be moved): 1 -> 4 -> [2 -> 3] -> 5 1 -> [3 -> 4] -> 2 -> 5 The OR_OPT operator is a limited version of 3-Opt (breaks 3 arcs on a path).
.operations_research.OptionalBoolean use_or_opt = 8;- Specified by:
getUseOrOptValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useOrOpt.
-
getUseOrOpt
Operator which moves sub-chains of a path of length 1, 2 and 3 to another position in the same path. When the length of the sub-chain is 1, the operator simply moves a node to another position. Possible neighbors for the path 1 -> 2 -> 3 -> 4 -> 5, for a sub-chain length of 2 (where (1, 5) are first and last nodes of the path and can therefore not be moved): 1 -> 4 -> [2 -> 3] -> 5 1 -> [3 -> 4] -> 2 -> 5 The OR_OPT operator is a limited version of 3-Opt (breaks 3 arcs on a path).
.operations_research.OptionalBoolean use_or_opt = 8;- Specified by:
getUseOrOptin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useOrOpt.
-
getUseLinKernighanValue
public int getUseLinKernighanValue()Lin-Kernighan operator. While the accumulated local gain is positive, performs a 2-OPT or a 3-OPT move followed by a series of 2-OPT moves. Returns a neighbor for which the global gain is positive.
.operations_research.OptionalBoolean use_lin_kernighan = 9;- Specified by:
getUseLinKernighanValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useLinKernighan.
-
getUseLinKernighan
Lin-Kernighan operator. While the accumulated local gain is positive, performs a 2-OPT or a 3-OPT move followed by a series of 2-OPT moves. Returns a neighbor for which the global gain is positive.
.operations_research.OptionalBoolean use_lin_kernighan = 9;- Specified by:
getUseLinKernighanin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useLinKernighan.
-
getUseTspOptValue
public int getUseTspOptValue()Sliding TSP operator. Uses an exact dynamic programming algorithm to solve the TSP corresponding to path sub-chains. For a subchain 1 -> 2 -> 3 -> 4 -> 5 -> 6, solves the TSP on nodes A, 2, 3, 4, 5, where A is a merger of nodes 1 and 6 such that cost(A,i) = cost(1,i) and cost(i,A) = cost(i,6).
.operations_research.OptionalBoolean use_tsp_opt = 10;- Specified by:
getUseTspOptValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useTspOpt.
-
getUseTspOpt
Sliding TSP operator. Uses an exact dynamic programming algorithm to solve the TSP corresponding to path sub-chains. For a subchain 1 -> 2 -> 3 -> 4 -> 5 -> 6, solves the TSP on nodes A, 2, 3, 4, 5, where A is a merger of nodes 1 and 6 such that cost(A,i) = cost(1,i) and cost(i,A) = cost(i,6).
.operations_research.OptionalBoolean use_tsp_opt = 10;- Specified by:
getUseTspOptin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useTspOpt.
-
getUseMakeActiveValue
public int getUseMakeActiveValue()--- Operators on inactive nodes --- Operator which inserts an inactive node into a path. Possible neighbors for the path 1 -> 2 -> 3 -> 4 with 5 inactive (where 1 and 4 are first and last nodes of the path) are: 1 -> [5] -> 2 -> 3 -> 4 1 -> 2 -> [5] -> 3 -> 4 1 -> 2 -> 3 -> [5] -> 4
.operations_research.OptionalBoolean use_make_active = 11;- Specified by:
getUseMakeActiveValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useMakeActive.
-
getUseMakeActive
--- Operators on inactive nodes --- Operator which inserts an inactive node into a path. Possible neighbors for the path 1 -> 2 -> 3 -> 4 with 5 inactive (where 1 and 4 are first and last nodes of the path) are: 1 -> [5] -> 2 -> 3 -> 4 1 -> 2 -> [5] -> 3 -> 4 1 -> 2 -> 3 -> [5] -> 4
.operations_research.OptionalBoolean use_make_active = 11;- Specified by:
getUseMakeActivein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useMakeActive.
-
getUseRelocateAndMakeActiveValue
public int getUseRelocateAndMakeActiveValue()Operator which relocates a node while making an inactive one active. As of 3/2017, the operator is limited to two kinds of moves: - Relocating a node and replacing it by an inactive node. Possible neighbor for path 1 -> 5, 2 -> 3 -> 6 and 4 inactive (where 1,2 and 5,6 are first and last nodes of paths) is: 1 -> 3 -> 5, 2 -> 4 -> 6. - Relocating a node and inserting an inactive node next to it. Possible neighbor for path 1 -> 5, 2 -> 3 -> 6 and 4 inactive (where 1,2 and 5,6 are first and last nodes of paths) is: 1 -> 4 -> 3 -> 5, 2 -> 6.
.operations_research.OptionalBoolean use_relocate_and_make_active = 21;- Specified by:
getUseRelocateAndMakeActiveValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useRelocateAndMakeActive.
-
getUseRelocateAndMakeActive
Operator which relocates a node while making an inactive one active. As of 3/2017, the operator is limited to two kinds of moves: - Relocating a node and replacing it by an inactive node. Possible neighbor for path 1 -> 5, 2 -> 3 -> 6 and 4 inactive (where 1,2 and 5,6 are first and last nodes of paths) is: 1 -> 3 -> 5, 2 -> 4 -> 6. - Relocating a node and inserting an inactive node next to it. Possible neighbor for path 1 -> 5, 2 -> 3 -> 6 and 4 inactive (where 1,2 and 5,6 are first and last nodes of paths) is: 1 -> 4 -> 3 -> 5, 2 -> 6.
.operations_research.OptionalBoolean use_relocate_and_make_active = 21;- Specified by:
getUseRelocateAndMakeActivein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useRelocateAndMakeActive.
-
getUseExchangeAndMakeActiveValue
public int getUseExchangeAndMakeActiveValue()Operator which exchanges two nodes and inserts an inactive node. Possible neighbors for paths 0 -> 2 -> 4, 1 -> 3 -> 6 and 5 inactive are: 0 -> 3 -> 4, 1 -> 5 -> 2 -> 6 0 -> 3 -> 5 -> 4, 1 -> 2 -> 6 0 -> 5 -> 3 -> 4, 1 -> 2 -> 6 0 -> 3 -> 4, 1 -> 2 -> 5 -> 6
.operations_research.OptionalBoolean use_exchange_and_make_active = 37;- Specified by:
getUseExchangeAndMakeActiveValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useExchangeAndMakeActive.
-
getUseExchangeAndMakeActive
Operator which exchanges two nodes and inserts an inactive node. Possible neighbors for paths 0 -> 2 -> 4, 1 -> 3 -> 6 and 5 inactive are: 0 -> 3 -> 4, 1 -> 5 -> 2 -> 6 0 -> 3 -> 5 -> 4, 1 -> 2 -> 6 0 -> 5 -> 3 -> 4, 1 -> 2 -> 6 0 -> 3 -> 4, 1 -> 2 -> 5 -> 6
.operations_research.OptionalBoolean use_exchange_and_make_active = 37;- Specified by:
getUseExchangeAndMakeActivein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useExchangeAndMakeActive.
-
getUseExchangePathStartEndsAndMakeActiveValue
public int getUseExchangePathStartEndsAndMakeActiveValue()Operator which exchanges the first and last nodes of two paths and makes a node active. Possible neighbors for paths 0 -> 1 -> 2 -> 7, 6 -> 3 -> 4 -> 8 and 5 inactive are: 0 -> 5 -> 3 -> 4 -> 7, 6 -> 1 -> 2 -> 8 0 -> 3 -> 4 -> 7, 6 -> 1 -> 5 -> 2 -> 8 0 -> 3 -> 4 -> 7, 6 -> 1 -> 2 -> 5 -> 8 0 -> 3 -> 5 -> 4 -> 7, 6 -> 1 -> 2 -> 8 0 -> 3 -> 4 -> 5 -> 7, 6 -> 1 -> 2 -> 8
.operations_research.OptionalBoolean use_exchange_path_start_ends_and_make_active = 38;- Specified by:
getUseExchangePathStartEndsAndMakeActiveValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useExchangePathStartEndsAndMakeActive.
-
getUseExchangePathStartEndsAndMakeActive
Operator which exchanges the first and last nodes of two paths and makes a node active. Possible neighbors for paths 0 -> 1 -> 2 -> 7, 6 -> 3 -> 4 -> 8 and 5 inactive are: 0 -> 5 -> 3 -> 4 -> 7, 6 -> 1 -> 2 -> 8 0 -> 3 -> 4 -> 7, 6 -> 1 -> 5 -> 2 -> 8 0 -> 3 -> 4 -> 7, 6 -> 1 -> 2 -> 5 -> 8 0 -> 3 -> 5 -> 4 -> 7, 6 -> 1 -> 2 -> 8 0 -> 3 -> 4 -> 5 -> 7, 6 -> 1 -> 2 -> 8
.operations_research.OptionalBoolean use_exchange_path_start_ends_and_make_active = 38;- Specified by:
getUseExchangePathStartEndsAndMakeActivein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useExchangePathStartEndsAndMakeActive.
-
getUseMakeInactiveValue
public int getUseMakeInactiveValue()Operator which makes path nodes inactive. Possible neighbors for the path 1 -> 2 -> 3 -> 4 (where 1 and 4 are first and last nodes of the path) are: 1 -> 3 -> 4 with 2 inactive 1 -> 2 -> 4 with 3 inactive
.operations_research.OptionalBoolean use_make_inactive = 12;- Specified by:
getUseMakeInactiveValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useMakeInactive.
-
getUseMakeInactive
Operator which makes path nodes inactive. Possible neighbors for the path 1 -> 2 -> 3 -> 4 (where 1 and 4 are first and last nodes of the path) are: 1 -> 3 -> 4 with 2 inactive 1 -> 2 -> 4 with 3 inactive
.operations_research.OptionalBoolean use_make_inactive = 12;- Specified by:
getUseMakeInactivein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useMakeInactive.
-
getUseMakeChainInactiveValue
public int getUseMakeChainInactiveValue()Operator which makes a "chain" of path nodes inactive. Possible neighbors for the path 1 -> 2 -> 3 -> 4 (where 1 and 4 are first and last nodes of the path) are: 1 -> 3 -> 4 with 2 inactive 1 -> 2 -> 4 with 3 inactive 1 -> 4 with 2 and 3 inactive
.operations_research.OptionalBoolean use_make_chain_inactive = 13;- Specified by:
getUseMakeChainInactiveValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useMakeChainInactive.
-
getUseMakeChainInactive
Operator which makes a "chain" of path nodes inactive. Possible neighbors for the path 1 -> 2 -> 3 -> 4 (where 1 and 4 are first and last nodes of the path) are: 1 -> 3 -> 4 with 2 inactive 1 -> 2 -> 4 with 3 inactive 1 -> 4 with 2 and 3 inactive
.operations_research.OptionalBoolean use_make_chain_inactive = 13;- Specified by:
getUseMakeChainInactivein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useMakeChainInactive.
-
getUseSwapActiveValue
public int getUseSwapActiveValue()Operator which replaces an active node by an inactive one. Possible neighbors for the path 1 -> 2 -> 3 -> 4 with 5 inactive (where 1 and 4 are first and last nodes of the path) are: 1 -> [5] -> 3 -> 4 with 2 inactive 1 -> 2 -> [5] -> 4 with 3 inactive
.operations_research.OptionalBoolean use_swap_active = 14;- Specified by:
getUseSwapActiveValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useSwapActive.
-
getUseSwapActive
Operator which replaces an active node by an inactive one. Possible neighbors for the path 1 -> 2 -> 3 -> 4 with 5 inactive (where 1 and 4 are first and last nodes of the path) are: 1 -> [5] -> 3 -> 4 with 2 inactive 1 -> 2 -> [5] -> 4 with 3 inactive
.operations_research.OptionalBoolean use_swap_active = 14;- Specified by:
getUseSwapActivein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useSwapActive.
-
getUseSwapActiveChainValue
public int getUseSwapActiveChainValue()Operator which replaces a chain of active nodes by an inactive one. Possible neighbors for the path 1 -> 2 -> 3 -> 4 with 5 inactive (where 1 and 4 are first and last nodes of the path) are: 1 -> [5] -> 3 -> 4 with 2 inactive 1 -> 2 -> [5] -> 4 with 3 inactive 1 -> [5] -> 4 with 2 and 3 inactive
.operations_research.OptionalBoolean use_swap_active_chain = 35;- Specified by:
getUseSwapActiveChainValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useSwapActiveChain.
-
getUseSwapActiveChain
Operator which replaces a chain of active nodes by an inactive one. Possible neighbors for the path 1 -> 2 -> 3 -> 4 with 5 inactive (where 1 and 4 are first and last nodes of the path) are: 1 -> [5] -> 3 -> 4 with 2 inactive 1 -> 2 -> [5] -> 4 with 3 inactive 1 -> [5] -> 4 with 2 and 3 inactive
.operations_research.OptionalBoolean use_swap_active_chain = 35;- Specified by:
getUseSwapActiveChainin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useSwapActiveChain.
-
getUseExtendedSwapActiveValue
public int getUseExtendedSwapActiveValue()Operator which makes an inactive node active and an active one inactive. It is similar to SwapActiveOperator excepts that it tries to insert the inactive node in all possible positions instead of just the position of the node made inactive. Possible neighbors for the path 1 -> 2 -> 3 -> 4 with 5 inactive (where 1 and 4 are first and last nodes of the path) are: 1 -> [5] -> 3 -> 4 with 2 inactive 1 -> 3 -> [5] -> 4 with 2 inactive 1 -> [5] -> 2 -> 4 with 3 inactive 1 -> 2 -> [5] -> 4 with 3 inactive
.operations_research.OptionalBoolean use_extended_swap_active = 15;- Specified by:
getUseExtendedSwapActiveValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useExtendedSwapActive.
-
getUseExtendedSwapActive
Operator which makes an inactive node active and an active one inactive. It is similar to SwapActiveOperator excepts that it tries to insert the inactive node in all possible positions instead of just the position of the node made inactive. Possible neighbors for the path 1 -> 2 -> 3 -> 4 with 5 inactive (where 1 and 4 are first and last nodes of the path) are: 1 -> [5] -> 3 -> 4 with 2 inactive 1 -> 3 -> [5] -> 4 with 2 inactive 1 -> [5] -> 2 -> 4 with 3 inactive 1 -> 2 -> [5] -> 4 with 3 inactive
.operations_research.OptionalBoolean use_extended_swap_active = 15;- Specified by:
getUseExtendedSwapActivein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useExtendedSwapActive.
-
getUseShortestPathSwapActiveValue
public int getUseShortestPathSwapActiveValue()Swaps active nodes from node alternatives in sequence. Considers chains of nodes with alternatives, builds a DAG from the chain, each "layer" of the DAG being composed of the set of alternatives of the node at a given rank in the chain, fully connected to the next layer. A neighbor is built from the shortest path starting from the node before the chain (source), through the DAG to the node following the chain.
.operations_research.OptionalBoolean use_shortest_path_swap_active = 34;- Specified by:
getUseShortestPathSwapActiveValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useShortestPathSwapActive.
-
getUseShortestPathSwapActive
Swaps active nodes from node alternatives in sequence. Considers chains of nodes with alternatives, builds a DAG from the chain, each "layer" of the DAG being composed of the set of alternatives of the node at a given rank in the chain, fully connected to the next layer. A neighbor is built from the shortest path starting from the node before the chain (source), through the DAG to the node following the chain.
.operations_research.OptionalBoolean use_shortest_path_swap_active = 34;- Specified by:
getUseShortestPathSwapActivein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useShortestPathSwapActive.
-
getUseShortestPathTwoOptValue
public int getUseShortestPathTwoOptValue()Similar to use_two_opt but returns the shortest path on the DAG of node alternatives of the reversed chain (cf. use_shortest_path_swap_active).
.operations_research.OptionalBoolean use_shortest_path_two_opt = 36;- Specified by:
getUseShortestPathTwoOptValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useShortestPathTwoOpt.
-
getUseShortestPathTwoOpt
Similar to use_two_opt but returns the shortest path on the DAG of node alternatives of the reversed chain (cf. use_shortest_path_swap_active).
.operations_research.OptionalBoolean use_shortest_path_two_opt = 36;- Specified by:
getUseShortestPathTwoOptin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useShortestPathTwoOpt.
-
getUseNodePairSwapActiveValue
public int getUseNodePairSwapActiveValue()Operator which makes an inactive node active and an active pair of nodes inactive OR makes an inactive pair of nodes active and an active node inactive. Possible neighbors for the path 1 -> 2 -> 3 -> 4 with 5 inactive (where 1 and 4 are first and last nodes of the path and (2,3) is a pair of nodes) are: 1 -> [5] -> 4 with (2,3) inactive Possible neighbors for the path 1 -> 2 -> 3 with (4,5) inactive (where 1 and 3 are first and last nodes of the path and (4,5) is a pair of nodes) are: 1 -> [4] -> [5] -> 3 with 2 inactive
.operations_research.OptionalBoolean use_node_pair_swap_active = 20;- Specified by:
getUseNodePairSwapActiveValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useNodePairSwapActive.
-
getUseNodePairSwapActive
Operator which makes an inactive node active and an active pair of nodes inactive OR makes an inactive pair of nodes active and an active node inactive. Possible neighbors for the path 1 -> 2 -> 3 -> 4 with 5 inactive (where 1 and 4 are first and last nodes of the path and (2,3) is a pair of nodes) are: 1 -> [5] -> 4 with (2,3) inactive Possible neighbors for the path 1 -> 2 -> 3 with (4,5) inactive (where 1 and 3 are first and last nodes of the path and (4,5) is a pair of nodes) are: 1 -> [4] -> [5] -> 3 with 2 inactive
.operations_research.OptionalBoolean use_node_pair_swap_active = 20;- Specified by:
getUseNodePairSwapActivein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useNodePairSwapActive.
-
getUsePathLnsValue
public int getUsePathLnsValue()--- Large neighborhood search operators --- Operator which relaxes two sub-chains of three consecutive arcs each. Each sub-chain is defined by a start node and the next three arcs. Those six arcs are relaxed to build a new neighbor. PATH_LNS explores all possible pairs of starting nodes and so defines n^2 neighbors, n being the number of nodes. Note that the two sub-chains can be part of the same path; they even may overlap.
.operations_research.OptionalBoolean use_path_lns = 16;- Specified by:
getUsePathLnsValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for usePathLns.
-
getUsePathLns
--- Large neighborhood search operators --- Operator which relaxes two sub-chains of three consecutive arcs each. Each sub-chain is defined by a start node and the next three arcs. Those six arcs are relaxed to build a new neighbor. PATH_LNS explores all possible pairs of starting nodes and so defines n^2 neighbors, n being the number of nodes. Note that the two sub-chains can be part of the same path; they even may overlap.
.operations_research.OptionalBoolean use_path_lns = 16;- Specified by:
getUsePathLnsin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The usePathLns.
-
getUseFullPathLnsValue
public int getUseFullPathLnsValue()Operator which relaxes one entire path and all inactive nodes.
.operations_research.OptionalBoolean use_full_path_lns = 17;- Specified by:
getUseFullPathLnsValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useFullPathLns.
-
getUseFullPathLns
Operator which relaxes one entire path and all inactive nodes.
.operations_research.OptionalBoolean use_full_path_lns = 17;- Specified by:
getUseFullPathLnsin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useFullPathLns.
-
getUseTspLnsValue
public int getUseTspLnsValue()TSP-base LNS. Randomly merges consecutive nodes until n "meta"-nodes remain and solves the corresponding TSP. This defines an "unlimited" neighborhood which must be stopped by search limits. To force diversification, the operator iteratively forces each node to serve as base of a meta-node.
.operations_research.OptionalBoolean use_tsp_lns = 18;- Specified by:
getUseTspLnsValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useTspLns.
-
getUseTspLns
TSP-base LNS. Randomly merges consecutive nodes until n "meta"-nodes remain and solves the corresponding TSP. This defines an "unlimited" neighborhood which must be stopped by search limits. To force diversification, the operator iteratively forces each node to serve as base of a meta-node.
.operations_research.OptionalBoolean use_tsp_lns = 18;- Specified by:
getUseTspLnsin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useTspLns.
-
getUseInactiveLnsValue
public int getUseInactiveLnsValue()Operator which relaxes all inactive nodes and one sub-chain of six consecutive arcs. That way the path can be improved by inserting inactive nodes or swapping arcs.
.operations_research.OptionalBoolean use_inactive_lns = 19;- Specified by:
getUseInactiveLnsValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useInactiveLns.
-
getUseInactiveLns
Operator which relaxes all inactive nodes and one sub-chain of six consecutive arcs. That way the path can be improved by inserting inactive nodes or swapping arcs.
.operations_research.OptionalBoolean use_inactive_lns = 19;- Specified by:
getUseInactiveLnsin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useInactiveLns.
-
getUseGlobalCheapestInsertionPathLnsValue
public int getUseGlobalCheapestInsertionPathLnsValue()--- LNS-like large neighborhood search operators using heuristics --- Operator which makes all nodes on a route unperformed, and reinserts them using the GlobalCheapestInsertion heuristic.
.operations_research.OptionalBoolean use_global_cheapest_insertion_path_lns = 27;- Specified by:
getUseGlobalCheapestInsertionPathLnsValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useGlobalCheapestInsertionPathLns.
-
getUseGlobalCheapestInsertionPathLns
--- LNS-like large neighborhood search operators using heuristics --- Operator which makes all nodes on a route unperformed, and reinserts them using the GlobalCheapestInsertion heuristic.
.operations_research.OptionalBoolean use_global_cheapest_insertion_path_lns = 27;- Specified by:
getUseGlobalCheapestInsertionPathLnsin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useGlobalCheapestInsertionPathLns.
-
getUseLocalCheapestInsertionPathLnsValue
public int getUseLocalCheapestInsertionPathLnsValue()Same as above but using LocalCheapestInsertion as a heuristic.
.operations_research.OptionalBoolean use_local_cheapest_insertion_path_lns = 28;- Specified by:
getUseLocalCheapestInsertionPathLnsValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useLocalCheapestInsertionPathLns.
-
getUseLocalCheapestInsertionPathLns
Same as above but using LocalCheapestInsertion as a heuristic.
.operations_research.OptionalBoolean use_local_cheapest_insertion_path_lns = 28;- Specified by:
getUseLocalCheapestInsertionPathLnsin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useLocalCheapestInsertionPathLns.
-
getUseRelocatePathGlobalCheapestInsertionInsertUnperformedValue
public int getUseRelocatePathGlobalCheapestInsertionInsertUnperformedValue()The following operator relocates an entire route to an empty path and then tries to insert the unperformed nodes using the global cheapest insertion heuristic.
.operations_research.OptionalBoolean use_relocate_path_global_cheapest_insertion_insert_unperformed = 33;- Specified by:
getUseRelocatePathGlobalCheapestInsertionInsertUnperformedValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useRelocatePathGlobalCheapestInsertionInsertUnperformed.
-
getUseRelocatePathGlobalCheapestInsertionInsertUnperformed
The following operator relocates an entire route to an empty path and then tries to insert the unperformed nodes using the global cheapest insertion heuristic.
.operations_research.OptionalBoolean use_relocate_path_global_cheapest_insertion_insert_unperformed = 33;- Specified by:
getUseRelocatePathGlobalCheapestInsertionInsertUnperformedin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useRelocatePathGlobalCheapestInsertionInsertUnperformed.
-
getUseGlobalCheapestInsertionExpensiveChainLnsValue
public int getUseGlobalCheapestInsertionExpensiveChainLnsValue()This operator finds heuristic_expensive_chain_lns_num_arcs_to_consider most expensive arcs on a route, makes the nodes in between pairs of these expensive arcs unperformed, and reinserts them using the GlobalCheapestInsertion heuristic.
.operations_research.OptionalBoolean use_global_cheapest_insertion_expensive_chain_lns = 29;- Specified by:
getUseGlobalCheapestInsertionExpensiveChainLnsValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useGlobalCheapestInsertionExpensiveChainLns.
-
getUseGlobalCheapestInsertionExpensiveChainLns
This operator finds heuristic_expensive_chain_lns_num_arcs_to_consider most expensive arcs on a route, makes the nodes in between pairs of these expensive arcs unperformed, and reinserts them using the GlobalCheapestInsertion heuristic.
.operations_research.OptionalBoolean use_global_cheapest_insertion_expensive_chain_lns = 29;- Specified by:
getUseGlobalCheapestInsertionExpensiveChainLnsin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useGlobalCheapestInsertionExpensiveChainLns.
-
getUseLocalCheapestInsertionExpensiveChainLnsValue
public int getUseLocalCheapestInsertionExpensiveChainLnsValue()Same as above but using LocalCheapestInsertion as a heuristic for insertion.
.operations_research.OptionalBoolean use_local_cheapest_insertion_expensive_chain_lns = 30;- Specified by:
getUseLocalCheapestInsertionExpensiveChainLnsValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useLocalCheapestInsertionExpensiveChainLns.
-
getUseLocalCheapestInsertionExpensiveChainLns
Same as above but using LocalCheapestInsertion as a heuristic for insertion.
.operations_research.OptionalBoolean use_local_cheapest_insertion_expensive_chain_lns = 30;- Specified by:
getUseLocalCheapestInsertionExpensiveChainLnsin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useLocalCheapestInsertionExpensiveChainLns.
-
getUseGlobalCheapestInsertionCloseNodesLnsValue
public int getUseGlobalCheapestInsertionCloseNodesLnsValue()The following operator makes a node and its heuristic_close_nodes_lns_num_nodes closest neighbors unperformed along with each of their corresponding performed pickup/delivery pairs, and then reinserts them using the GlobalCheapestInsertion heuristic.
.operations_research.OptionalBoolean use_global_cheapest_insertion_close_nodes_lns = 31;- Specified by:
getUseGlobalCheapestInsertionCloseNodesLnsValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useGlobalCheapestInsertionCloseNodesLns.
-
getUseGlobalCheapestInsertionCloseNodesLns
The following operator makes a node and its heuristic_close_nodes_lns_num_nodes closest neighbors unperformed along with each of their corresponding performed pickup/delivery pairs, and then reinserts them using the GlobalCheapestInsertion heuristic.
.operations_research.OptionalBoolean use_global_cheapest_insertion_close_nodes_lns = 31;- Specified by:
getUseGlobalCheapestInsertionCloseNodesLnsin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useGlobalCheapestInsertionCloseNodesLns.
-
getUseLocalCheapestInsertionCloseNodesLnsValue
public int getUseLocalCheapestInsertionCloseNodesLnsValue()Same as above, but insertion positions for nodes are determined by the LocalCheapestInsertion heuristic.
.operations_research.OptionalBoolean use_local_cheapest_insertion_close_nodes_lns = 32;- Specified by:
getUseLocalCheapestInsertionCloseNodesLnsValuein interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The enum numeric value on the wire for useLocalCheapestInsertionCloseNodesLns.
-
getUseLocalCheapestInsertionCloseNodesLns
Same as above, but insertion positions for nodes are determined by the LocalCheapestInsertion heuristic.
.operations_research.OptionalBoolean use_local_cheapest_insertion_close_nodes_lns = 32;- Specified by:
getUseLocalCheapestInsertionCloseNodesLnsin interfaceRoutingSearchParameters.LocalSearchNeighborhoodOperatorsOrBuilder- Returns:
- The useLocalCheapestInsertionCloseNodesLns.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static RoutingSearchParameters.LocalSearchNeighborhoodOperators.Builder newBuilder(RoutingSearchParameters.LocalSearchNeighborhoodOperators prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RoutingSearchParameters.LocalSearchNeighborhoodOperators.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<RoutingSearchParameters.LocalSearchNeighborhoodOperators> parser() -
getParserForType
public com.google.protobuf.Parser<RoutingSearchParameters.LocalSearchNeighborhoodOperators> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-