C Unleashed Graphs are not Directed

Discussion in 'C Programming' started by pocm@mega.ist.utl.pt, Feb 7, 2005.

  1. Guest

    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
    , Feb 7, 2005
    #1
    1. Advertising

  2. Guest

    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
    , Feb 7, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Altu
    Replies:
    2
    Views:
    1,354
    Dimitre Novatchev
    Nov 14, 2007
  2. bukzor

    Directed Graph Traversal

    bukzor, Apr 1, 2008, in forum: Python
    Replies:
    3
    Views:
    1,713
    bukzor
    Apr 3, 2008
  3. Carl Banks
    Replies:
    6
    Views:
    336
    Aaron Brady
    Oct 28, 2008
  4. Noé Alejandro

    Finding all cycles in a directed graph

    Noé Alejandro, Oct 9, 2010, in forum: Ruby
    Replies:
    2
    Views:
    306
    Jeremy Bopp
    Oct 10, 2010
  5. David Wong
    Replies:
    0
    Views:
    174
    David Wong
    Nov 5, 2012
Loading...

Share This Page