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

Function n

pyvrp/cpp/search/Route.h:651–655  ·  view source on GitHub ↗

* Convenience method accessing the node directly after the argument. */

Source from the content-addressed store, hash-verified

649 * Convenience method accessing the node directly after the argument.
650 */
651inline Route::Node *n(Route::Node *node)
652{
653 auto &route = *node->route();
654 return route[node->idx() + 1];
655}
656
657inline Route::Node const *n(Route::Node const *node)
658{

Callers 8

markPromisingMethod · 0.85
evaluateMethod · 0.85
applyMethod · 0.85
evaluateMethod · 0.85
applyMethod · 0.85
searchMethod · 0.85
bestInsertPointMethod · 0.85
evaluateMethod · 0.85

Calls 2

idxMethod · 0.80
routeMethod · 0.45

Tested by

no test coverage detected