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,977 of 184,846
Downloads: 11,950

Daily

Ranking: 62,389 of 184,826
Downloads: 5

Depended by

RankDownloadsName
36,97230,867rubyneat

Depends on

RankDownloadsName
12,637,369,220bundler
14993,320,243json
26856,325,295rspec
99376,437,099simplecov
202192,039,552rdoc
225171,533,444yard
388103,541,735guard-rspec
4,3831,663,991semver2
17,44690,982juwelier

Owners

#GravatarHandle
1iconalveric