We use an arc array but not all arcs in that array do exist in the graph. */
| 99 | |
| 100 | /* We use an arc array but not all arcs in that array do exist in the graph. */ |
| 101 | static inline bool arc_enabled(const struct graph *graph, const struct arc arc) |
| 102 | { |
| 103 | return graph->arc_tail[arc.idx].idx < graph->max_num_nodes; |
| 104 | } |
| 105 | |
| 106 | /* Used to loop over the arcs that exit a node. |
| 107 | * |
no outgoing calls
no test coverage detected