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

Method firstOut

ot/lp/full_bipartitegraph.h:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 void firstOut(Arc& arc, const Node& node) const {
110 if (node>=_n1)
111 arc = -1;
112 else
113 arc = (node + 1) * _n2 - 1;
114 }
115
116 void nextOut(Arc& arc) const {
117 if (arc % _n2 == 0) arc = 0;

Callers 2

initialPivotsMethod · 0.45
initialPivotsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected