RubyGems Navigation menu

gratr 0.4.3

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

Gemfile
          gem 'gratr', '~> 0.4.3'
  
  
  
  
  
  
  

install
          gem install gratr
  
  
  
  
  
  
  

Total downloads 5,163

For this version 3,619

Required Ruby Version: None

Links:

Versions:

  1. 0.4.3 - January 4, 2007 (343 KB)
  2. 0.4.2 - January 1, 2007 (327 KB)