![]() |
OR-Tools
9.6
|
Definition at line 37 of file cvrptw_lib.h.
Public Member Functions | |
| LocationContainer (int64_t speed, bool use_deterministic_seed) | |
| void | AddLocation (int64_t x, int64_t y) |
| void | AddRandomLocation (int64_t x_max, int64_t y_max) |
| void | AddRandomLocation (int64_t x_max, int64_t y_max, int duplicates) |
| int64_t | ManhattanDistance (RoutingIndexManager::NodeIndex from, RoutingIndexManager::NodeIndex to) const |
| int64_t | NegManhattanDistance (RoutingIndexManager::NodeIndex from, RoutingIndexManager::NodeIndex to) const |
| int64_t | ManhattanTime (RoutingIndexManager::NodeIndex from, RoutingIndexManager::NodeIndex to) const |
| bool | SameLocation (RoutingIndexManager::NodeIndex node1, RoutingIndexManager::NodeIndex node2) const |
| int64_t | SameLocationFromIndex (int64_t node1, int64_t node2) const |
| LocationContainer | ( | int64_t | speed, |
| bool | use_deterministic_seed | ||
| ) |
Definition at line 44 of file cvrptw_lib.cc.
|
inline |
Definition at line 40 of file cvrptw_lib.h.
| void AddRandomLocation | ( | int64_t | x_max, |
| int64_t | y_max | ||
| ) |
Definition at line 49 of file cvrptw_lib.cc.
| void AddRandomLocation | ( | int64_t | x_max, |
| int64_t | y_max, | ||
| int | duplicates | ||
| ) |
Definition at line 53 of file cvrptw_lib.cc.
| int64_t ManhattanDistance | ( | RoutingIndexManager::NodeIndex | from, |
| RoutingIndexManager::NodeIndex | to | ||
| ) | const |
Definition at line 62 of file cvrptw_lib.cc.
| int64_t ManhattanTime | ( | RoutingIndexManager::NodeIndex | from, |
| RoutingIndexManager::NodeIndex | to | ||
| ) | const |
Definition at line 72 of file cvrptw_lib.cc.
| int64_t NegManhattanDistance | ( | RoutingIndexManager::NodeIndex | from, |
| RoutingIndexManager::NodeIndex | to | ||
| ) | const |
Definition at line 67 of file cvrptw_lib.cc.
| bool SameLocation | ( | RoutingIndexManager::NodeIndex | node1, |
| RoutingIndexManager::NodeIndex | node2 | ||
| ) | const |
Definition at line 76 of file cvrptw_lib.cc.
| int64_t SameLocationFromIndex | ( | int64_t | node1, |
| int64_t | node2 | ||
| ) | const |
Definition at line 82 of file cvrptw_lib.cc.