COIN-OR::LEMON - Graph Library

Changeset 1081:f1398882a928 in lemon for tools


Ignore:
Timestamp:
08/08/11 12:36:16 (13 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
1.1
Phase:
public
Tags:
r1.1.4
Message:

Unify sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/dimacs-solver.cc

    r691 r1081  
    33 * This file is a part of LEMON, a generic C++ optimization library.
    44 *
    5  * Copyright (C) 2003-2009
     5 * Copyright (C) 2003-2011
    66 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    77 * (Egervary Research Group on Combinatorial Optimization, EGRES).
     
    8989  pre.run();
    9090  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';
    9292}
    9393
     
    148148  if(report) std::cerr << "Run MaxMatching: " << ti << '\n';
    149149  if(report) std::cerr << "\nCardinality of max matching: "
    150                        << mat.matchingSize() << '\n'; 
     150                       << mat.matchingSize() << '\n';
    151151}
    152152
     
    166166      exit(1);
    167167    }
    168  
     168
    169169  switch(desc.type)
    170170    {
     
    238238
    239239  DimacsDescriptor desc = dimacsType(is);
    240  
     240
    241241  if(!ap.given("q"))
    242242    {
     
    263263      std::cout << "\n\n";
    264264    }
    265    
     265
    266266  if(ap.given("double"))
    267267    solve<double>(ap,is,os,desc);
Note: See TracChangeset for help on using the changeset viewer.