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

Ryan Curtin notifications at github.com
Wed Jun 29 15:50:06 EDT 2016


> +      return AssignToSecondTree;
> +
> +    return SplitRequired;
> +  }
> +
> +  /**
> +   * Return the maximum bounding rectangle of the node.
> +   * This method should always return the bound that is used for the
> +   * desicion-making in GetSplitPolicy().
> +   *
> +   * @param node The node whose bound is requested.
> +   */
> +  template<typename TreeType>
> +  static const
> +      bound::HRectBound<metric::EuclideanDistance, typename TreeType::ElemType>&
> +          Bound(const TreeType& node)

Do you think this function might be better named `MaximumBound()`?  (I don't have a very strong opinion either way.)

---
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#r69014775
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160629/9266a844/attachment.html>


More information about the mlpack-git mailing list