[mlpack-git] [mlpack/mlpack] Modify NSModel to use boost variant. (#693)
MarcosPividori
notifications at github.com
Mon Jun 13 16:31:29 EDT 2016
> +{
> + private:
> + const size_t k;
> + arma::Mat<size_t>& neighbors;
> + arma::mat& distances;
> +
> + public:
> + template<typename NSType>
> + void operator()(NSType *ns) const;
> +
> + SearchKVisitor(const size_t k,
> + arma::Mat<size_t>& neighbors,
> + arma::mat& distances);
> +};
> +
> +class SearchVisitor : public boost::static_visitor<void>
Ok, I agree. I will change this.
---
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/693/files/86a9852f19daf58e4ae5a3d3ca745deee43d8d16#r66861620
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160613/6bde29c9/attachment.html>
More information about the mlpack-git
mailing list