CLRS icon indicating copy to clipboard operation
CLRS copied to clipboard

24.1-5 answer

Open newptcai opened this issue 1 year ago • 0 comments

The solution given now is

RELAX(u, v, w)
    if v.d > min(w(u, v), w(u, v) + u.d)
        v.d = min(w(u, v), w(u, v) + u.d)
        v.Ï€ = u.Ï€

This really does not make any sense.

The one given here makes more sense but is obviously incomplete too.

newptcai avatar Nov 14 '23 07:11 newptcai