[mlpack-git] [mlpack/mlpack] R+ and R++ trees implementation (#699)

Ryan Curtin notifications at github.com
Wed Jun 29 16:17:52 EDT 2016


> +  /**
> +   * Nullify the auxiliary information in order to prevent an invalid free.
> +   */
> +  void NullifyData();
> +
> +  //! Return the maximum bounding rectangle.
> +  bound::HRectBound<metric::EuclideanDistance, ElemType>& OuterBound()
> +  { return outerBound; }
> +
> +  //! Modify the maximum bounding rectangle.
> +  const bound::HRectBound<metric::EuclideanDistance, ElemType>&
> +      OuterBound() const
> +  { return outerBound; }
> + private:
> +  //! The maximum bounding rectangle.
> +  bound::HRectBound<metric::EuclideanDistance, ElemType> outerBound;

It might be useful to typedef this type since you are using it a lot in the class and the name is long.

---
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/699/files/e165d759f9ae612b9965f70fbbf8abdb19dc8d07#r69019122
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160629/b25e381c/attachment.html>


More information about the mlpack-git mailing list