Hungarian algorithm: Difference between revisions

Content deleted Content added
FrescoBot (talk | contribs)
m Bot: link syntax and minor changes
Fixed bug in O(n^3) algorithm C++ example code.
Line 207:
}
// update assignments along alternating path
for (int w; w_cur != -1W; w_cur = w) job[w_cur] = job[w = prv[w_cur]];
answers.push_back(-yt[W]);
}