Different types of trees exist:
- The abstract Tree, from which all trees inherit methods: AbstractTree
- The default type of tree is the Tree class
- SimpleTree is a more minimalistic kind of tree (similar to Tree) in terms of memory
- LimitedTree is limited to a number of children
- BinaryTree is a LimitedTree (limited to 2 children obviously)
-
Add the dependency to your
shard.yml
:dependencies: trees: github: data-niklas/trees
-
Run
shards install
require "trees"
TODO: Write usage instructions here
TODO: Write development instructions here
- Fork it (https://github.com/data-niklas/trees/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Niklas Loeser - creator and maintainer