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

Method flowMap

ot/lp/network_simplex_simple.h:911–916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

909 /// \pre \ref run() must be called before using this function.
910 template <typename FlowMap>
911 void flowMap(FlowMap &map) const {
912 Arc a; _graph.first(a);
913 for (; a != INVALID; _graph.next(a)) {
914 map.set(a, _flow[getArcID(a)]);
915 }
916 }
917
918 /// \brief Return the potential (dual value) of the given node.
919 ///

Callers

nothing calls this directly

Calls 2

firstMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected