[mlpack-git] [mlpack/mlpack] Use move semantics to set a given reference tree in NeighborSearch class. (#765)
notifications at github.com
Mon Aug 29 14:43:04 EDT 2016
@rcurtin Thanks for your comments!
I agree that we should provide access to the reference tree, through a method like ReferenceTree(), so users can get it back in case this is necessary. I have updated the code including your suggestions.
However, with current implementation, we can't do what you proposes. I mean, use the same tree for KNN and KFN, because that trees consider different statistic types (NeighborSearchStat includes a template parameter: SortPolicy), so the compiler rejects that code.
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...
More information about the mlpack-git