[mlpack-git] [mlpack/mlpack] General greedy traverser. (#762)
MarcosPividori
notifications at github.com
Sat Aug 20 17:05:35 EDT 2016
> @@ -309,14 +412,21 @@ class NeighborSearch
> //! Return the number of node combination scores during the last search.
> size_t Scores() const { return scores; }
>
> + //! Access the search mode.
> + NeighborSearchMode SearchMode() const { return searchMode; }
> + //! Modify the search mode.
> + void SetSearchMode(const NeighborSearchMode mode);
@rcurtin
Ok, I have updated the code. Now, you can only modify and access to the search mode through the booleans: `Naive()`, `SingleMode()` and `Greedy()`. (I removed `SearchMode()` and `SetSearchMode()`)
For version `3.0.0` we can remove all of that flags, and instead use a new method `NeighborSearchMode& SearchMode()`.
I have made a new PR in https://github.com/mlpack/mlpack/pull/768 to include these changes.
I think everything is backward compatible now.
Thanks,
--
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/762/files/f8ddd58ece06362024944a6533f68074a6b27ef7#r75584833
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160820/90967085/attachment-0001.html>
More information about the mlpack-git
mailing list