Hello.
I'm using
networkx.algorithms.matching.max_weight_matching and now going to confirm that the time complexity of max_weight_matching as O(number of nodes**3) as described in the document, but there is no function returning the number of iterations in the actual calculation.
I think I can solve it if I count the number of iterations at the line just below line 786 "for w in G.neighbors(v):" in "\networkx\algorithms\matching.py" because the alternating path is created there by searching the all nodes.
However, the result was O(number of nodes**2), and I'm wondering if I should also count the number at the other line.
If does anyone know about this, please tell me how to count exactly the number of iterations.
Thanks.