The following results are obtained using the "
number of tiles out
of place" heuristic.
For each benchmark, the results for
breadth-first state space search
(which finds a shortest path) are shown first for comparison.
The following results are obtained using the "
number of tiles out
of place" heuristic.
For each benchmark, the results for
best-first search
are shown first for comparison.
The following results are obtained using the "
sum of Manhattan
distances out of place" heuristic (search type
A* Man).
For each benchmark, the results using the "
number of tiles out of
place" (search type
A*) heuristic are shown first for
comparison.
The following results are obtained using the "
number of tiles out
of place" heuristic.
For some benchmarks, the results for
breadth-first state space search
are shown first for comparison.
The following results are obtained using the "
number of tiles out
of place" heuristic.
The results for
best-first search
are shown first for comparison.
The following results are obtained using the "
sum of Manhattan
distances out of place" heuristic (search type
A* Man).
For some benchmarks, the results using the "
number of tiles out of
place" heuristic (search type
A*) are shown first for
comparison.
FWGC |
7 |
Graph BFS |
7 |
10 |
2 |
20 |
2 |
10 |
FWGC |
7 |
Graph DFS |
7 |
10 |
1 |
19 |
3 |
8 |
8-Puz 1 |
5 |
Graph BFS |
5 |
87 |
3 |
138 |
37 |
50 |
8-Puz 1 |
5 |
Graph DFS |
147 |
181,432 |
1,133 |
362,727 |
48,728 |
302,041 |
8-Puz 2 |
10 |
Graph BFS |
10 |
1,221 |
4 |
1,992 |
451 |
850 |
8-Puz 2 |
10 |
Graph DFS |
13,854 |
26,356 |
50 |
40,672 |
12,041 |
15,519 |
8-Puz 3 |
13 |
Graph BFS |
13 |
3,416 |
5 |
5,475 |
1,358 |
2,303 |
8-Puz 3 |
13 |
Graph DFS |
6,821 |
181,024 |
979 |
356,013 |
48,533 |
286,339 |
8-Puz 4 |
18 |
Graph BFS |
18 |
34,472 |
73 |
57,532 |
11,414 |
28,775 |
8-Puz 4 |
18 |
Graph DFS |
7,300 |
180,979 |
970 |
355,453 |
48,272 |
285,101 |
8-Puz 5 |
20 |
Graph BFS |
20 |
62,897 |
171 |
108,611 |
17,208 |
60,542 |
8-Puz 5 |
20 |
Graph DFS |
1,014 |
181,378 |
1,004 |
361,854 |
48,684 |
299,998 |
8-Puz 6 |
24 |
Graph BFS |
24 |
149,763 |
719 |
277,700 |
24,974 |
196,392 |
8-Puz 6 |
24 |
Graph DFS |
9,604 |
180,755 |
959 |
352,997 |
48,277 |
279,656 |
8-Puz 7 |
30 |
Graph BFS |
30 |
181,440 |
1,078 |
362,852 |
24,977 |
302,329 |
8-Puz 7 |
30 |
Graph DFS |
7,360 |
180,948 |
1,036 |
355,309 |
48,519 |
284,877 |
8-Puz 8 |
30 |
Graph BFS |
30 |
181,440 |
1,078 |
362,773 |
24,974 |
302,101 |
8-Puz 8 |
30 |
Graph DFS |
10,544 |
180,678 |
951 |
352,007 |
48,277 |
277,418 |
FWGC |
7 |
State Space BFS |
7 |
10 |
1 |
20 |
2 |
10 |
FWGC |
7 |
State Space DFS |
7 |
10 |
1 |
19 |
3 |
8 |
8-Puz 1 |
5 |
State Space BFS |
5 |
87 |
15 |
138 |
37 |
50 |
8-Puz 1 |
5 |
State Space DFS |
147 |
181,432 |
1,017 |
362,727 |
48,728 |
302,041 |
8-Puz 2 |
10 |
State Space BFS |
10 |
1,221 |
6 |
1,992 |
451 |
850 |
8-Puz 3 |
13 |
State Space BFS |
13 |
3,416 |
7 |
5,475 |
1,358 |
2,303 |
8-Puz 4 |
18 |
State Space BFS |
18 |
34,472 |
86 |
57,532 |
11,414 |
28,775 |
8-Puz 5 |
20 |
State Space BFS |
20 |
62,897 |
143 |
108,611 |
17,208 |
60,542 |
8-Puz 6 |
24 |
State Space BFS |
24 |
149,763 |
743 |
277,700 |
24,974 |
196,392 |
8-Puz 7 |
30 |
State Space BFS |
30 |
181,440 |
1,071 |
362,852 |
24,977 |
302,329 |
8-Puz 8 |
30 |
State Space BFS |
30 |
181,440 |
1,205 |
362,773 |
24,974 |
302,101 |
15-Puz 1 |
8 |
State Space BFS |
8 |
1754 |
28 |
2598 |
911 |
892 |
15-Puz 2 |
16 |
State Space BFS |
16 |
613,153 |
2,005 |
927,455 |
298,852 |
364,085 |
15-Puz 3 |
33 |
State Space BFS |
Out of memory |
8-Puz 1 |
5 |
Best-First |
5 |
14 |
9 |
21 |
8 |
5 |
8-Puz 2 |
10 |
Best-First |
66 |
747 |
47 |
1,199 |
296 |
493 |
8-Puz 3 |
13 |
Best-First |
45 |
661 |
22 |
1,056 |
267 |
431 |
8-Puz 4 |
18 |
Best-First |
42 |
633 |
6 |
1,022 |
245 |
437 |
8-Puz 5 |
20 |
Best-First |
76 |
1,834 |
14 |
2,947 |
722 |
1,247 |
8-Puz 6 |
24 |
Best-First |
86 |
1,890 |
13 |
3,023 |
758 |
1,267 |
8-Puz 7 |
30 |
Best-First |
124 |
2,423 |
10 |
3,894 |
953 |
1,628 |
8-Puz 8 |
30 |
Best-First |
86 |
840 |
9 |
1,355 |
326 |
556 |
15-Puz 1 |
8 |
Best-First |
8 |
17 |
2 |
26 |
9 |
7 |
15-Puz 2 |
16 |
Best-First |
82 |
1,401 |
10 |
2,078 |
725 |
726 |
15-Puz 3 |
33 |
Best-First |
307 |
22,292 |
90 |
33,193 |
11,392 |
11,916 |
15-Puz 4 |
38 |
Best-First |
298 |
16,549 |
92 |
24,486 |
8,613 |
8,717 |
15-Puz 5 |
42 |
Best-First |
522 |
95,740 |
415 |
144,559 |
46,922 |
55,724 |
15-Puz 6 |
44 |
Best-First |
414 |
36,142 |
160 |
53,996 |
18,289 |
19,753 |
15-Puz 7 |
50 |
Best-First |
374 |
27,164 |
118 |
40,630 |
13,699 |
14,553 |
15-Puz 8 |
54 |
Best-First |
316 |
21,335 |
81 |
32,465 |
10,206 |
12,571 |
8-Puz 1 |
5 |
A* |
5 |
14 |
12 |
21 |
8 |
5 |
8-Puz 2 |
10 |
A* |
10 |
57 |
20 |
89 |
26 |
30 |
8-Puz 3 |
13 |
A* |
13 |
191 |
31 |
298 |
85 |
106 |
8-Puz 4 |
18 |
A* |
18 |
3,096 |
62 |
5,007 |
1,186 |
2,128 |
8-Puz 5 |
20 |
A* |
20 |
4,481 |
14 |
7,216 |
1,747 |
3,058 |
8-Puz 6 |
24 |
A* |
24 |
28,457 |
136 |
47,645 |
9,270 |
23,794 |
8-Puz 7 |
30 |
A* |
30 |
130,137 |
795 |
234,386 |
26,102 |
151,721 |
8-Puz 8 |
30 |
A* |
30 |
131,947 |
845 |
239,640 |
24,988 |
158,746 |
15-Puz 1 |
8 |
A* |
8 |
17 |
1 |
26 |
9 |
7 |
15-Puz 2 |
16 |
A* |
16 |
341 |
4 |
501 |
182 |
161 |
15-Puz 3 |
33 |
A* |
33 |
8,904,578 |
99,299 |
13,538,743 |
4,270,414 |
5,515,032 |
15-Puz 4 |
38 |
A* |
Out of memory |
8-Puz 1 |
5 |
A* Man |
5 |
12 |
4 |
18 |
7 |
4 |
8-Puz 2 |
10 |
A* Man |
10 |
24 |
16 |
37 |
12 |
11 |
8-Puz 3 |
13 |
A* Man |
13 |
48 |
7 |
75 |
22 |
25 |
8-Puz 4 |
18 |
A* Man |
18 |
853 |
43 |
1,378 |
329 |
562 |
8-Puz 5 |
20 |
A* Man |
20 |
605 |
7 |
974 |
237 |
399 |
8-Puz 6 |
24 |
A* Man |
24 |
2,928 |
24 |
4,779 |
1,078 |
2,108 |
8-Puz 7 |
30 |
A* Man |
30 |
1,768 |
27 |
2,873 |
664 |
1,158 |
8-Puz 8 |
30 |
A* Man |
30 |
11,275 |
49 |
18,547 |
4,004 |
8,335 |
15-Puz 1 |
8 |
A* Man |
8 |
17 |
1 |
26 |
9 |
7 |
15-Puz 2 |
16 |
A* Man |
16 |
82 |
2 |
120 |
45 |
36 |
15-Puz 3 |
33 |
A* Man |
33 |
8,009 |
44 |
11,891 |
4,128 |
4,092 |
15-Puz 4 |
38 |
A* Man |
38 |
23,551 |
138 |
35,537 |
11,566 |
12,898 |
15-Puz 5 |
42 |
A* Man |
42 |
294,092 |
2,302 |
446,161 |
142,024 |
168,704 |
15-Puz 6 |
44 |
A* Man |
44 |
274,192 |
2,472 |
416,570 |
131,815 |
157,349 |
15-Puz 7 |
50 |
A* Man |
50 |
190,541 |
1,398 |
289,054 |
92,029 |
103,780 |
15-Puz 8 |
54 |
A* Man |
54 |
4,071,100 |
48,608 |
6,270,195 |
1,872,006 |
2,447,958 |