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

Method flowMap

ot/lp/network_simplex_simple_omp.h:1043–1048  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1041 /// \pre \ref run() must be called before using this function.
1042 template <typename FlowMap>
1043 void flowMap(FlowMap &map) const {
1044 Arc a; _graph.first(a);
1045 for (; a != INVALID; _graph.next(a)) {
1046 map.set(a, _flow[getArcID(a)]);
1047 }
1048 }
1049
1050 /// \brief Return the potential (dual value) of the given node.
1051 ///

Callers

nothing calls this directly

Calls 2

firstMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected