Exemple #1
0
 protected void AddPuzzleState()
 {
     _puzzleStates.AddLast(Puzzle.CopyPuzzleState());
 }
Exemple #2
0
 public void Dispose()
 {
     _puzzleStates.Clear();
     Puzzle.Dispose();
 }
Exemple #3
0
 protected PuzzleSolver(TPuzzle puzzle)
 {
     Puzzle = puzzle;
     _puzzleStates.AddFirst(Puzzle.CopyPuzzleState());
 }