lemon/lgf_writer.h
changeset 877 141f9c0db4a3
parent 599 f63e87b9748e
child 1024 b84e68af8248
     1.1 --- a/lemon/lgf_writer.h	Wed Mar 17 12:35:52 2010 +0100
     1.2 +++ b/lemon/lgf_writer.h	Sat Mar 06 14:35:12 2010 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4   *
     1.5   * This file is a part of LEMON, a generic C++ optimization library.
     1.6   *
     1.7 - * Copyright (C) 2003-2009
     1.8 + * Copyright (C) 2003-2010
     1.9   * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    1.10   * (Egervary Research Group on Combinatorial Optimization, EGRES).
    1.11   *
    1.12 @@ -351,7 +351,7 @@
    1.13    class DigraphWriter;
    1.14  
    1.15    template <typename TDGR>
    1.16 -  DigraphWriter<TDGR> digraphWriter(const TDGR& digraph, 
    1.17 +  DigraphWriter<TDGR> digraphWriter(const TDGR& digraph,
    1.18                                     std::ostream& os = std::cout);
    1.19    template <typename TDGR>
    1.20    DigraphWriter<TDGR> digraphWriter(const TDGR& digraph, const std::string& fn);
    1.21 @@ -504,7 +504,7 @@
    1.22    private:
    1.23  
    1.24      template <typename TDGR>
    1.25 -    friend DigraphWriter<TDGR> digraphWriter(const TDGR& digraph, 
    1.26 +    friend DigraphWriter<TDGR> digraphWriter(const TDGR& digraph,
    1.27                                               std::ostream& os);
    1.28      template <typename TDGR>
    1.29      friend DigraphWriter<TDGR> digraphWriter(const TDGR& digraph,
    1.30 @@ -917,7 +917,7 @@
    1.31    ///
    1.32    /// \brief Return a \ref DigraphWriter class
    1.33    ///
    1.34 -  /// This function just returns a \ref DigraphWriter class. 
    1.35 +  /// This function just returns a \ref DigraphWriter class.
    1.36    ///
    1.37    /// With this function a digraph can be write to a file or output
    1.38    /// stream in \ref lgf-format "LGF" format with several maps and
    1.39 @@ -957,7 +957,7 @@
    1.40    /// \relates DigraphWriter
    1.41    /// \sa digraphWriter(const TDGR& digraph, std::ostream& os)
    1.42    template <typename TDGR>
    1.43 -  DigraphWriter<TDGR> digraphWriter(const TDGR& digraph, 
    1.44 +  DigraphWriter<TDGR> digraphWriter(const TDGR& digraph,
    1.45                                      const std::string& fn) {
    1.46      DigraphWriter<TDGR> tmp(digraph, fn);
    1.47      return tmp;
    1.48 @@ -1101,11 +1101,11 @@
    1.49      template <typename TGR>
    1.50      friend GraphWriter<TGR> graphWriter(const TGR& graph, std::ostream& os);
    1.51      template <typename TGR>
    1.52 -    friend GraphWriter<TGR> graphWriter(const TGR& graph, 
    1.53 +    friend GraphWriter<TGR> graphWriter(const TGR& graph,
    1.54                                          const std::string& fn);
    1.55      template <typename TGR>
    1.56      friend GraphWriter<TGR> graphWriter(const TGR& graph, const char *fn);
    1.57 -    
    1.58 +
    1.59      GraphWriter(GraphWriter& other)
    1.60        : _os(other._os), local_os(other.local_os), _graph(other._graph),
    1.61          _skip_nodes(other._skip_nodes), _skip_edges(other._skip_edges) {
    1.62 @@ -1556,7 +1556,7 @@
    1.63    ///
    1.64    /// \brief Return a \ref GraphWriter class
    1.65    ///
    1.66 -  /// This function just returns a \ref GraphWriter class. 
    1.67 +  /// This function just returns a \ref GraphWriter class.
    1.68    ///
    1.69    /// With this function a graph can be write to a file or output
    1.70    /// stream in \ref lgf-format "LGF" format with several maps and