/// <summary>
 /// Increase the query label count for a specific label.
 /// </summary>
 /// <param name="nLabel">Specifies the label who's query count is to be increased.</param>
 /// <param name="nBoost">Specifies the boost of the image, or 0 if not boosted.</param>
 public void SetQueryLabelCount(int nLabel, int nBoost)
 {
     if (m_rgLabelStats != null)
     {
         m_rgLabelStats.UpdateLabel(nLabel);
         m_rgLabelStats.UpdateBoost(nBoost);
     }
 }
Exemple #2
0
 /// <summary>
 /// Update the label stats.
 /// </summary>
 /// <param name="sd">Specifies the recently queried simple datum.</param>
 public void UpdateStats(SimpleDatum sd)
 {
     m_stat.UpdateLabel(sd.Label);
     m_stat.UpdateBoost(sd.Boost);
 }