[mlpack-git] [mlpack/mlpack] cover tree could rearrange descendants in memory for faster accesses (#275)

Ryan Curtin notifications at github.com
Mon Apr 4 22:41:29 EDT 2016

Hi Naman,

Take a look at the code for BinarySpaceTree (src/mlpack/core/tree/binary_space_tree).  The BinarySpaceTree, because it rearranges descendants, must make a copy of the const data matrix, or otherwise the data matrix must be passed as an rvalue reference.  You can make the same modification for the cover tree.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160404/b020a3a7/attachment-0001.html>

More information about the mlpack-git mailing list