Categories: None [Edit]

k-tree

https://rubygems.org/gems/k-tree
https://github.com/flajann2/k-tree
This is a data structure to represent and manage k-trees, primarily created for use in RubyNEAT, but may see other possible applications. The goal here is to be roebust in the creation of your k-tree, to allow you to prune during creation, since, especially for higher-dimensional trees, the number of leaf node can become very large. So a parent will have children nodes created down to the desired resolution, and immediately after the creation of the children, will check to see if there's enough variance among the children to keep them. If not, they are pruned immediately.

Total

Ranking: 73,538 of 195,762
Downloads: 13,943

Daily

Ranking: 60,205 of 195,747
Downloads: 3

Depended by

RankDownloadsName
36,60636,532rubyneat

Depends on

RankDownloadsName
13,629,697,366bundler
91,343,682,665json
291,006,320,288rspec
98489,786,530simplecov
156331,387,703rdoc
229230,406,592yard
410128,074,378guard-rspec
4,1322,634,173semver2
14,217164,105juwelier

Owners

#GravatarHandle
1iconalveric