Example #1
0
 public void UpdateState()
 {
     if (condition != 0)
     {
         var pos = model.Position();
         DrawParticle(pos, model.Best);
     }
     else
     {
         condition++;
     }
 }
Example #2
0
 /// <summary>
 /// Возвращает состояние системы
 /// </summary>
 /// <returns></returns>
 public List <double[]> Position()
 {
     return(model.Position());
 }