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

Method source

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

Source from the content-addressed store, hash-verified

77 int64_t maxArcId() const { return _arc_num - 1; }
78
79 Node source(Arc arc) const { return arc / _n2; }
80 Node target(Arc arc) const { return (arc % _n2) + _n1; }
81
82 static int id(Node node) { return node; }

Callers 8

EMD_wrapFunction · 0.45
EMD_wrap_ompFunction · 0.45
getSourceMethod · 0.45
initialPivotsMethod · 0.45
getSourceMethod · 0.45
initialPivotsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected