Jump to content

Graph in reverse order

- - - - -

  • Please log in to reply
1 reply to this topic

#1
vasil_9x

vasil_9x

    Newbie

  • Members
  • PipPip
  • 13 posts
Would you give me an algorithm for reversing a graph. I use Adjacency list.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Well, if it's a graph, the question doesn't really make sense. If it's a digraph, do you just want to reverse the direction of each edge?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users