Beispiel #1
0
 private PoorManMemoizingPegsSolution(PegBoard pegBoard)
 {
     _pegBoard = pegBoard;
     for (var columnIdx = 0; columnIdx < _pegBoard.Columns; columnIdx++)
     {
         _probabilityByColumn[columnIdx] = 0;
     }
 }
Beispiel #2
0
 public static PoorManMemoizingPegsSolution Create(PegBoard pegBoard)
 {
     return(new PoorManMemoizingPegsSolution(pegBoard));
 }