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

Ryan Curtin notifications at github.com
Mon Jul 18 14:42:21 EDT 2016


> + */
> +template<typename MetricType = metric::LMetric<2, true>,
> +         typename VecType = arma::vec>
> +class HollowBallBound
> +{
> + public:
> +  //! The underlying data type.
> +  typedef typename VecType::elem_type ElemType;
> +  //! A public version of the vector type.
> +  typedef VecType Vec;
> +
> + private:
> +  //! The radius of the inner ball bound.
> +  ElemType innerRadius;
> +  //! The radius of the outer ball bound.
> +  ElemType outerRadius;

It might be reasonable to use `math::Range` here.

---
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/files/6c68a88b9a907079c740e0a6e30b17c1de4bbaec#r71204100
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160718/e2162531/attachment.html>


More information about the mlpack-git mailing list