demo/strongly_connected_orientation.cc
changeset 2357 5365600a7a5c
parent 2174 f9e43b5cc617
child 2391 14a343be7a5a
equal deleted inserted replaced
5:1e658c4f9638 6:d4b4c7f67dd6
    76 int main() {
    76 int main() {
    77   cout << "Orientation of the strongly_connected_orientation.lgf "
    77   cout << "Orientation of the strongly_connected_orientation.lgf "
    78        << "to be strongly connected" << endl;
    78        << "to be strongly connected" << endl;
    79 
    79 
    80   UGraph ugraph;
    80   UGraph ugraph;
    81   UGraph::NodeMap<xy<double> > coords(ugraph);
    81   UGraph::NodeMap<dim2::Point<double> > coords(ugraph);
    82   UGraphReader<UGraph>("strongly_connected_orientation.lgf", ugraph).
    82   UGraphReader<UGraph>("strongly_connected_orientation.lgf", ugraph).
    83     readNodeMap("coords", coords).run();
    83     readNodeMap("coords", coords).run();
    84 
    84 
    85   UGraph::UEdgeMap<bool> dmap(ugraph);
    85   UGraph::UEdgeMap<bool> dmap(ugraph);
    86 
    86