lemon/planarity.h
changeset 1103 c0c2f5c87aa6
parent 877 141f9c0db4a3
child 1092 dceba191c00d
equal deleted inserted replaced
3:0f96c547c2ff 4:9ccc5d257471
    70         _ancestor_map[node] = _order_list.size();
    70         _ancestor_map[node] = _order_list.size();
    71         _order_list.push_back(node);
    71         _order_list.push_back(node);
    72       }
    72       }
    73 
    73 
    74       void discover(const Arc& arc) {
    74       void discover(const Arc& arc) {
    75         Node source = _graph.source(arc);
       
    76         Node target = _graph.target(arc);
    75         Node target = _graph.target(arc);
    77 
    76 
    78         _tree_map[arc] = true;
    77         _tree_map[arc] = true;
    79         _pred_map[target] = arc;
    78         _pred_map[target] = arc;
    80       }
    79       }