Example #1
0
 public void Consider(T t)
 {
     if (!initialized || comp.better(t, bestSoFar))
     {
         bestSoFar = t;
     }
     initialized = true;
 }