RubyGems.org

gratr

0.4.2

GRATR is a framework for graph data structures and algorithms. This library is a fork of RGL. This version utilizes Ruby blocks and duck typing to greatly simplfy the code. It also supports export to DOT format for display as graphics. GRATR currently contains a core set of algorithm patterns: * Breadth First Search * Depth First Search * A* Search * Floyd-Warshall * Best First Search * Djikstra's Algorithm * Lexicographic Search The algorithm patterns by themselves do not compute any meaningful quantities over graphs, they are merely building blocks for constructing graph algorithms. The graph algorithms in GRATR currently include: * Topological Sort * Strongly Connected Components * Transitive Closure * Rural Chinese Postman * Biconnected

installgem install gratr -v 0.4.2
Authors

Shawn Garbett

4,984 total downloads 1,478 for this version
Owners

400b2c1a72732cd01472da7ded58e677Ea6905beef63a84a75793f4f72cb8ff7

Gemfile
gem 'gratr', '~> 0.4.2'
Versions
  1. 0.4.3 January 4, 2007 (343 KB)
  2. 0.4.2 January 1, 2007 (327 KB)