demo/disjoint_paths_demo.cc
changeset 2174 f9e43b5cc617
parent 2084 59769591eb60
child 2207 75a29ac69c19
equal deleted inserted replaced
0:fc0e23ae2013 1:6ce8d1468eb9
    39 
    39 
    40 using namespace lemon;
    40 using namespace lemon;
    41 using namespace std;
    41 using namespace std;
    42 
    42 
    43 Color color(bool b) {
    43 Color color(bool b) {
    44   return b ? Color(1.0, 0.0, 0.0) : Color(0.0, 0.0, 0.0);
    44   return b ? RED : BLACK;
    45 }
    45 }
    46 
    46 
    47 int main() {
    47 int main() {
    48   cout << "This program calculates the number " <<
    48   cout << "This program calculates the number " <<
    49     "of disjoint paths in a graph" << endl;
    49     "of disjoint paths in a graph" << endl;