slide1 l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Classification of Search Problems PowerPoint Presentation
Download Presentation
Classification of Search Problems

Loading in 2 Seconds...

play fullscreen
1 / 11

Classification of Search Problems - PowerPoint PPT Presentation


  • 157 Views
  • Uploaded on

Classification of Search Problems. http://www.cis.temple.edu/~ingargio/cis587/readings/constraints.html. Optimization Problems . State Space Search. Constraint Satisfaction Problems. Search. Heuristic Search. Uninformed Search. Example: State Space Search. Figure.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Classification of Search Problems' - bell


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1

Classification of Search Problems

http://www.cis.temple.edu/~ingargio/cis587/readings/constraints.html

Optimization

Problems

State Space Search

Constraint Satisfaction

Problems

Search

Heuristic Search

Uninformed Search

figure

Example: State Space Search

Figure

Goal: find an operator sequence that leads from the start state to the goal state

State Space: a 3x3 matrix containing the numbers 1,…,8 and *(empty)

Operators: North, South, East, West

slide3

Optimization Problems

  • Maximizef(x,y,z)=|x-y-0.2|*|x*z-0.8|*|0.3-z*z*y|

withx,y,z in [0,1]

Characteristics:

  • No explicit operators
  • the path that leads to the solution is not important
  • Frequently involves real numbers  number of solutions is not finite
  • Problems might be complicated by additionally requiring that the solution satisfies a set of contraints.
  • Life is easier if the function is continuous and differentiable  e.g. classical numerical optimization techniques can directly be applied
  • AI and evolutionary computing are more attractive for “nasty” optimization problems.
slide4

Heuristic Search

augment

General Search

Algorithms

Domain-specific

Knowledge

slide6

Classification of Search Algorithms

State Space Search

Expansion Search

Hill Climbing

Backtracking

Depth

First

Breadth First

Best First Search

Uniform Cost

A*

Greedy Search

Remark: Many other search algorithms exist that do not appear above

slide7

Characterization of State Space Search Algorithms

A search strategy consists of the following:

  • A state space S, set of operators O: SS, an initial state, and a (set of) goal state(s).
  • A control strategy that determines how the search space will be searched; it consists of an operator selection and state selection function:
    • Operator selection function: selects which operator(s) is applied to a given state
    • State selection function: selects the state to which an operator (selected by the operator selection function) is applied next.

Remarks: Operator selection functions only return operators that have not been applied yet, and state selection functions return only states that have not been completely expanded yet (some applicable operators have not been applied to this state yet); moreover, we assume that ties are broken randomly.

example search strategies for the 8 puzzle
Example: Search Strategies for the8 Puzzle

Strategy 1 (Breadth First):

Operator Selection Function: select all operators

State Selection Function: Select a state s giving preference to states that are closer to the initial state i(closeness is evaluated by the number of operator applications it took to reach s from i)

Strategy 2 (Backtracking with depth bound set to 3):

Operator Selection Function : Select (applicable) operator by priorities: N>S>E>W

State Selection Function : If the most recently created state is less than 3 operator applications away from the initial state, use this state; otherwise, use the predecessor of the most recent state.

Strategy 3 (Greedy Search)

Operator Selection Function: select all operators

State Selection Function: Select the state s that is closest to the goal state g using a distance function d(s,g)=“number of positions in which in which s and g disagree”

slide9

Un-graded Homework1 2004

  • Assume you have to search a labyrinth of interconnected rooms trying to find a particular room that contain a red flower. There will be many intersections of walkways that connect rooms all of which look completely the same; you will not know if you entered a particular crossing before; however, you will be given a piece of chalk that allow you to mark the to put signs of your own choosing on a wall. Devise a search strategy that will find a room with a red flower assuming that such a room exists.
  • To be discussed on Sept. 30, 2004 in class!

Goal State

slide10

Un-graded Homework1 Problems

  • Use of search strategies that are not suitable for real-time search problem (e.g. breadth first search as explained in the textbook or best first search) --- you cannot jump between states.
  • Propose a suitable algorithm, but it is not clearly explained how chalk is used.
  • Algorithm chooses backtracking direction prior to unexplored directions.
  • Some strategies are not incompletely described, and it is therefore hard to say if they work.
  • Some strategies do not cope properly with looping (reaching the same room twice)

Goal State

slide11

Un-graded Homework1 Solutions

Solution1 (does not necessarily find the flower if search space is not finite):

  • If you enter a new intersection, number unexplored directions 1, 2, 3,…, with chalk (do not mark the unexplored direction) and follow direction 1 and mark that you followed this direction by underlining it: 1
  • If you enter an already visited intersection, follow the lowest unexplored direction and underline it before you leave; if you reach a dead-end or you traveled all possible directions, backtrack by following the unmarked direction.

Solution 2: same as Solution1, but uses depth bound and iterative deepening (explore 10 crossings, 20 crossings, 30 crossings…);

2

1

Revised on October 7, 2004!!

1

2

2

start

1

3