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: 74,088 of 197,085
Downloads: 14,016

Daily

Ranking: 87,723 of 197,066
Downloads: 0

Depended by

RankDownloadsName
36,86936,748rubyneat

Depends on

RankDownloadsName
13,796,160,121bundler
91,392,216,932json
291,025,379,194rspec
98505,778,426simplecov
150353,290,307rdoc
233237,222,219yard
418130,367,114guard-rspec
4,1262,735,680semver2
14,303166,632juwelier

Owners

#GravatarHandle
1iconalveric