Technical Report On AI
Technical Report On AI
SUBMITTED BY-
DEPARTMENT: MCA
SEMESTER: III
DEPARTMENT OF MCA
As the name ‘Uninformed Search’ means the machine blindly follows the
algorithm regardless of whether right or wrong, efficient or in-efficient.
These algorithms are brute force operations, and they don’t have extra
information about the search space; the only information they have is on
how to traverse or visit the nodes in the tree.
2. INTRODUCTION :
Those uninformed search algorithms are also called blind search algorithms. The
search algorithm produces the search tree without using any domain
knowledge, which is a brute force in nature. They don’t have any
background information on how to approach the goal or whatsoever.
But these are the basics of search algorithms in AI.
1. BREADTH-FIRST SEARCH :
ADVANTAGES:
BFS will provide a solution if any solution exists.
If there are more than one solutions for a given problem,
then BFS will provide the minimal solution which requires the least
number of steps.
DISADVANTAGES:
It requires lots of memory since each level of the tree must be
saved into memory to expand the next level.
BFS needs lots of time if the solution is far away from the root node.
Optimal: Yes, if Step cost = 1 (i.e. no cost/all step costs are same)
2. DEPTH-FIRST SEARCH :
DISADVANTAGE:
There is the possibility that many states keep re-occurring, and there is no
guarantee of finding the solution.
DFS algorithm goes for deep down searching and sometime it may go to
the infinite loop.
Standard failure value: It indicates that problem does not have any solution.
Cutoff failure value: It defines no solution for the problem within a given depth limit.
ADVANTAGE:
Depth-limited search is Memory efficient.
DISADVANTAGE:
Depth-limited search also has a disadvantage of incompleteness.
It may not be optimal if the problem has more than one solution.
Uniform-cost search is a searching algorithm used for traversing a weighted tree or graph. This
algorithm comes into play when a different cost is available for each edge. The primary goal
of the uniform-cost search is to find a path to the goal node which has the lowest cumulative
cost. Uniform-cost search expands nodes according to their path costs form the root node. It
can be used to solve any graph/tree where the optimal cost is in demand. A uniform-cost
search algorithm is implemented by the priority queue. It gives maximum priority to the lowest
cumulative cost. Uniform cost search is equivalent to BFS algorithm if the path cost of all edges
is the same.
ADVANTAGE:
Uniform cost search is optimal because at every state the path with the least cost is
chosen.
DISADVANTAGE:
It does not care about the number of steps involve in searching and only concerned
about path cost. Due to which this algorithm may be stuck in an infinite loop.
Optimal: Uniform-cost search is always optimal as it only selects a path with the
lowest path cost.
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.
ADVANTAGE:
It combines the benefits of BFS and DFS search algorithm in terms of fast search and
memory efficiency.
DISADVANTAGE:
The main drawback of IDDFS is that it repeats all the work of the previous phase.
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.
ADVANTAGE:
Bidirectional search is fast and less memory required.
DISADVANTAGE:
Implementation of the bidirectional search tree is difficult.
Search algorithms are algorithms that help in solving search problems. A search problem
consists of a search space, start state, and goal state. These algorithms are important because
they help in solving AI problems and support other systems such as neural networks and
production systems. The main properties of search algorithms include optimality, completeness,
time complexity, and space complexity. The main applications of search algorithms include
vehicle routing, nurse scheduling, record retrieval, and industrial processes.
5. REFERENCE :
3. Hidayat, Wahyu & Susanti , Fitri& Wijaya, Dedy. (2021). A Comparative Study of
Informed and Uninformed Search Algorithm to Solve Eight-Puzzle Problem. Journal of
Computer Science. 17. 1147-1156. 10.3844/jcssp.2021.1147.115