magikker / TreeHouse-Private

TreeHouse development.
GNU General Public License v3.0
0 stars 0 forks source link

randomly sampled tree sets #40

Closed magikker closed 11 years ago

magikker commented 11 years ago

We should have a function that will return a random sampling of a treeset. Should take a treeset to take a sample from, and a number of trees to sample. Returns a treeset

jaHoltz commented 11 years ago

Added sample_trees, returns a set of the requested size of randomly selected trees from the input set.