[mlpack-git] [mlpack/mlpack] Vantage point tree and HRectBound improvements (#760)

lozhnikov notifications at github.com
Sat Aug 13 13:27:57 EDT 2016


> @@ -213,6 +221,21 @@ struct BoundTraits<HollowBallBound<MetricType, ElemType>>
>    const static bool HasTightBounds = false;
>  };
>  
> +namespace meta {
> +
> +template<typename BoundType>
> +struct IsHollowBallBound
> +{
> +  static const bool value = false;
> +};
> +
> +template<typename MetricType, typename ElemType>
> +struct IsHollowBallBound<HollowBallBound<MetricType, ElemType>>
> +{
> +  static const bool value = true;
> +};
> +

yeah, I agree. I thought it will be useful, but then I realized that I needn't it.

-- 
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/760/files/55e15792e4dc2135c6e3421c5dae1322d07b0dcc#r74689613
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160813/d5d4d18d/attachment.html>


More information about the mlpack-git mailing list