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

Function p

pyvrp/cpp/search/Route.h:636–640  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

634 * Convenience method accessing the node directly before the argument.
635 */
636inline Route::Node *p(Route::Node *node)
637{
638 auto &route = *node->route();
639 return route[node->idx() - 1];
640}
641
642inline Route::Node const *p(Route::Node const *node)
643{

Callers 4

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

Calls 2

idxMethod · 0.80
routeMethod · 0.45

Tested by

no test coverage detected