<p>In <a href="https://github.com/mlpack/mlpack/pull/708#discussion_r71907333">src/mlpack/core/tree/vantage_point_tree/dual_tree_traverser_impl.hpp</a>:</p>
<pre style='color:#555'>&gt; +  }
&gt; +}
&gt; +
&gt; +template&lt;typename MetricType,
&gt; +         typename StatisticType,
&gt; +         typename MatType,
&gt; +         template&lt;typename BoundMetricType, typename...&gt; class BoundType,
&gt; +         template&lt;typename SplitBoundType, typename SplitMatType&gt;
&gt; +             class SplitType&gt;
&gt; +template&lt;typename RuleType&gt;
&gt; +void VantagePointTree&lt;MetricType, StatisticType, MatType, BoundType, SplitType&gt;::
&gt; +DualTreeTraverser&lt;RuleType&gt;::Traverse(
&gt; +    const size_t queryIndex,
&gt; +    VantagePointTree&lt;MetricType, StatisticType, MatType, BoundType, SplitType&gt;&amp;
&gt; +        referenceNode)
&gt; +{
</pre>
<p><code>SingleTreeTraverser</code> does not take care of <code>traversalInfo</code>. If I am not mistaken <code>Score(queryIndex, referenceNode)</code> also does not modify <code>traversalInfo</code>. So I think in order to do that we should simply add a <code>SingleTreeTraverser</code> object to <code>DualTreeTraverser</code>. But <code>numBaseCases</code> will be wrong... I should think about that.</p>

<p>Is it a good idea to use an inherited class here?.</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/files/300882ac96e7a663e3e303ca0c45c14c6fafe1a6#r71907333">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFNYv-pfa1xOHXxOE_D06yMj_UBDPks5qYPC0gaJpZM4I_COp">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFHWy1hzUISyhw_u-SlfUVCd9LN-Gks5qYPC0gaJpZM4I_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/files/300882ac96e7a663e3e303ca0c45c14c6fafe1a6#r71907333"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>