38 template <graph_ref G>
requires (
43 using GL = std::remove_cvref_t<G>;
46 if constexpr (GL::has_in_edges) {
50 else if constexpr (GL::has_out_edges && !GL::is_directed) {
54 else if constexpr (GL::has_edge_list) {
71 template <graph_ref G>
requires (
76 using GL = std::remove_cvref_t<G>;
79 if constexpr (GL::has_out_edges) {
83 else if constexpr (GL::has_in_edges && !GL::is_directed) {
87 else if constexpr (GL::has_edge_list) {
104 template <graph_ref G>
requires (
109 using GL = std::remove_cvref_t<G>;
112 if constexpr (GL::has_in_edges) {
116 else if constexpr (GL::has_out_edges && !GL::is_directed) {
120 else if constexpr (GL::has_edge_list) {
137 template <graph_ref G>
requires (
142 using GL = std::remove_cvref_t<G>;
145 if constexpr (GL::has_out_edges) {
149 else if constexpr (GL::has_in_edges && !GL::is_directed) {
153 else if constexpr (GL::has_edge_list) {
typename std::remove_cvref_t< G >::edge_type edge_of
typename std::remove_cvref_t< G >::vertex_compare_t vertex_compare_of
typename std::remove_cvref_t< G >::vertex_type vertex_of
constexpr bool is_leaf(G &&graph, vertex_of< G > vertex)
constexpr bool is_root(G &&graph, vertex_of< G > vertex)
constexpr auto in_edges(G &&graph, vertex_of< G > vertex)
constexpr auto out_edges(G &&graph, vertex_of< G > vertex)
constexpr std::size_t in_degree(G &&graph, vertex_of< G > vertex)
constexpr bool is_branch(G &&graph, vertex_of< G > vertex)
constexpr std::size_t out_degree(G &&graph, vertex_of< G > vertex)
constexpr transpose_edge_t transpose_edge
GetOutEdges get_out_edges
constexpr bool operator()(edge_of< G > edge) const