COIN-OR::LEMON - Graph Library

Changes in / [757:9fbbd802020f:756:53bea38f71cb] in lemon-1.2


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r752 r629  
    1818        cmake/FindGLPK.cmake \
    1919        cmake/FindCOIN.cmake \
    20         cmake/LEMONConfig.cmake.in \
    2120        cmake/version.cmake.in \
    2221        cmake/version.cmake \
  • lemon/path.h

    r751 r559  
    10161016  /// \brief The source of a path
    10171017  ///
    1018   /// This function returns the source node of the given path.
    1019   /// If the path is empty, then it returns \c INVALID.
     1018  /// This function returns the source of the given path.
    10201019  template <typename Digraph, typename Path>
    10211020  typename Digraph::Node pathSource(const Digraph& digraph, const Path& path) {
    1022     return path.empty() ? INVALID : digraph.source(path.front());
     1021    return digraph.source(path.front());
    10231022  }
    10241023
    10251024  /// \brief The target of a path
    10261025  ///
    1027   /// This function returns the target node of the given path.
    1028   /// If the path is empty, then it returns \c INVALID.
     1026  /// This function returns the target of the given path.
    10291027  template <typename Digraph, typename Path>
    10301028  typename Digraph::Node pathTarget(const Digraph& digraph, const Path& path) {
    1031     return path.empty() ? INVALID : digraph.target(path.back());
     1029    return digraph.target(path.back());
    10321030  }
    10331031
Note: See TracChangeset for help on using the changeset viewer.