How to build a Weighted Graph with Ruby's RGL or GRATR to perform Dijkstra's algorithm?

Posted by Andres on Stack Overflow See other posts from Stack Overflow or by Andres
Published on 2010-05-28T13:56:44Z Indexed on 2010/05/28 14:12 UTC
Read the original article Hit count: 307

Filed under:
|
|
|

I would like to see an example of a Dijkastra search algorithm for a graph built using Ruby's RGL (http://rgl.rubyforge.org/) or GRATR (http://rubyforge.org/projects/gratr/).

I know GRATR has Dijkastra support but I'm not really sure how to go about using it, any help would be appreciated.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about rubygems