Beispiel #1
0
 private int DistanceToObjetive()
 {
     if (!CalculatedNumbers.Any())
     {
         return(Objetive);
     }
     return(Math.Abs(Objetive - CalculatedNumbers.First().Value));
 }
Beispiel #2
0
 private int YourNumber()
 {
     if (!CalculatedNumbers.Any())
     {
         return(Objetive);
     }
     return(CalculatedNumbers.First().Value);
 }