<blockquote>
<p>But note that we never visit (N_q0, N_r1) or (N_q0, N_r2), so base cases will not be performed between any points in N_q0 and N_r1 or N_r2, and the results end up being wrong.</p>
</blockquote>

<p>That was my mistake, I did not point out the difference in the traversers. I use the single tree traverser for a query point and a reference node. But if a reference node contains a point I fire off all base cases <code>BaseCase(queryNode.Descendant(i), referenceNode.Point(0))</code> since we have not got the score algorithm for a query node and a reference point. Is it possible to implement the score algorithm for a query node and a reference point?</p>

<blockquote>
<p>Maybe there is an error somewhere, where the bounds are way looser than they need to be?</p>
</blockquote>

<p>Could that happen due to a huge overlap?</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/pull/708#issuecomment-234487133">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFFtflRBmrd-cu6qEga8zQ65MEwjfks5qYIGogaJpZM4I_COp">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFJJytWVgy6iRpUJIXs_58qxXNEraks5qYIGogaJpZM4I_COp.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/708#issuecomment-234487133"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>