Changeset 1081:f1398882a928 in lemon for tools/dimacs-solver.cc
- Timestamp:
- 08/08/11 12:36:16 (14 years ago)
- Branch:
- 1.1
- Phase:
- public
- Tags:
- r1.1.4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/dimacs-solver.cc
r691 r1081 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-2011 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 … … 148 148 if(report) std::cerr << "Run MaxMatching: " << ti << '\n'; 149 149 if(report) std::cerr << "\nCardinality of max matching: " 150 << mat.matchingSize() << '\n'; 150 << mat.matchingSize() << '\n'; 151 151 } 152 152 … … 166 166 exit(1); 167 167 } 168 168 169 169 switch(desc.type) 170 170 { … … 238 238 239 239 DimacsDescriptor desc = dimacsType(is); 240 240 241 241 if(!ap.given("q")) 242 242 { … … 263 263 std::cout << "\n\n"; 264 264 } 265 265 266 266 if(ap.given("double")) 267 267 solve<double>(ap,is,os,desc);
Note: See TracChangeset
for help on using the changeset viewer.