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. Advertisements

  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. Advertisements

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. Mark

    aspnet unleashed store

    Mark, Nov 7, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    576
  2. Altu
    Replies:
    2
    Views:
    1,486
    Dimitre Novatchev
    Nov 14, 2007
  3. bukzor

    Directed Graph Traversal

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

    Finding all cycles in a directed graph

    Noé Alejandro, Oct 9, 2010, in forum: Ruby
    Replies:
    2
    Views:
    487
    Jeremy Bopp
    Oct 10, 2010
  6. IRR
    Replies:
    2
    Views:
    796
  7. David Wong
    Replies:
    0
    Views:
    257
    David Wong
    Nov 5, 2012
  8. alb
    Replies:
    8
    Views:
    437
Loading...