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,654 of 180,534
Downloads: 11,178

Daily

Ranking: 35,669 of 180,529
Downloads: 5

Depended by

RankDownloadsName
36,35229,026rubyneat

Depends on

RankDownloadsName
12,085,680,397bundler
17813,637,751json
23769,475,710rspec
102312,747,334simplecov
214147,080,407rdoc
222142,522,946yard
38883,208,228guard-rspec
4,5761,236,835semver2
17,28182,892juwelier

Owners

#GravatarHandle
1iconalveric