Changeset 877:141f9c0db4a3 in lemon-main for tools
- Timestamp:
- 03/06/10 15:35:12 (15 years ago)
- Branch:
- default
- Children:
- 879:38213abd2911, 931:f112c18bc304
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/dimacs-solver.cc
r846 r877 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 095 * Copyright (C) 2003-2010 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 89 89 pre.run(); 90 90 if(report) std::cerr << "Run Preflow: " << ti << '\n'; 91 if(report) std::cerr << "\nMax flow value: " << pre.flowValue() << '\n'; 91 if(report) std::cerr << "\nMax flow value: " << pre.flowValue() << '\n'; 92 92 } 93 93 … … 149 149 if(report) std::cerr << "Run MaxMatching: " << ti << '\n'; 150 150 if(report) std::cerr << "\nCardinality of max matching: " 151 << mat.matchingSize() << '\n'; 151 << mat.matchingSize() << '\n'; 152 152 } 153 153 … … 167 167 exit(1); 168 168 } 169 169 170 170 switch(desc.type) 171 171 { … … 239 239 240 240 DimacsDescriptor desc = dimacsType(is); 241 241 242 242 if(!ap.given("q")) 243 243 { … … 264 264 std::cout << "\n\n"; 265 265 } 266 266 267 267 if(ap.given("double")) 268 268 solve<double, double>(ap,is,os,desc);
Note: See TracChangeset
for help on using the changeset viewer.