AStar Algorithm
AStar Algorithm
The goal node is denoted by node_goal and the source node is denoted by node_start
We maintain two lists: OPEN and CLOSE:
OPEN consists on nodes that have been visited but not expanded (meaning that sucessors have not been
explored yet). This is the list of pending tasks.
CLOSE consists on nodes that have been visited and expanded (sucessors have been explored already and
included in the open list, if this was the case).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23