@@ -451,7 +451,7 @@ The valid values are:
451451 m.def (
452452 " paths_number_of_paths_algorithm" ,
453453 [](WordGraph<node_type> const & wg, node_type source) {
454- return number_of_paths_algorithm (wg, source);
454+ return v4::paths:: number_of_paths_algorithm (wg, source);
455455 },
456456 py::arg (" wg" ),
457457 py::arg (" source" ),
@@ -481,7 +481,7 @@ with the same arguments.
481481 node_type source,
482482 size_t min,
483483 int_or_constant<size_t > max) {
484- return number_of_paths_algorithm (
484+ return v4::paths:: number_of_paths_algorithm (
485485 wg, source, min, to_int<size_t >(max));
486486 },
487487 py::arg (" wg" ),
@@ -524,7 +524,7 @@ the range ``[min, max)``.
524524 node_type target,
525525 size_t min,
526526 int_or_constant<size_t > max) {
527- return number_of_paths_algorithm (
527+ return v4::paths:: number_of_paths_algorithm (
528528 wg, source, target, min, to_int<size_t >(max));
529529 },
530530 py::arg (" wg" ),
@@ -567,7 +567,7 @@ ending at the given target node with length in the range ``[min, max)``.
567567 m.def (
568568 " paths_number_of_paths" ,
569569 [](WordGraph<node_type> const & wg, node_type source) {
570- return from_int (number_of_paths (wg, source));
570+ return from_int (v4::paths:: number_of_paths (wg, source));
571571 },
572572 py::arg (" wg" ),
573573 py::arg (" source" ),
@@ -611,8 +611,8 @@ This function returns the number of paths in the word graph *wg* starting at
611611 size_t min,
612612 int_or_constant<size_t > max,
613613 paths::algorithm lgrthm) {
614- return from_int (
615- number_of_paths ( wg, source, min, to_int<size_t >(max), lgrthm));
614+ return from_int (v4::paths::number_of_paths (
615+ wg, source, min, to_int<size_t >(max), lgrthm));
616616 },
617617 py::arg (" wg" ),
618618 py::arg (" source" ),
@@ -684,7 +684,8 @@ length in a given range.
684684 size_t min,
685685 int_or_constant<size_t > max,
686686 paths::algorithm algrthm) {
687- return number_of_paths (wg, source, target, min, to_int<size_t >(max));
687+ return v4::paths::number_of_paths (
688+ wg, source, target, min, to_int<size_t >(max));
688689 },
689690 py::arg (" wg" ),
690691 py::arg (" source" ),
0 commit comments