Artificial Intelligence Week-7 Lecture-13: Semester#06
Artificial Intelligence Week-7 Lecture-13: Semester#06
Genetic Algorithm
->The creation of the tree is not a part of the algorithm. It is just for visualization.
->The algorithm returns the first path encountered. It does not search for all paths.
->The algorithm returns a path which is optimal in terms of cost.
q 11 c G 10 a
a
9
Algorithm
The bad:
Explores options in every “direction”
No information about goal location Start Goal
11
Depth-Limited Search Algorithm:
The iterative deepening algorithm is a combination of DFS and BFS algorithms. This
search algorithm finds out the best depth limit and does it by gradually increasing the
limit until a goal is found.
This algorithm performs depth-first search up to a certain "depth limit", and it keeps
increasing the depth limit after each iteration until the goal node is found.
This Search algorithm combines the benefits of Breadth-first search's fast search and
depth-first search's memory efficiency.
The iterative search algorithm is useful uninformed search when search space is large, and
depth of goal node is unknown.
1'st Iteration-----> A
2'nd Iteration----> A, B, C
3'rd Iteration------>A, B, D, E, C, F, G
4'th Iteration------>A, B, D, H, I, E, C, F, K, G
In the fourth iteration, the algorithm will find the
goal node.
Bidirectional search algorithm runs two simultaneous searches, one form initial state
called as forward-search and other from goal node called as backward-search, to
find the goal node. Bidirectional search replaces one single search graph with two
small subgraphs in which one starts the search from an initial vertex and other starts
from goal vertex. The search stops when these two graphs intersect each other.
Bidirectional search can use search techniques such as BFS, DFS, DLS, etc.
In bidirectional search, one should know the goal state in advance.
Adversarial Search
Games
Alpha-Beta Pruning
To cover this topic, different reference material has been used for consultation.
Artificial Intelligence: A Modern Approach by Stuart J. Russell and Peter Norvig, 3 rd edition,
2010.