Professional Documents
Culture Documents
Artificial Intelligence
MCT211
Submitted By
Student Name Nikita Anand
System_Id 2020468119
Programme/Section MCA
e(h(A)-h(A'))/T
Thus, if h(A') is close to h(A), the assignment is more likely to be accepted. If the
temperature is high, the exponent will be close to zero, and so the probability will
be close to 1. As the temperature approaches zero, the exponent approaches -∞,
and the probability approaches zero.
An annealing schedule, which describes how the temperature is dropped as the
search advances, is required for simulated annealing. One of the most often utilised
schedules is geometric cooling. Starting with a temperature of 10 and multiplying
by 0.97 after each step, for a temperature of 0.48 after 100 steps, is an example of a
geometric cooling schedule. It's an art to find a proper annealing schedule.
Formulation:
n is a node
h is a heuristic
h(n) is cost indicated by h to reach a goal from n
h*(n) is the optimal cost to reach a goal from n
h(n) is admissible if, Vn
h(n)< h*(n)
An admissible heuristic can be derived from a relaxed version of the problem, or
by information from pattern databases that store exact solutions to
subproblems of the problem, or by using inductive learning methods.
Never overestimates the cost to reach the goal. f(n) never overestimates the cost
of a solution along the current path through n. An obvious example of an
admissible heuristic is the straight-line distance.
Consistency heuristic
Consistent heuristic: for every node n and every successor n' of n generated
by any action a: h(n) ≤ c(n,a,n') + h(n')
Required only for applications of A* to graph search
Every consistent heuristic is also admissible.
In this figure:
Time Complexity: Let C* is Cost of the optimal solution, and ε is each step to
get closer to the goal node. Then the number of steps is = C*/ε+1. Here we have
taken +1, as we start from state 0 and end to C*/ε.
Hence, the worst-case time complexity of Uniform-cost search isO(b1 + [C*/ε])/.
Space Complexity: The same logic is for space complexity so, the worst-case
space complexity of Uniform-cost search is O(b1 + [C*/ε]).
Optimal: Uniform-cost search is always optimal as it only selects a path with the
lowest path cost.