void IFitnessFunction.reset()
 {
     accum   = 0.0;
     allLeft = false;
     if (grid != null)
     {
         grid.reset_viewed();
     }
 }
示例#2
0
 void IFitnessFunction.reset()
 {
     dist_trav  = 0.0;
     coll_count = 0;
     accum      = 0.0;
     if (grid != null)
     {
         grid.reset_viewed();
     }
 }