Loading ...
Sorry, an error occurred while loading the content.

Breadth-Fist Search Algorithm - BFS

Expand Messages
  • Txema Glez Izarzugaza
    Hello everyone, I m working with a graph and I need to calculate the values of C and L, to do so, I need an algorithm to calculate the distance to the other
    Message 1 of 1 , Feb 26, 2004
    • 0 Attachment
      Hello everyone,

      I'm working with a graph and I need to calculate the values of C and L, to do so, I need an algorithm to calculate the distance to the other elements.

      A good one is BFS algorithm.

      I tried to write the script in Perl but I got absolutely lost.

      Can anyone help me?

      Thanks in advance,
      Alquemius

      PS: Please, send me only-text mails

      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.