Exemple #1
0
 private void deleteInListCells(List <Cell> cells, Cell cell, Cell nextCell)
 {
     cells = cells.FindAll(Mycell => !Mycell.EqualsInValueAndHypothesis(cell) && !Mycell.EqualsInValueAndHypothesis(nextCell));
     foreach (String hypothesisString in cell.hypothesis)
     {
         foreach (Cell tempCell in cells)
         {
             tempCell.hypothesis.Remove(hypothesisString);
         }
     }
 }