LEMON 1.0.7
|
If there is an potential map on the nodes then we can get an arc map as we get the substraction of the values of the target and source.
#include <lemon/maps.h>
Public Member Functions | |
PotentialDifferenceMap (const Digraph &digraph, const NodeMap &potential) | |
Constructor. | |
Value | operator[] (const Key &arc) const |
Const subscription operator. | |
Related Functions | |
(Note that these are not member functions.) | |
template<typename Digraph , typename NodeMap > | |
PotentialDifferenceMap < Digraph, NodeMap > | potentialDifferenceMap (const Digraph &digraph, const NodeMap &potential) |
Returns a PotentialDifferenceMap. |
PotentialDifferenceMap | ( | const Digraph & | digraph, |
const NodeMap & | potential | ||
) | [inline, explicit] |
Contructor of the map
Value operator[] | ( | const Key & | arc | ) | const [inline] |
Const subscription operator