search introduction and problem formulation
play

Search Introduction and Problem Formulation Alice Gao Lecture 3 - PowerPoint PPT Presentation

1/16 Search Introduction and Problem Formulation Alice Gao Lecture 3 Based on work by K. Leyton-Brown, K. Larson, and P. van Beek 2/16 Outline Learning Goals Applications of Search Defjnition of a Search Problem Problem Formulation


  1. 1/16 Search Introduction and Problem Formulation Alice Gao Lecture 3 Based on work by K. Leyton-Brown, K. Larson, and P. van Beek

  2. 2/16 Outline Learning Goals Applications of Search Defjnition of a Search Problem Problem Formulation Revisiting the Learning Goals

  3. 3/16 Learning goals By the end of the lecture, you should be able to ▶ Formulate a real world problem as a search problem. ▶ Given a search problem, draw a portion of the search graph.

  4. 4/16 Goal State 7 6 5 4 3 2 1 1 Example: Sliding puzzles 4 2 6 7 8 3 5 Initial State 8

  5. 5/16 Example: Hua Rong Pass Puzzle

  6. 6/16 Example: Rubik’s cube

  7. 7/16 Example: River Crossing Puzzle A parent and two children are trying to cross a river using a boat. How can they get across the river? ▶ The capacity of the boat is 100kg. ▶ The parent weighs 100kg. ▶ Each child weighs 50kg.

  8. 8/16 Example: N -Queens Problem no pair of queens attacks each other. The n -queens problem: Place n queens on an n × n board so that

  9. 9/16 Example: Propositional Satisfjability Given a formula in propositional logic, determine if there is a way to assign truth values to the Boolean variables to make the formula true. Applications: (((( a ∧ b ) ∨ c ) ∧ d ) ∨ ( ¬ e )) ▶ FCC spectrum auction ▶ Circuit design ▶ Planning in AI

  10. 10/16 Example: Traveling Salesperson Problem What is the shortest path that starts at city A, visits each city only once, and returns to A? Applications of TSP: https://bit.ly/2i9JdIV

  11. 11/16 Why search? We would like to fjnd a solution when we are Idea: search for a solution (with the minimum cost) ▶ Not given an algorithm to solve a problem ▶ Given a specifjcation of what a solution looks like ▶ (Given costs associated with certain actions)

  12. 12/16 A Search Problem Defjnition (Search Problem) A search problem is defjned by goal state ▶ A set of states ▶ A start state ▶ A goal state or goal test ▶ a boolean function which tells us whether a given state is a ▶ A successor function ▶ a mapping/action which takes us from one state to other states ▶ A cost associated with each action

  13. 13/16 Learning Goals Applications of Search Defjnition of a Search Problem Problem Formulation Revisiting the Learning Goals

  14. 14/16 Goal State 7 6 5 4 3 2 1 1 Example: 8-Puzzle 4 2 6 7 8 3 5 Initial State 8

  15. 15/16 Draw the search graph

  16. 16/16 Revisiting the learning goals By the end of the lecture, you should be able to ▶ Formulate a real world problem as a search problem. ▶ Given a search problem, draw a portion of the search graph.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend