MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / assign

Method assign

pyvrp/cpp/search/Route.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10Route::Node::Node(size_t loc) : loc_(loc), idx_(0), trip_(0), route_(nullptr) {}
11
12void Route::Node::assign(Route *route, size_t idx, size_t trip)
13{
14 idx_ = idx;
15 trip_ = trip;
16 route_ = route;
17}
18
19void Route::Node::unassign()
20{

Callers 2

clearMethod · 0.80
insertMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected