Content deleted Content added
m →Connection to successive shortest paths: - link to Johnson's algo page |
→Implementation in C++: - fix incorrect comment |
||
Line 198:
}
// delta will always be non-negative,
// except possibly during the first
// if any entries of C are negative
for (int w = 0; w <= W; ++w) {
if (in_Z[w]) ys[job[w]] += delta, yt[w] -= delta;
Line 262:
}
</syntaxhighlight>
==Connection to successive shortest paths==
|