Used to loop over the arcs that enter a node. */
| 138 | |
| 139 | /* Used to loop over the arcs that enter a node. */ |
| 140 | static inline struct arc node_rev_adjacency_begin(const struct graph *graph, |
| 141 | const struct node node) |
| 142 | { |
| 143 | return arc_dual(graph, node_adjacency_begin(graph, node)); |
| 144 | } |
| 145 | static inline bool node_rev_adjacency_end(const struct arc arc) |
| 146 | { |
| 147 | return arc.idx == INVALID_INDEX; |
nothing calls this directly
no test coverage detected