COIN-OR::LEMON - Graph Library

Ticket #607: 607-patch2-332627dd249e.patch

File 607-patch2-332627dd249e.patch, 2.5 KB (added by Peter Kovacs, 7 years ago)
  • lemon/dimacs.h

    # HG changeset patch
    # User Peter Kovacs <kpeter@inf.elte.hu>
    # Date 1504883070 -7200
    # Node ID 332627dd249ee9d8e702fee6d0bd94dc406298e8
    # Parent  f37f0845cf3238988e8f635b32f3d173cd957f0f
    Fixes in API doc of DIMACS reader methods
    
    diff --git a/lemon/dimacs.h b/lemon/dimacs.h
    a b  
    2525#include <limits>
    2626#include <lemon/maps.h>
    2727#include <lemon/error.h>
     28
    2829/// \ingroup dimacs_group
    2930/// \file
    3031/// \brief DIMACS file format reader.
     
    118119  /// a non-zero value, that value will be used as "infinite".
    119120  ///
    120121  /// If the file type was previously evaluated by dimacsType(), then
    121   /// the descriptor struct should be given by the \c dest parameter.
     122  /// the descriptor struct should be given by the \c desc parameter.
    122123  template <typename Digraph, typename LowerMap,
    123124            typename CapacityMap, typename CostMap,
    124125            typename SupplyMap>
     
    272273  /// a non-zero value, that value will be used as "infinite".
    273274  ///
    274275  /// If the file type was previously evaluated by dimacsType(), then
    275   /// the descriptor struct should be given by the \c dest parameter.
     276  /// the descriptor struct should be given by the \c desc parameter.
    276277  template<typename Digraph, typename CapacityMap>
    277278  void readDimacsMax(std::istream& is,
    278279                     Digraph &g,
     
    299300  /// source node.
    300301  ///
    301302  /// If the file type was previously evaluated by dimacsType(), then
    302   /// the descriptor struct should be given by the \c dest parameter.
     303  /// the descriptor struct should be given by the \c desc parameter.
    303304  template<typename Digraph, typename LengthMap>
    304305  void readDimacsSp(std::istream& is,
    305306                    Digraph &g,
     
    330331  /// a non-zero value, that value will be used as "infinite".
    331332  ///
    332333  /// If the file type was previously evaluated by dimacsType(), then
    333   /// the descriptor struct should be given by the \c dest parameter.
     334  /// the descriptor struct should be given by the \c desc parameter.
    334335  template<typename Digraph, typename CapacityMap>
    335336  void readDimacsCap(std::istream& is,
    336337                     Digraph &g,
     
    370371  /// At the beginning, \c g is cleared by \c g.clear().
    371372  ///
    372373  /// If the file type was previously evaluated by dimacsType(), then
    373   /// the descriptor struct should be given by the \c dest parameter.
     374  /// the descriptor struct should be given by the \c desc parameter.
    374375  template<typename Graph>
    375376  void readDimacsMat(std::istream& is, Graph &g,
    376377                     DimacsDescriptor desc=DimacsDescriptor())