Preview

Iterative Deepening A Star

Satisfactory Essays
Open Document
Open Document
575 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Iterative Deepening A Star
Iterative Deepening A-star
(IDA*)

Kent Benedict Clapano
Earl Karlo Mationg

Contents


Prerequisites



Description



Algorithm



Example



Analysis



Applications



References

Iterative Deepening A-star (IDA*)
CSC 171 – Introduction to AI

1

Prerequisites



Iterative Deepening Depth-First Search



A* algorithm

Iterative Deepening A-star (IDA*)
CSC 171 – Introduction to AI

2

Description
Iterative Deepening A* is a graph traversal and path search algorithm that can find the shortest path between a designated start node and any member of a set of goal nodes in a weighted graph. It is a variant of iterative deepening search that borrows the idea to use a heuristic function to evaluate the remaining cost to get to the goal from the A* search algorithm.

Iterative Deepening A-star (IDA*)
CSC 171 – Introduction to AI

3

Description








IDA* , a search algorithm, a combination of the A* algorithm and the DFS algorithm.[1] Invented by Korf in 1985.[1]
The idea is that successive iterations correspond not to increasing depth of search, but rather to increasing values of the total cost of a path. [1]
The cost of a node is (using A* terms) f=g+h g = cost incurred to get to this node h = heuristic estimate of getting to goal

Iterative Deepening A-star (IDA*)
CSC 171 – Introduction to AI

4

Algorithm
Algorithm IDA*

Bound := f(StartNode);
SolutionFound := false;
Repeat
perform depth-first search from StartNode, so that a node N is expanded only if f(N)  Bound; if this depth-first search encounters a goal node with f  Bound then SolutionFound = true else compute new bound as:
Bound = min { f(N) | N generated by this search, f(N) > Bound } until solution found. [2]

Iterative Deepening A-star (IDA*)
CSC 171 – Introduction to AI

5

Example (costs in km)

Iterative Deepening A-star (IDA*)
CSC 171 – Introduction to AI

6

Example (costs in km , f = g + h)

Iterative Deepening A-star (IDA*)
CSC 171 – Introduction to AI

7

Example (costs in

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Consequently, if the advantage of A against the proposed scheme is ϵ, the success probability of the algorithm C against the DDH challenge is at least ϵ/(e(m!q_T+1)).…

    • 111 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Algorithms – A problem solving procedure requiring repetition in order to eliminate possible answers until only the correct one remains.…

    • 2465 Words
    • 10 Pages
    Powerful Essays
  • Good Essays

    3- The value of an objective function decreases as its iso-objective line is moved away from the origin.…

    • 715 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Every star has a life cycle just like a human or a frog except stars do it on a much larger scale. Stars start life as a massive cloud of matter and then get pulled together to create a star. But stars do not last forever most stars last for millions of years but they still end. When a stars life ends it may explode or implode to create a black hole.…

    • 1342 Words
    • 6 Pages
    Good Essays
  • Better Essays

    Stars are giant nuclear reactors. In the center of stars, atoms are taken apart by tremendous atomic collisions altering the atomic structure and releasing an enormous amount of energy that makes stars hot and bright.…

    • 1399 Words
    • 6 Pages
    Better Essays
  • Good Essays

    Complexities! Good Fair Poor Searching Algorithm Data Structure Time Complexity Depth First Search (DFS) Graph of |V| vertices and |E| edges Graph of |V| vertices and |E| edges Sorted array of n elements Array - O(|E| + |V|) O(|V|) - O(|E| + |V|) O(|V|) O(log(n)) O(log(n))…

    • 990 Words
    • 18 Pages
    Good Essays
  • Good Essays

    Stars Life Cycle

    • 708 Words
    • 3 Pages

    Stars are born in nebulae. Huge clouds of dust and gas collapse under gravitational forces, forming protostars. These young stars undergo further collapse, forming main sequence stars.…

    • 708 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    In fact, when I first read the article, I was hoping to find a concrete explanation for this problem. However, soon after I knew that so many factors came into play when trying to follow a straight path.…

    • 273 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    The Kolb Learning Cycle

    • 576 Words
    • 3 Pages

    In logic, this allows for small and incremental improvements each time a task is preformed or a problem is solved…

    • 576 Words
    • 3 Pages
    Good Essays
  • Good Essays

    search of a particular item or gift. With the use of the 'super highway' you…

    • 730 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    (42). While the complexity may expose the system to large problems, it can help the system…

    • 2285 Words
    • 13 Pages
    Powerful Essays
  • Better Essays

    Step; and in fact I have found great Advantage from this kind of Equation, in what may…

    • 9869 Words
    • 50 Pages
    Better Essays
  • Powerful Essays

    Cost of Production

    • 2730 Words
    • 11 Pages

    Opportunity cost of an action is the value of the next best alternative forgone. For an Input: What the input could have earned from best…

    • 2730 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    General method • Useful technique for optimizing search under some constraints • Express the desired solution as an n-tuple (x1 , . . . , xn ) where each xi ∈ Si , Si being a finite set • The solution is based on finding one or more vectors that maximize, minimize, or satisfy a criterion function P (x1 , . . . , xn ) • Sorting an array a[n] – Find an n-tuple where the element xi is the index of ith smallest element in a – Criterion function is given by a[xi ] ≤ a[xi+1 ] for 1 ≤ i < n – Set Si is a finite set of integers in the range [1,n] • Brute force approach – Let the size of set Si be mi – There are m = m1 m2 · · · mn n-tuples that satisfy the criterion function P – In brute force algorithm, you have to form all the m n-tuples to determine the optimal solutions • Backtrack approach – Requires less than m trials to determine the solution – Form a solution (partial vector) and check at every step if this has any chance of success – If the solution at any point seems not-promising, ignore it – If the partial vector (x1 , x2 , . . . , xi ) does not yield an optimal solution, ignore mi+1 · · · mn possible test vectors even without looking at them • All the solutions require a set of constraints divided into two categories: explicit and implicit constraints Definition 1 Explicit constraints are rules that restrict each xi to take on values only from a given set. – Explicit constraints depend on the particular instance I of problem being solved – All tuples that satisfy the explicit constraints define a possible solution space for I – Examples of explicit constraints ∗ xi ≥ 0, or all nonnegative real numbers ∗ xi = {0, 1} ∗ li ≤ xi ≤ ui Definition 2 Implicit constraints are rules that determine which of the tuples in the solution space of I satisfy the criterion function. – Implicit constraints describe the way in which the xi s must relate to each other. • Determine problem solution by systematically searching the solution space for the given problem instance…

    • 1196 Words
    • 5 Pages
    Good Essays
  • Good Essays

    LIKE STARS

    • 843 Words
    • 3 Pages

    1. Ishaan did third grade twice because of he practically failed all his subjects. How could he not without knowing how to read and write? The language teacher insisted that he would read, even after he told her that the letters were dancing. Despite his unease and embarrassment she kept yelling "read the dancing letters" until she bursted with fury and kicked him out of the classroom. Even though he obediently kept waiting outside, she did not bother to talk with him, show she cares. She did not try to get to the bottom of his behavior, because she was convinced that he was just a naughty, disobedient, lazy boy, who enjoys being the clown of the class and does everything on purpose.…

    • 843 Words
    • 3 Pages
    Good Essays