Problem Solving by Searching Search Methods :

Slides:



Advertisements
Similar presentations
Lecture 02 – Part A Problem Solving by Searching Search Methods :
Advertisements

Problem Solving Well-formed predicate calculus expressions provide a means of describing objects and relations in a problem domain and inference rule.
Quiz 4-26-’07 Search.
Comp 307 Problem Solving and Search Formalize a problem as State Space Search Blind search strategies Heuristic search.
Problem Solving Agents A problem solving agent is one which decides what actions and states to consider in completing a goal Examples: Finding the shortest.
Solving Problems by Searching Currently at Chapter 3 in the book Will finish today/Monday, Chapter 4 next.
Uniform Cost Search Introduction to AI. Uniform cost search A breadth-first search finds the shallowest goal state and will therefore be the cheapest.
CSC 423 ARTIFICIAL INTELLIGENCE
Artificial Intelligence (CS 461D)
Searching Algorithms Finding what you are looking for.
SEARCH ALGORITHMS David Kauchak CS30 – Spring 2015.
State Spaces Introduction to Artificial Intelligence Dr. Robin Burke.
Breadth First Search
CSC-470: ARTIFICIAL INTELLIGENCE
Toy Problem: Missionaries and Cannibals
Artificial Intelligence Problem solving by searching CSC 361
Problem solving by Searching Problem Formulation.
1 Solving Problems by Searching. 2 Terminology State State Space Initial State Goal Test Action Step Cost Path Cost State Change Function State-Space.
Artificial Intelligence Problem solving by searching CSC 361 Prof. Mohamed Batouche Computer Science Department CCIS – King Saud University Riyadh, Saudi.
Dr Eleni Mangina – COURSE: LOGIC PROGRAMMING (during a joint degree with Fudan University in Software Engineering) DEPT. OF COMPUTER SCIENCE UCD Problem.
Artificial Intelligence Problem solving by searching CSC 361
ITCS 3153 Artificial Intelligence Lecture 4 Uninformed Searches (cont) Lecture 4 Uninformed Searches (cont)
Artificial Intelligence Problem solving by searching CSC 361 Prof. Mohamed Batouche Computer Science Department CCIS – King Saud University Riyadh, Saudi.
Solving Problems by Searching
Artificial Intelligence Problem solving by searching CSC 361
Knowledge and search, page 1 CSI 4106, Winter 2005 Knowledge and search Points Properties of knowledge  Completeness  Objectivity  Certainty  Formalizability.
Unit 1: Basics // Metrics & Matter Aim: How can we apply the Scientific Method? Do Now: Solve the farmer’s dilemma. (5 minutes) Monday, September 8, 2014.
Quiz Th. Oct. 20 Chapters 1,2,3,4. S B AD E C F G straight-line distances h(S-G)=10 h(A-G)=7 h(D-G)=1 h(F-G)=1 h(B-G)=10 h(E-G)=8 h(C-G)=20.
Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States/Looping.
Assignment 2 (from last week) This is a pen-and-paper exercise, done in the same groups as for Practical 1 Your answer can be typeset or hand-written There.
Problem solving by search Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Problem Solving as Search. Problem Types Deterministic, fully observable  single-state problem Non-observable  conformant problem Nondeterministic and/or.
1 Solving Problems by Searching. 2 Terminology State State Space Goal Action Cost State Change Function Problem-Solving Agent State-Space Search.
1/16 Problem solving by Searching Problem Formulation.
Implementation: General Tree Search
Romania. Romania Problem Initial state: Arad Goal state: Bucharest Operators: From any node, you can visit any connected node. Operator cost, the.
Artificial Intelligence Solving problems by searching.
Lecture 3 Problem Solving through search Uninformed Search
Lecture 3: Uninformed Search
ARTIFICIAL INTELLIGENCE
Boat Problems.
Uninformed (also called blind) search algorithms)
Breadth First and Depth First
Problem solving by Searching
Problem Solving Agents
Introduction to Artificial Intelligence
Uninformed Search Strategies
G5AIAI – Introduction to AI
Problem Solving as Search
Artificial Intelligence (CS 370D)
هوش مصنوعی فصل سوم: حل مسئله با جستجو
Prof. Dechter ICS 270A Winter 2003
CS 188: Artificial Intelligence Spring 2007
Artificial Intelligence (CS 370D)
Problem Solving and Searching
فصل ۳ - حل مساله از طریق جستجو
EA C461 – Artificial Intelligence
Artificial Intelligence
The Wolf, the Goat, and the Cabbage
Problem Solving and Searching
Artificial Intelligence Problem solving by searching CSC 361
A General Backtracking Algorithm
Problem Spaces & Search
State-Space Searches.
ARTIFICIAL INTELLIGENCE
State-Space Searches.
CMSC 471 Fall 2011 Class #4 Tue 9/13/11 Uninformed Search
CS203 Lecture 14.
State-Space Searches.
Problem Solving by Searching Search Methods :
Presentation transcript:

Problem Solving by Searching Search Methods : Problem Solving by Searching Search Methods : Uninformed (Blind) search Tutorial II

Search Methods River boat Farmer, Wolf, Duck and Corn Consider the River Problem: A farmer wishes to carry a wolf, a duck and corn across a river, from the south to the north shore. The farmer is the proud owner of a small rowing boat called Bounty which he feels is easily up to the job. Unfortunately the boat is only large enough to carry at most the farmer and one other item. Worse again, if left unattended the wolf will eat the duck and the duck will eat the corn. How can the farmer safely transport the wolf, the duck and the corn to the opposite shore? Solve this problem using BFS. Do not expand repeated stated. Farmer, Wolf, Duck and Corn boat River

Search Methods A C D E F B G H I J K L M N O P Q R S T U V W X Y Z Problem 2: Given the following state space (tree search), give the sequence of visited nodes when using BFS, DFS, and IDS. A C D E F B G H I J K L M N O P Q R S T U V W X Y Z Initial state Goal state

A S B G C 10 1 5 5 5 15 Consider the following problem… We wish to find the shortest route from node S to node G; that is, node S is the initial state and node G is the goal state. In terms of path cost, we can clearly see that the route SBG is the cheapest route. However, if we let breadth-first search loose on the problem it will find the non-optimal path SAG, assuming that A is the first node to be expanded at level 1. Solve this problem using UCS.