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

Method firstIn

ot/lp/full_bipartitegraph.h:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 }
120
121 void firstIn(Arc& arc, const Node& node) const {
122 if (node<_n1)
123 arc = -1;
124 else
125 arc = _arc_num + node - _node_num;
126 }
127
128 void nextIn(Arc& arc) const {
129 arc -= _n2;

Callers 2

initialPivotsMethod · 0.45
initialPivotsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected