<p>I removed <code>RectangleTree::Children()</code>. Thus, <code>SplitType</code> and <code>AuxiliaryInformationType</code> become friend classes of the <code>RectangleTree</code> class.<br>
Moreover, I made some RectangleTree::NumDescendants() optimizations proposed by Marcos Pividori.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/mlpack/mlpack/pull/711'>https://github.com/mlpack/mlpack/pull/711</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Remove RectangleTree:Children().</li>
<li>RectangleTree:NumDescendants() optimization</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-0">src/mlpack/core/tree/rectangle_tree/discrete_hilbert_value_impl.hpp</a>
(28)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-1">src/mlpack/core/tree/rectangle_tree/dual_tree_traverser_impl.hpp</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-2">src/mlpack/core/tree/rectangle_tree/hilbert_r_tree_auxiliary_information_impl.hpp</a>
(14)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-3">src/mlpack/core/tree/rectangle_tree/hilbert_r_tree_descent_heuristic_impl.hpp</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-4">src/mlpack/core/tree/rectangle_tree/hilbert_r_tree_split_impl.hpp</a>
(87)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-5">src/mlpack/core/tree/rectangle_tree/r_star_tree_descent_heuristic_impl.hpp</a>
(44)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-6">src/mlpack/core/tree/rectangle_tree/r_star_tree_split_impl.hpp</a>
(87)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-7">src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic_impl.hpp</a>
(30)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-8">src/mlpack/core/tree/rectangle_tree/r_tree_split_impl.hpp</a>
(59)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-9">src/mlpack/core/tree/rectangle_tree/rectangle_tree.hpp</a>
(13)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-10">src/mlpack/core/tree/rectangle_tree/rectangle_tree_impl.hpp</a>
(72)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-11">src/mlpack/core/tree/rectangle_tree/single_tree_traverser_impl.hpp</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-12">src/mlpack/core/tree/rectangle_tree/x_tree_split_impl.hpp</a>
(103)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/mlpack/mlpack/pull/711/files#diff-13">src/mlpack/tests/rectangle_tree_test.cpp</a>
(147)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/mlpack/mlpack/pull/711.patch'>https://github.com/mlpack/mlpack/pull/711.patch</a></li>
<li><a href='https://github.com/mlpack/mlpack/pull/711.diff'>https://github.com/mlpack/mlpack/pull/711.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/711">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFK38ZF-NceR2l9ofZX6rtVjqFUeyks5qQlSmgaJpZM4JBBu4">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFLiflfdU0onDfSEJKcxgic9S-Jsdks5qQlSmgaJpZM4JBBu4.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/pull/711"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>