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