469,914 Members | 2,192 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,914 developers. It's quick & easy.

C Unleashed Graphs are not Directed

Hi all,

I'm at work and I don't have a copy of C Unleashed here with me, I have
it at home. However, I'd like someone to confirm me that the Graph code
of C Unleashed is not for Directed Graphs. Is this right?
The issue is that in Cormen Introduction to Algorithms they mention
that BellmanFord is for a weighted directed graph but the solution
provided by running the testing2.cbb (which calls the Bellman function
in shpath.c) seems to be for an undirected graph which is at least
odd. Can someone clear me on this?

Cheers,

Paulo Matos

Nov 14 '05 #1
1 1159
Opps, sorry, It's for directed graphs... I just missed a few points
trying to do the example with pen and paper. :)

Cheers,

Paulo Matos

Nov 14 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by TheDD | last post: by
16 posts views Thread by David Lauberts | last post: by
5 posts views Thread by Curious | last post: by
13 posts views Thread by pocmatos | last post: by
prometheuzz
4 posts views Thread by prometheuzz | last post: by
25 posts views Thread by Joe Wright | last post: by
6 posts views Thread by Carl Banks | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.