-
Notifications
You must be signed in to change notification settings - Fork 0
/
traceUSearch1Corrected.txt
174 lines (159 loc) · 13.7 KB
/
traceUSearch1Corrected.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
Uninformed Search selected
Nodes Expanded: 0
Fringe:
Bremen: g(n) = 0, d = 0, Parent --> {None}
Closed:
[]
Expanding Node: 1
Generating successors to Bremen
Fringe:
Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}
Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}
Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}
Closed:
['Bremen']
Expanding Node: 2
Generating successors to Hamburg
Fringe:
Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}
Luebeck: g(n) = 179.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Bremen: g(n) = 232.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}
Hannover: g(n) = 269.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Berlin: g(n) = 407.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Closed:
['Bremen', 'Hamburg']
Expanding Node: 3
Generating successors to Hannover
Fringe:
Luebeck: g(n) = 179.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Bremen: g(n) = 232.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}
Bremen: g(n) = 264.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hannover: g(n) = 269.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hamburg: g(n) = 285.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Kassel: g(n) = 297.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Berlin: g(n) = 407.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Closed:
['Bremen', 'Hamburg', 'Hannover']
Expanding Node: 4
Generating successors to Luebeck
Fringe:
Bremen: g(n) = 232.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}
Hamburg: g(n) = 242.0, d = 3, Parent --> {Luebeck: g(n) = 179.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}}
Bremen: g(n) = 264.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hannover: g(n) = 269.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hamburg: g(n) = 285.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Kassel: g(n) = 297.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Berlin: g(n) = 407.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Closed:
['Bremen', 'Hamburg', 'Hannover', 'Luebeck']
Expanding Node: 5
Bremen is alread in closed. No successors
Fringe:
Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}
Hamburg: g(n) = 242.0, d = 3, Parent --> {Luebeck: g(n) = 179.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}}
Bremen: g(n) = 264.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hannover: g(n) = 269.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hamburg: g(n) = 285.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Kassel: g(n) = 297.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Berlin: g(n) = 407.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Closed:
['Bremen', 'Hamburg', 'Hannover', 'Luebeck']
Expanding Node: 6
Generating successors to Dortmund
Fringe:
Hamburg: g(n) = 242.0, d = 3, Parent --> {Luebeck: g(n) = 179.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}}
Bremen: g(n) = 264.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hannover: g(n) = 269.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hamburg: g(n) = 285.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Kassel: g(n) = 297.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Duesseldorf: g(n) = 303.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Berlin: g(n) = 407.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Frankfurt: g(n) = 455.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Bremen: g(n) = 468.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Saarbruecken: g(n) = 584.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Closed:
['Bremen', 'Hamburg', 'Hannover', 'Luebeck', 'Dortmund']
Expanding Node: 7
Hamburg is alread in closed. No successors
Fringe:
Bremen: g(n) = 264.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hannover: g(n) = 269.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hamburg: g(n) = 285.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Kassel: g(n) = 297.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Duesseldorf: g(n) = 303.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Berlin: g(n) = 407.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Frankfurt: g(n) = 455.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Bremen: g(n) = 468.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Saarbruecken: g(n) = 584.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Closed:
['Bremen', 'Hamburg', 'Hannover', 'Luebeck', 'Dortmund']
Expanding Node: 8
Bremen is alread in closed. No successors
Fringe:
Hannover: g(n) = 269.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hamburg: g(n) = 285.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Kassel: g(n) = 297.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Duesseldorf: g(n) = 303.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Berlin: g(n) = 407.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Frankfurt: g(n) = 455.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Bremen: g(n) = 468.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Saarbruecken: g(n) = 584.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Closed:
['Bremen', 'Hamburg', 'Hannover', 'Luebeck', 'Dortmund']
Expanding Node: 9
Hannover is alread in closed. No successors
Fringe:
Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hamburg: g(n) = 285.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Kassel: g(n) = 297.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Duesseldorf: g(n) = 303.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Berlin: g(n) = 407.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Frankfurt: g(n) = 455.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Bremen: g(n) = 468.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Saarbruecken: g(n) = 584.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Closed:
['Bremen', 'Hamburg', 'Hannover', 'Luebeck', 'Dortmund']
Expanding Node: 10
Generating successors to Magdeburg
Fringe:
Hamburg: g(n) = 285.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Kassel: g(n) = 297.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Duesseldorf: g(n) = 303.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Leipzig: g(n) = 405.0, d = 3, Parent --> {Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}}
Berlin: g(n) = 407.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hannover: g(n) = 428.0, d = 3, Parent --> {Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}}
Berlin: g(n) = 446.0, d = 3, Parent --> {Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}}
Frankfurt: g(n) = 455.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Bremen: g(n) = 468.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Saarbruecken: g(n) = 584.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Closed:
['Bremen', 'Hamburg', 'Hannover', 'Luebeck', 'Dortmund', 'Magdeburg']
Expanding Node: 11
Hamburg is alread in closed. No successors
Fringe:
Kassel: g(n) = 297.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Duesseldorf: g(n) = 303.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Leipzig: g(n) = 405.0, d = 3, Parent --> {Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}}
Berlin: g(n) = 407.0, d = 2, Parent --> {Hamburg: g(n) = 116.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Hannover: g(n) = 428.0, d = 3, Parent --> {Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}}
Berlin: g(n) = 446.0, d = 3, Parent --> {Magdeburg: g(n) = 280.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}}
Frankfurt: g(n) = 455.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Bremen: g(n) = 468.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Saarbruecken: g(n) = 584.0, d = 2, Parent --> {Dortmund: g(n) = 234.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}
Closed:
['Bremen', 'Hamburg', 'Hannover', 'Luebeck', 'Dortmund', 'Magdeburg']
Expanding Node: 12
Goal Found: Kassel: g(n) = 297.0, d = 2, Parent --> {Hannover: g(n) = 132.0, d = 1, Parent --> {Bremen: g(n) = 0, d = 0, Parent --> {None}}}. Generating Output
nodes expanded: 12
distance: 297.0 km
Bremen to Hannover, 132.0 km
Hannover to Kassel, 165.0 km