abort();
}
- for splay_each(edge_t, e, n->edge_tree) { /* "e" is the edge connected to "from" */
+ for splay_each(edge_t, e, &n->edge_tree) { /* "e" is the edge connected to "from" */
if(!e->reverse || e->to == myself) {
continue;
}
}
void graph(void) {
- subnet_cache_flush();
+ subnet_cache_flush_tables();
sssp_bfs();
check_reachability();
mst_kruskal();