[mlpack-git] [mlpack/mlpack] R+ and R++ trees implementation (#699)

Ryan Curtin notifications at github.com
Wed Jun 29 15:16:41 EDT 2016


> +    if (!success)
> +      break;
> +  }
> +  BOOST_REQUIRE_EQUAL(success, true);
> +
> +  for (size_t i = 0; i < tree.NumChildren(); i++)
> +    CheckOverlap(tree.Child(i));
> +}
> +
> +BOOST_AUTO_TEST_CASE(RPlusTreeOverlapTest)
> +{
> +  arma::mat dataset;
> +  dataset.randu(8, 1000); // 1000 points in 8 dimensions.
> +
> +  typedef RPlusTree<EuclideanDistance,
> +      NeighborSearchStat<NearestNeighborSort>,arma::mat> TreeType;

Tiny style issue here, we should put a space between `>,` and `arma::mat`. :)

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/699/files/e165d759f9ae612b9965f70fbbf8abdb19dc8d07#r69009938
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160629/965ef9e6/attachment-0001.html>


More information about the mlpack-git mailing list