demo/strongly_connected_orientation.cc
changeset 2542 faaa54ec4520
parent 2391 14a343be7a5a
child 2553 bfced05fa852
equal deleted inserted replaced
7:29bd1a01beab 8:e84aeb9fd5b8
    40 
    40 
    41 using namespace lemon;
    41 using namespace lemon;
    42 using namespace std;
    42 using namespace std;
    43 
    43 
    44 typedef SmartUGraph UGraph;
    44 typedef SmartUGraph UGraph;
    45 UGRAPH_TYPEDEFS(UGraph)
    45 UGRAPH_TYPEDEFS(UGraph);
    46 
    46 
    47 Color color(bool c) {
    47 Color color(bool c) {
    48   return c ? BLACK : RED;
    48   return c ? BLACK : RED;
    49 }
    49 }
    50 
    50