Algorithm 1
-Admissible Branch and Bound |
-
Require:
Priority Queue , Queue , evaluation function , -admissible heuristic , priority heuristic , Start node , end time , maximum number of iterations , heuristic reward
-
1:
-
2:
-
3:
-
4:
while
is not empty or
do
-
5:
-
6:
-
7:
-
8:
if
N is a complete candidate solution and
then
-
9:
//new best solution found. Store it.
-
10:
end if
-
11:
-
12:
for all
do
-
13:
if
and not in and N not in ) then
-
14:
-
15:
-
16:
-
17:
-
18:
end if
-
19:
end for
-
20:
end while
|