[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);

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.

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/20160820/90967085/attachment-0001.html>

More information about the mlpack-git mailing list