MCPcopy Index your code
hub / github.com/PyVRP/PyVRP / shuffle

Method shuffle

pyvrp/cpp/search/LocalSearch.cpp:160–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void LocalSearch::shuffle(RandomNumberGenerator &rng)
161{
162 perturbationManager_.shuffle(rng);
163 searchSpace_.shuffle(rng);
164
165 rng.shuffle(nodeOps.begin(), nodeOps.end());
166 rng.shuffle(routeOps.begin(), routeOps.end());
167}
168
169bool LocalSearch::applyNodeOps(Route::Node *U,
170 Route::Node *V,

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected