-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.txt
60 lines (42 loc) · 1.41 KB
/
test.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Input Board:
1 x 3
5 2 6
4 7 8
Goal Board:
1 2 3
4 5 6
7 8 x
============ Steepest-Ascent Hill-Climbing ============
Algorithm: Steepest-Ascent Hill-Climbing
Heuristic: Tile-Out-Of-Place
Number of Steps: 5
1 2 3 1 2 3 1 2 3 1 2 3 1 2 3
5 x 6 x 5 6 4 5 6 4 5 6 4 5 6
4 7 8 4 7 8 x 7 8 7 x 8 7 8 x
Heuristic: Number of Move to Correct Position
Number of Steps: 5
1 2 3 1 2 3 1 2 3 1 2 3 1 2 3
5 x 6 x 5 6 4 5 6 4 5 6 4 5 6
4 7 8 4 7 8 x 7 8 7 x 8 7 8 x
Heuristic: Tile out of Colume + Tile out of Row
Number of Steps: 5
1 2 3 1 2 3 1 2 3 1 2 3 1 2 3
5 x 6 x 5 6 4 5 6 4 5 6 4 5 6
4 7 8 4 7 8 x 7 8 7 x 8 7 8 x
============ Best-First Search ============
Algorithm: Best-First Search
Heuristic: Tile-Out-Of-Place
Number of Steps: 5
1 2 3 1 2 3 1 2 3 1 2 3 1 2 3
5 x 6 x 5 6 4 5 6 4 5 6 4 5 6
4 7 8 4 7 8 x 7 8 7 x 8 7 8 x
Heuristic: Number of Move to Correct Position
Number of Steps: 5
1 2 3 1 2 3 1 2 3 1 2 3 1 2 3
5 x 6 x 5 6 4 5 6 4 5 6 4 5 6
4 7 8 4 7 8 x 7 8 7 x 8 7 8 x
Heuristic: Tile out of Colume + Tile out of Row
Number of Steps: 5
1 2 3 1 2 3 1 2 3 1 2 3 1 2 3
5 x 6 x 5 6 4 5 6 4 5 6 4 5 6
4 7 8 4 7 8 x 7 8 7 x 8 7 8 x