MCPcopy Create free account
hub / github.com/PythonOT/POT / potentialMap

Method potentialMap

ot/lp/network_simplex_simple.h:937–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

firstMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected