06.03.2013 Views

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

the offspring of Q (fig. 4.8(b)) <strong>and</strong> the f’ at U through Q is compared less<br />

to the f’ at U through R (this in fact is obvious, since g(U) via Q is 2, while<br />

g(U) via R is 3). So, we prefer Q to R as a parent of U <strong>and</strong>, consequently,<br />

we delink the arc from node R to node U (vide fig. 4.8(b) <strong>and</strong> (c)). It may be<br />

noted that we would do the same de-linking operation, if U had offsprings<br />

too.<br />

RR T U<br />

Fig. 4.8 (c): The modified tree after de-linking of the arc<br />

from node R to node U in fig. 4.8 (b).<br />

The third point to be discussed on the A* algorithm is to mark the arcs<br />

with back-pointers, i.e., from child to parent nodes in the search space. This<br />

helps in tracing the path from goal node to the root. Scrutinize fig. 4.8 (a)-(c)<br />

for details.<br />

The steps of the algorithm have already been illustrated. Now, the<br />

properties of the algorithm will be presented in detail.<br />

Properties of Heuristic Functions<br />

The following notations will be required for underst<strong>and</strong>ing the properties of<br />

the heuristic functions.<br />

Notations Meaning<br />

1. C (ni, nj) cost / expenses to traverse from node ni to node nj<br />

2. K (ni, nj) cost on the cheapest path between ni <strong>and</strong> nj<br />

3. γ a goal node<br />

S<br />

P Q<br />

4. Γ the set of goals<br />

5. Pn- γ the path from node n to γ

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!