Презентация Introduction to artificial intelligence А Search онлайн

На нашем сайте вы можете скачать и просмотреть онлайн доклад-презентацию на тему Introduction to artificial intelligence А Search абсолютно бесплатно. Урок-презентация на эту тему содержит всего 22 слайда. Все материалы созданы в программе PowerPoint и имеют формат ppt или же pptx. Материалы и темы для презентаций взяты из открытых источников и загружены их авторами, за качество и достоверность информации в них администрация сайта не отвечает, все права принадлежат их создателям. Если вы нашли то, что искали, отблагодарите авторов - поделитесь ссылкой в социальных сетях, а наш сайт добавьте в закладки.
Презентации » Устройства и комплектующие » Introduction to artificial intelligence А Search



Оцените!
Оцените презентацию от 1 до 5 баллов!
  • Тип файла:
    ppt / pptx (powerpoint)
  • Всего слайдов:
    22 слайда
  • Для класса:
    1,2,3,4,5,6,7,8,9,10,11
  • Размер файла:
    1.31 MB
  • Просмотров:
    58
  • Скачиваний:
    0
  • Автор:
    неизвестен



Слайды и текст к этой презентации:

№1 слайд
Introduction to Artificial
Содержание слайда: Introduction to Artificial Intelligence A* Search Ruth Bergman Fall 2004

№2 слайд
Best-First Search Review
Содержание слайда: Best-First Search Review Advantages Takes advantage of domain information to guide search Greedy advance to the goal Disadvantages Considers cost to the goal from the current state Some path can continue to look good according to the heuristic function

№3 слайд
The A Algorithm
Содержание слайда: The A* Algorithm

№4 слайд
The A Algorithm A -Search
Содержание слайда: The A* Algorithm A*-Search(initial-test) ;; functions cost, h, succ, and GoalTest are defined open <- MakePriorityQueue(initial-state, NIL, 0, h(initial-state), h(initial-state)) ;; (state, parent, g, h, f) while (not(empty(open))) node  pop(open), state  node-state(node) closed  push (closed, node) if GoalTest(state) succeeds return node for each child in succ(state) new-cost  node-g(node) + cost(state,child) if child in open if new-cost < g value of child update(open, child, node, new-cost, h(child), new-cost+h(child)) elseif child in closed if new-cost < g value of child insert(open, child, node, new-cost, h(child), new-cost+h(child)) delete(closed,child) else open  push(child, node, new-cost, h(child), new-cost+h(child)) return failure

№5 слайд
A Search Example Travel h n
Содержание слайда: A* Search: Example Travel: h(n) = distance(n, goal)

№6 слайд
A Search Example
Содержание слайда: A* Search : Example

№7 слайд
Admissible Heuristics we also
Содержание слайда: Admissible Heuristics we also require h be admissible: a heuristic h is admissible if h(n) < h*(n) for all nodes n, where h* is the actual cost of the optimal path from n to the goal Examples: travel distance straight line distance must be shorter than actual travel path tiles out of place each move can reorder at most one tile distance of each out of place tile from the correct place each move moves a tile at most one place toward correct place

№8 слайд
Optimality of A Let us assume
Содержание слайда: Optimality of A* Let us assume that f is non-decreasing along each path if not, simply use parent’s value if that’s the case, we can think of A* as expanding f contours toward the goal; better heuristics make this contour more “eccentric” Let G be an optimal goal state with path cost f* Let G2 be a suboptimal goal state with path cost g(G2) > f*. suppose A* picks G2 before G (A* is not optimal) suppose n is a leaf node on the path to G when G2 is chosen if h is admissible, then f* >= f(n) since n was not chosen, it must be the case that f(n) >= f(G2) therefore f* >= f(G2), but since G2 is a goal, h(G2)=0, so f* >= g(G2) But this is a contradiction --- G2 is a better goal node than G Thus, our supposition is false and A* is optimal.

№9 слайд
Completeness of A Suppose
Содержание слайда: Completeness of A* Suppose there is a goal state G with path cost f* Intuitively: since A* expands nodes in order of increasing f, it must eventually expand node G If A* stops and fails Prove by contradiction that this is impossible. There exists a path from the initial state to the node state Let n be the last node expanded along the solution path n has at least one child, that child should be in the open nodes A* does not stop until there are open list is empty (unless it finds a goal state). Contradiction. A* is on an infinite path Recall that cost(s1,s2) >  Let n be the last node expanded along the solution path After f(n)/the cumulative cost of the path becomes large enough that A* will expand n. Contradiction.

№10 слайд
UCS, BFS, Best-First, and A f
Содержание слайда: UCS, BFS, Best-First, and A* f = g + h => A* Search h = 0 => Uniform cost search g = 1, h = 0 => Breadth-First search g = 0 => Best-First search

№11 слайд
Road Map Problem
Содержание слайда: Road Map Problem

№12 слайд
-queens State contains queens
Содержание слайда: 8-queens State contains 8 queens on the board Successor function returns all states generated by moving a single queen to another square in the same column (8*7 = 56 next states) h(s) = number of queens that attack each other in state s.

№13 слайд
Heuristics Puzzle
Содержание слайда: Heuristics : 8 Puzzle

№14 слайд
Puzzle Reachable state ! ,
Содержание слайда: 8 Puzzle Reachable state : 9!/2 = 181,440 Use of heuristics h1 : # of tiles that are in the wrong position h2 : sum of Manhattan distance

№15 слайд
Effect of Heuristic Accuracy
Содержание слайда: Effect of Heuristic Accuracy on Performance Well-designed heuristic have its branch close to 1 h2 dominates h1 iff h2(n)  h1(n),  n It is always better to use a heuristic function with higher values, as long as it does not overestimate Inventing heuristic functions Cost of an exact solution to a relaxed problem is a good heuristic for the original problem collection of admissible heuristics h*(n) = max(h1(n), h2(n), …, hk(n))

№16 слайд
Содержание слайда:

№17 слайд
A summary Completeness
Содержание слайда: A* summary Completeness provided finite branching factor and finite cost per operator Optimality provided we use an admissible heuristic Time complexity worst case is still O(bd) in some special cases we can do better for a given heuristic Space complexity worst case is still O(bd)

№18 слайд
Relax Optimality Goals
Содержание слайда: Relax Optimality Goals: Minimizing search cost Satisficing solution, i.e. bounded error in the solution f(s) = (1-w) g(s) + w h(s) g can be thought of as the breadth first component w = 1 => Best-First search w = .5 => A* search w = 0 => Uniform search

№19 слайд
Iterative Deepening A Goals A
Содержание слайда: Iterative Deepening A* Goals A storage efficient algorithm that we can use in practice Still complete and optimal Modification of A* use f-cost limit as depth bound increase threshold as minimum of f(.) of previous cycle Each iteration expands all nodes inside the contour for current f-cost same order of node expansion

№20 слайд
IDA Algorithm IDA state,h
Содержание слайда: IDA* Algorithm IDA* (state,h) returns solution f-limit <- h(state) loop do solution, f-limit  DFS-Contour(state, f-limit) if solution is non-null return solution if f-limit =  return failure end

№21 слайд
IDA Properties Complete if
Содержание слайда: IDA* Properties Complete: if shortest path fits into memory Optimal: if shortest optimal path fits into memory Time Complexity: O(b2d) Space Complexity: O(bd)

№22 слайд
Mapquest http
Содержание слайда: Mapquest http://www.mapquest.com/ MapQuest uses a "double Dijkstra" algorithm for its driving directions, working backward from both the starting and ending points at once. MapQuest uses a "double Dijkstra" algorithm for its driving directions, working backward from both the starting and ending points at once. the algorithm uses heuristic tricks to minimize the size of the graph that must be searched.

Скачать все slide презентации Introduction to artificial intelligence А Search одним архивом: