Give me the node at the tail of an arc. */
| 82 | |
| 83 | /* Give me the node at the tail of an arc. */ |
| 84 | static inline struct node arc_tail(const struct graph *graph, |
| 85 | const struct arc arc) |
| 86 | { |
| 87 | assert(arc.idx < graph_max_num_arcs(graph)); |
| 88 | return graph->arc_tail[arc.idx]; |
| 89 | } |
| 90 | |
| 91 | /* Give me the node at the head of an arc. */ |
| 92 | static inline struct node arc_head(const struct graph *graph, |