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

Method potential

ot/lp/network_simplex_simple.h:924–926  ·  view source on GitHub ↗

\brief Return the potential (dual value) of the given node. This function returns the potential (dual value) of the given node. \pre \ref run() must be called before using this function.

Source from the content-addressed store, hash-verified

922 ///
923 /// \pre \ref run() must be called before using this function.
924 Cost potential(const Node& n) const {
925 return _pi[_node_id(n)];
926 }
927
928 /// \brief Return the potential map (the dual solution).
929 ///

Callers 2

EMD_wrapFunction · 0.45
EMD_wrap_ompFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected