Exercise Lover

June 28, 2007

Exercises 24.1-6

Filed under: 24.1 — yuhanlyu @ 2:26 pm

Run Bellman-Ford algorithm, if we find some u,v pair such that d[v] > d[u]+w(u,v). We just need to repeatedly follow the π value until we get back to u.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.