ARTIFICIAL INTELLIGENCE
ARTIFICIAL INTELLIGENCE
Iv. Comparison Of
III. Ai Solution Search Different Search
Techniques & Algorithms :- Algorithms:-
Search problems can be The output of problem
classified by the amount of solving algorithm is either
information that is available to failure or solution. Some
the search process. Such algorithms might get stuck
information might relate to the in an infinite loop and
never return an output. The comparison among
When determining which different search algorithms
search algorithm is by these factors is shown
appropriate for a problem by the table 1:
space, it is necessary to
derive and compare
general attributes of each
algorithm .We will
evaluate algorithm’s
performance in four ways.
A. Completeness: - Is that
algorithm guaranteed to Where
find a solution when there
is one? This column is a d =depth of solution with
Boolean indicator of in search tree
whether or not the search b = branching factor of
algorithm is exhaustive. search tree
n =subset of b for which
B. Optimality: - Does that algorithm will actually
strategy find the optimal process.
solution? This column In table 1, the attributes
indicates that whether or create a basis for decision
not the solution found will making. Each of the
always be the optimal algorithms discussed
solution. contains
weak and strong
D. Space Complexity: - attributes.
How much memory is
V. Conclusion:-It is the
needed to perform the
search? This column is the function of the problem
order of complexity space to weight the trade-
memory requirements of offs between the
algorithm also expressed algorithms and determines
as a function. which algorithm provides
the best solution . It can
be seen from the table the search algorithms are
that the time estimate more distributed than the
from all the searches are time estimates. In many
similar. The three cases a search algorithm
exceptions are the will approach a problem
Bidirectional, Beam and Breadth First or Depth
Generate and Test first.
searches. The main reason
Vi. References :-
that the Bidirectional
search has a lesser time 1. Artificial Intelligence, K,
estimate is because it is Knight, E. Rich, S.B. Nair,
3rd Edition TMH
simultaneously working
from both ends of the 2. A classical approach to
problem looking for a Artificial Intelligence, M.C.
common intermediate Trivedi, 2nd Edition,
node. The Beam search Khanna Publishing
has a time estimate of House, New Delhi
O(nd) as opposed to the
3. Introduction to Artificial
morecommon O(bd). It is
Intelligence & Expert
because the Beam Search Systems, D.W. Patterson,
is modified A* Search that PHI
examines on the best n 4. Artificial Intelligence A
branches at any node. It Modern Approach, Stuart
speeds up processing, but Russel, Peter Norvig,
at the cost of assuming Pearson
that a suboptimal node 5. Computational
will never need to be Intelligence, D. Poole, Alan
travelled to reach the goal Mackworth, and Randy
Goebe, lOUP
state. If that is the case
the solution to the search 6. Logic & Prolog
will never be found. The Programming, Saroj
memory requirement of
Kaushik, New Age
International
7. Expert Systems
principle and
programming, J.C.
Giarranto, Cengage
Learing.