COIN-OR::LEMON - Graph Library

Ticket #176: preflow_551369181b50.patch

File preflow_551369181b50.patch, 1.2 KB (added by Peter Kovacs, 16 years ago)
  • lemon/preflow.h

    # HG changeset patch
    # User Peter Kovacs <kpeter@inf.elte.hu>
    # Date 1227958276 -3600
    # Node ID 551369181b5078d5d2ba45ecd8b91a7daef390e4
    # Parent  873168ab56201c81f806791edd518707d0ea32f7
    Hide only the doc of the traits class parameter (#176)
    
    diff --git a/lemon/preflow.h b/lemon/preflow.h
    a b  
    108108  /// \tparam _CapacityMap The type of the capacity map. The default map
    109109  /// type is \ref concepts::Digraph::ArcMap "_Digraph::ArcMap<int>".
    110110#ifdef DOXYGEN
    111   template <typename _Digraph, typename _CapacityMap>
     111  template <typename _Digraph, typename _CapacityMap, typename _Traits>
    112112#else
    113113  template <typename _Digraph,
    114114            typename _CapacityMap = typename _Digraph::template ArcMap<int>,
     
    117117  class Preflow {
    118118  public:
    119119
    120     ///The traits class.
     120    ///The \ref PreflowDefaultTraits "traits class" of the algorithm.
    121121    typedef _Traits Traits;
    122122    ///The type of the digraph the algorithm runs on.
    123123    typedef typename Traits::Digraph Digraph;
     
    292292        _level(0), _local_level(false),
    293293        _excess(0), _tolerance(), _phase() {}
    294294
    295     /// \brief Destrcutor.
     295    /// \brief Destructor.
    296296    ///
    297297    /// Destructor.
    298298    ~Preflow() {