45#include <lal/internal/graphs/traversal.hpp>
58bool is_node_reachable_from(
const G& g,
const node source,
const node target) {
61 [target](
const auto&,
const node s) ->
bool {
return (s == target); }
64 return bfs.node_was_visited(target);
Main namespace of the library.
Definition definitions.hpp:48
uint32_t node
Node type.
Definition definitions.hpp:51