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

Ryan Curtin notifications at github.com
Thu Jul 21 19:40:52 EDT 2016


> +}
> +
> +//! Return the minimum distance from the center to any bound edge.
> +template<typename MetricType,
> +         typename StatisticType,
> +         typename MatType,
> +         template<typename BoundMetricType, typename...> class BoundType,
> +         template<typename SplitBoundType, typename SplitMatType>
> +             class SplitType>
> +inline
> +typename VantagePointTree<MetricType, StatisticType, MatType, BoundType,
> +    SplitType>::ElemType
> +VantagePointTree<MetricType, StatisticType, MatType, BoundType,
> +    SplitType>::MinimumBoundDistance() const
> +{
> +  return bound.MinWidth() / 2.0;

In this case I think this will just be `bound.OuterRadius()`. (That's the same as this, I think, just without a division.)

---
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/300882ac96e7a663e3e303ca0c45c14c6fafe1a6#r71807025
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160721/ddc56b38/attachment.html>


More information about the mlpack-git mailing list