<p>Sorry, I confused about <code>treeNeedsReset</code> in monochromatic search, it is necessary there because we might search with different values for k, which means different bounds.<br>
But, what I mean is that, we can track the reference tree, because it is part of the NeighborSearch class, but we can not track the queryTree.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<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/issues/672#issuecomment-223595131">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFIT0vPpAxng--nX92pW6QQRDT243ks5qIDr9gaJpZM4Itiy7">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFEVE8YbzemcynZWPZvAB1u1-jgEdks5qIDr9gaJpZM4Itiy7.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/issues/672#issuecomment-223595131"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>