<p>Hi <a href="https://github.com/rcurtin" class="user-mention">@rcurtin</a> ,<br>
I replaced Candidate with std::pair.<br>
Also, I modified SortPolicy::IsBetter() to return false when the values are equal. This can improve the efficiency, because more nodes can be prunned, and makes code simpler :)<br>
Thanks</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/732#issuecomment-235006920">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFFffXZZfm26bnQSHurVuWnyW_Qzmks5qZOTTgaJpZM4JScnZ">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFDYGqKOvTcEsghAOwVOSf0eKQ5Guks5qZOTTgaJpZM4JScnZ.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/732#issuecomment-235006920"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>