RubyGems Navigation menu

rubytree 1.0.1

RubyTree is a pure Ruby implementation of the generic tree data structure. It provides a node-based model to store named nodes in the tree, and provides simple APIs to access, modify and traverse the structure. The implementation is node-centric, where individual nodes in the tree are the primary structural elements. All common tree-traversal methods (pre-order, post-order, and breadth-first) are supported. The library mixes in the Enumerable and Comparable modules to allow access to the tree as a standard collection (iteration, comparison, etc.). A Binary tree is also provided, which provides the in-order traversal in addition to the other methods. RubyTree supports importing from, and exporting to JSON, and also supports the Ruby's standard object marshaling. This is a BSD licensed open source project, and is hosted at http://github.com/evolve75/RubyTree, and is available as a standard gem from http://rubygems.org/gems/rubytree. The home page for RubyTree is at http://rubytree.anupamsg.me.

版本列表:

  1. 1.0.1 - March 16, 2019 (50.5 KB)
  2. 1.0.0 - December 21, 2017 (50.0 KB)
  3. 0.9.7 - January 01, 2016 (109.0 KB)
  4. 0.9.6 - May 30, 2015 (108.0 KB)
  5. 0.9.5 - May 30, 2015 (108.0 KB)
显示所有 (36 个版本)

作者:

  • Anupam Sengupta

所有者:

SHA 256 checksum:

d53d55ac589fd517254b6ebc62f58109c81ed41dbc9db2a48174cec905b614c8

下载总次数 1,128,969

这个版本 302

Gemfile:
= 复制到剪贴板 已复制

安装:
=

许可:

BSD

需要的 Ruby 版本: >= 2.2

相关链接: