LocationContainer Class Reference
Location container, contains positions of orders and can be used to obtain Manhattan distances/times between locations.
More...
List of all members.
Detailed Description
Location container, contains positions of orders and can be used to obtain Manhattan distances/times between locations.
Definition at line 65 of file cvrptw.cc.
Constructor & Destructor Documentation
LocationContainer::LocationContainer |
( |
int64 |
speed |
) |
[inline, explicit] |
Member Function Documentation
void LocationContainer::AddLocation |
( |
int64 |
x, |
|
|
int64 |
y | |
|
) |
| | [inline] |
void LocationContainer::AddRandomLocation |
( |
int64 |
x_max, |
|
|
int64 |
y_max | |
|
) |
| | [inline] |
int64 LocationContainer::ManhattanDistance |
( |
RoutingModel::NodeIndex |
from, |
|
|
RoutingModel::NodeIndex |
to | |
|
) |
| | const [inline] |
int64 LocationContainer::ManhattanTime |
( |
RoutingModel::NodeIndex |
from, |
|
|
RoutingModel::NodeIndex |
to | |
|
) |
| | const [inline] |
The documentation for this class was generated from the following file: