equal
deleted
inserted
replaced
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. |