number_of_paths_algorithm(node_type const) constΒΆ

algorithm libsemigroups::ActionDigraph::number_of_paths_algorithm(node_type const source) const

Returns the algorithm used by number_of_paths to compute the number of paths originating at the given source node.

Return

A value of type ActionDigraph::algorithm.

Exceptions

This function is noexcept and is guaranteed never to throw.

Complexity

Constant

Parameters
  • source: the source node.