[mlpack-git] [mlpack/mlpack] Vantage point tree (#708)

Ryan Curtin notifications at github.com
Mon Jul 11 17:46:22 EDT 2016


Ah hang on, what I wrote is not quite right. The left node holds the centroid point but the right node does not. So we  can leave `FirstPointIsCentroid` set to false and get a little bit of calculation duplication or we can try to do something crazy and set `FirstPointIsCentroid` to `true` for the left children and `false` for the right children.

But since `FirstPointIsCentroid` is a static compile time constant, we would need the types of the left and right children to be different. Let me think about how it might be possible to get the desired behavior...

---
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/708#issuecomment-231875582
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160711/7906763b/attachment.html>


More information about the mlpack-git mailing list