Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class ExchangeSubtrip
Note: This documentation is automatically generated.
Method |
DebugString | Return type: std::string |
ExchangeSubtrip | Arguments: const std::vector<IntVar*>& vars,
const std::vector<IntVar*>& secondary_vars,
std::function<int(int64_t)> start_empty_path_class,
const RoutingIndexPairs& pairs |
MakeNeighbor | Return type: bool |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[],["The `ExchangeSubtrip` class in C++ has methods for manipulating routing variables. The `ExchangeSubtrip` constructor takes vectors of `IntVar*` (primary and secondary), a function `start_empty_path_class`, and `RoutingIndexPairs`. `DebugString` returns a string representation of the object. `MakeNeighbor` returns a boolean, presumably indicating if a neighboring solution was successfully created. These methods suggest functionalities for defining and exploring neighborhood solutions in routing optimization.\n"],null,[]]