<p>In <a href="https://github.com/mlpack/mlpack/pull/664#discussion_r67956995">src/mlpack/core/tree/rectangle_tree/discrete_hilbert_value.hpp</a>:</p>
<pre style='color:#555'>> + private:
> + //! The number of bits that we can store
> + static constexpr size_t order = sizeof(HilbertElemType) * CHAR_BIT;
> + //! The local dataset
> + arma::Mat<HilbertElemType>* localDataset;
> + //! Indicates that the node owns the local dataset
> + bool ownsLocalDataset;
> + //! The number of values in the local dataset
> + size_t numValues;
> + //! The Hilbert value of the point that is being inserted
> + arma::Col<HilbertElemType>* valueToInsert;
> + //! Indicates that the node owns the valueToInsert
> + bool ownsValueToInsert;
> +
> + /**
> + * Returns true if the node has the largest Hilbert value.
</pre>
<p>I wrote this method when I used an iterator as a pointer to the largest Hilbert value. That was quite complex.</p>
<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/664/files/f9127cea62d5ce1ad8d5f59931de108a2f7cdd9b#r67956995">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFI9AtDOZvqaQf8OHA_LCrlX6JwVPks5qOFn0gaJpZM4IrlzT">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFD3izGtjjelqZ4HFAvUEDG-FrhI_ks5qOFn0gaJpZM4IrlzT.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/664/files/f9127cea62d5ce1ad8d5f59931de108a2f7cdd9b#r67956995"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>