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

Method unassign

pyvrp/cpp/search/Route.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void Route::Node::unassign()
20{
21 idx_ = 0;
22 trip_ = 0;
23 route_ = nullptr;
24}
25
26Route::Iterator::Iterator(std::vector<Node *> const &nodes, size_t idx)
27 : nodes_(&nodes), idx_(idx)

Callers 2

clearMethod · 0.80
removeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected