Menu

Floyd Warshall Vs Jung

Anonymous
2012-04-26
2013-05-29
  • Anonymous

    Anonymous - 2012-04-26

    Hi all,

    I want to use the Floyd Warshall algorithm for finding the shortest path in a graph and I wonder if this algorithm is not supported by JUNG .

    If anyone can help me

     
  • sik00r

    sik00r - 2012-04-26

    You can write this algorithm yourself.

     
  • Anonymous

    Anonymous - 2012-04-26

    So from your answer, this algorithm is not supported yet by JUNG
    PS: I am new to Java world, this is why I am looking for a class (or code) already made

     
  • Joshua O'Madadhain

    JUNG does not currently include an implementation of Floyd-Warshall, although it does include an implementation of Dijkstra's algorithm.

    That said, F-W is one of the easiest graph algorithms to implement, so if you understand it, implementing it using JUNG ought to be pretty easy once you understand Java (and if you are not comfortable with Java, you'll need to become so in order to use any Java library).

    For getting accustomed to Java, we recommend the tutorials on the Oracle Java site. 

    Joshua

     
  • sik00r

    sik00r - 2012-04-26

    Exactly.

     

Log in to post a comment.