lemon/maps.h
changeset 582 b61354458b59
parent 564 be6646ac5d89
child 609 4137ef9aacc6
equal deleted inserted replaced
30:9c531ecc48f9 31:3f4a918cc02b
  2726     AutoNodeMap _deg;
  2726     AutoNodeMap _deg;
  2727   };
  2727   };
  2728 
  2728 
  2729   /// \brief Potential difference map
  2729   /// \brief Potential difference map
  2730   ///
  2730   ///
  2731   /// PotentialMap returns the difference between the potentials of the
  2731   /// PotentialDifferenceMap returns the difference between the potentials of
  2732   /// source and target nodes of each arc in a digraph, i.e. it returns
  2732   /// the source and target nodes of each arc in a digraph, i.e. it returns
  2733   /// \code
  2733   /// \code
  2734   ///   potential[gr.target(arc)] - potential[gr.source(arc)].
  2734   ///   potential[gr.target(arc)] - potential[gr.source(arc)].
  2735   /// \endcode
  2735   /// \endcode
  2736   /// \tparam GR The digraph type.
  2736   /// \tparam GR The digraph type.
  2737   /// \tparam POT A node map storing the potentials.
  2737   /// \tparam POT A node map storing the potentials.