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

Method potentialMap

ot/lp/network_simplex_simple_omp.h:1069–1074  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1067 /// \pre \ref run() must be called before using this function.
1068 template <typename PotentialMap>
1069 void potentialMap(PotentialMap &map) const {
1070 Node n; _graph.first(n);
1071 for (; n != INVALID; _graph.next(n)) {
1072 map.set(n, _pi[_node_id(n)]);
1073 }
1074 }
1075
1076 /// @}
1077

Callers

nothing calls this directly

Calls 2

firstMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected