| 14 | #define DUAL_BIT 7 |
| 15 | |
| 16 | static void show(struct graph *graph, struct node node) |
| 17 | { |
| 18 | printf("Showing node %" PRIu32 "\n", node.idx); |
| 19 | for (struct arc arc = node_adjacency_begin(graph, node); |
| 20 | !node_adjacency_end(arc); arc = node_adjacency_next(graph, arc)) { |
| 21 | printf("arc id: %" PRIu32 ", (%" PRIu32 " -> %" PRIu32 ")\n", |
| 22 | arc.idx, arc_tail(graph, arc).idx, |
| 23 | arc_head(graph, arc).idx); |
| 24 | } |
| 25 | printf("\n"); |
| 26 | } |
| 27 | |
| 28 | int main(int argc, char *argv[]) |
| 29 | { |
no test coverage detected