Data and Test Programs The data directory contains a number of sample input files representing boards of different sizes; for example
> "/workspace/project4
$ more data/puzzle04.txt
0 1 3
4 2 5
7 8 6
The program SolverVisualizer accepts the name of an input file as command-line argument, and using your Board and Solver data types graphically solves the sliding block puzzle defined by the file
> "/workspace/project4
$ java SolverVisualizer data/puzzle04.txt
1 2 3
4 5 6
7 8
The program PuzzleChecker accepts the names of an input files as command-line arguments, creates an initial board from each file, and writes to standard output: the filename, minimum number of moves to reach the goal board from the initial board, and the time (in secs) taken; if the initial board is unsolvable, a "-" is written for the number of moves and time taken
> "/workspace/project4
$ java PuzzleChecker data/puzzles.txt
filename moves time
data/puzzle00.txt 0 0.00
data/puzzle01.txt 1 0.00
data/puzzle02.txt 2 0.00
data/puzzle03.txt 3 0.00
data/puzzle04.txt 4 0.00
data/puzzle05.txt 5 0.00
data/puzzle47.txt 47 9.41
data/puzzle48.txt 48 2.13
data/puzzle49.txt 49 19.63
data/puzzle4x4-unsolvable1.txt -
data/puzzle50.txt 50 12.31