| 935 | /// \pre \ref run() must be called before using this function. |
| 936 | template <typename PotentialMap> |
| 937 | void potentialMap(PotentialMap &map) const { |
| 938 | Node n; _graph.first(n); |
| 939 | for (; n != INVALID; _graph.next(n)) { |
| 940 | map.set(n, _pi[_node_id(n)]); |
| 941 | } |
| 942 | } |
| 943 | |
| 944 | /// @} |
| 945 |