Parallel Search Algorithm

Slides:



Advertisements
Similar presentations
Additional Topics ARTIFICIAL INTELLIGENCE
Advertisements

Lights Out Issues Questions? Comment from me.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 4 Jim Martin.
CS 484. Discrete Optimization Problems A discrete optimization problem can be expressed as (S, f) S is the set of all feasible solutions f is the cost.
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.
CS 480 Lec 3 Sept 11, 09 Goals: Chapter 3 (uninformed search) project # 1 and # 2 Chapter 4 (heuristic search)
Search Strategies Reading: Russell’s Chapter 3 1.
Lets remember about Goal formulation, Problem formulation and Types of Problem. OBJECTIVE OF TODAY’S LECTURE Today we will discus how to find a solution.
Artificial Intelligence for Games Uninformed search Patrick Olivier
CSC 423 ARTIFICIAL INTELLIGENCE
UNINFORMED SEARCH Problem - solving agents Example : Romania  On holiday in Romania ; currently in Arad.  Flight leaves tomorrow from Bucharest.
Artificial Intelligence Lecture
CS 380: Artificial Intelligence Lecture #3 William Regli.
Spider Search: an Efficient and Non-Frontier-Based Real-Time Search Algorithm Presenter: Chao Lin Chu 599B Advisor: Dr. Russell J. Abbott.
Artificial Intelligence Chapter 3: Solving Problems by Searching
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Problem Spaces and Search Fall 2008 Jingsong.
Problem Solving and Search in AI Heuristic Search
Search Algorithms for Discrete Optimization Problems
CS 584. Discrete Optimization Problems A discrete optimization problem can be expressed as (S, f) S is the set of all feasible solutions f is the cost.
Introduction to Artificial Intelligence Blind Search Ruth Bergman Fall 2002.
Lecture 2 – Searching. Lecture outline Last week Introduced AI and the module Brief recap of data structures This week Introduction to searching methods.
8:38:34 PMICS 573: High-Performance Computing11.1 Search Algorithms for Discrete Optimization Problems Discrete Optimization - Basics Sequential Search.
Dynamic Load Sharing and Balancing Sig Freund. Outline Introduction Distributed vs. Traditional scheduling Process Interaction models Distributed Systems.
Artificial Intelligence Course outline Introduction Problem solving Generic algorithms Knowledge Representation and Reasoning Expert Systems Uncertainty.
Search Algorithms for Discrete Optimization Problems Ananth Grama, Anshul Gupta, George Karypis, and Vipin Kumar Adapted for 3030 To accompany the text.
Review: Search problem formulation Initial state Actions Transition model Goal state (or goal test) Path cost What is the optimal solution? What is the.
Dr.Abeer Mahmoud ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information.
Intelligent Systems (2II40) C3 Alexandra I. Cristea September 2005.
Problem-Solving by Searching Uninformed (Blind) Search Algorithms.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 02 : Search.
Search Tamara Berg CS 560 Artificial Intelligence Many slides throughout the course adapted from Dan Klein, Stuart Russell, Andrew Moore, Svetlana Lazebnik,
Artificial Intelligence
AI in game (II) 권태경 Fall, outline Problem-solving agent Search.
Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States/Looping.
For Monday Read chapter 4, section 1 No homework..
Search CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
A General Introduction to Artificial Intelligence.
CSC3203: AI for Games Informed search (1) Patrick Olivier
Informed Search I (Beginning of AIMA Chapter 4.1)
Artificial Intelligence Problem solving by searching.
Uninformed Search ECE457 Applied Artificial Intelligence Spring 2007 Lecture #2.
1 Kuliah 4 : Informed Search. 2 Outline Best-First Search Greedy Search A* Search.
Solving problems by searching 1. Outline Problem formulation Example problems Basic search algorithms 2.
CPSC 420 – Artificial Intelligence Texas A & M University Lecture 3 Lecturer: Laurie webster II, M.S.S.E., M.S.E.e., M.S.BME, Ph.D., P.E.
Pengantar Kecerdasan Buatan
Uninformed search strategies A search strategy is defined by picking the order of node expansion Uninformed search strategies use only the information.
CS 584. Discrete Optimization Problems A discrete optimization problem can be expressed as (S, f) S is the set of all feasible solutions f is the cost.
Heuristic Search Foundations of Artificial Intelligence.
Search Methodologies Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
Search Part I Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States Partial Information Summary.
Romania with step costs in km
Biointelligence Lab School of Computer Sci. & Eng. Seoul National University Artificial Intelligence Chapter 8 Uninformed Search.
Romania. Romania Problem Initial state: Arad Goal state: Bucharest Operators: From any node, you can visit any connected node. Operator cost, the.
Uninformed Search ECE457 Applied Artificial Intelligence Spring 2008 Lecture #2.
Artificial Intelligence Solving problems by searching.
Chapter 3.5 Heuristic Search. Learning Objectives Heuristic search strategies –Best-first search –A* algorithm Heuristic functions.
Artificial Intelligence (CS 370D)
Artificial Intelligence
هوش مصنوعی فصل سوم: حل مسئله با جستجو
Artificial Intelligence
Principles of Computing – UFCFA3-30-1
Informed search algorithms
Search Exercise Search Tree? Solution (Breadth First Search)?
CSC4005 – Distributed and Parallel Computing
Adaptivity and Dynamic Load Balancing
ECE457 Applied Artificial Intelligence Fall 2007 Lecture #2
ECE457 Applied Artificial Intelligence Spring 2008 Lecture #3
Presentation transcript:

Parallel Search Algorithm By: Mehdi Amini Spring 2012 Isfahan University Of Technology

OutLine: Type Of Search Algorithms Searching in Artificial Intelligence Sequential Depth First Search Sequential Best First Search Parallel Depth First Search Parallel Best First Search Another Parallel Searches Conclusion

Type Of Search Algorithm: We want to Find element

Type Of Search Algorithm: Initial state Goal state 8 1 7 6 5 3 2 4 1 2 3 4 5 6 7 8

Type Of Search Algorithm:

Type Of Search Algorithm: Find the Largest key Or Smallest key in the array 20 2 13 12 10 9 8 7 3 4 Find the Special key in an Ordered Array or Binary Search 1 2 8 10 12 13 18 27 30 40

Searching in Artificial Intelligence: There are Some Agents in AI for solving problems We don’t have any knowledge about problem so we called this un-informed approach We have some knowledge about problem so we called this Informed approach

Un-Informed Approach: Depth First Search Bread First Search What is Depth First Search?

Sequential Depth first Search: Check each node ,Is it a goal node? if not expand it

Sequential Depth first Search:

Sequential Best First Search: In This approach Of search we have some knowledge about problem In this Approach we want to find optimum Solution What does knowledge mean?

Sequential Best First Search: Check each node ,Is it a goal node? if not expand it In this approach which node should be expanded? 80 90 100

Sequential Best First Search: Our algorithm to solve the problem optimally is A* In problem that we want to find a path between two point the knowledge is :f(n)=g(n)+h(n) g(n):real cost of path between initial node to n h(n):estimation of smallest path between n and goal node

Sequential Best First Search: Arad 366=0+366 Timisoara Zerind sibiu 449=75+374 447=118+329 393=140+253 Arad Riminicun Oradea Fagaras 646=280+366 671=291+380 413=220+193 415=239+176

Parallel Depth First Search: The critical issue in parallel depth-first search algorithms is the distribution of the search space among the processors

A generic scheme for dynamic load balancing

Parallel Depth First Search:: Important Parameters of Parallel DFS Load -Balancing Schemas: Asynchronous Round Robin Global Round Robin Random Polling

Parallel Best first Search: This algorithm contains two main components: Open list , Close list In most parallel formulations of BFS, different processors concurrently expand different nodes from the open list

Parallel Best first Search: There are two problems with this approach The termination criterion of sequential BFS fails for parallel BFS Since the open list is accessed for each node expansion, it must be easily accessible to all processors, which can severely limit performance

Parallel Best first Search: A general schematic for parallel best-first search using a centralized strategy Lock the list p3 Lock the list Lock the list Unlock the list p1 p2 Unlock the list Unlock the list

Parallel Best first Search: One way to avoid the contention due to a centralized open list is to let each processor have a local open list. The processors must communicate among themselves to minimize unnecessary search

Parallel Best first Search: Communication Strategies for Parallel Best-First Tree Search random communication strategy ring communication strategy blackboard communication strategy

Parallel Binary Search Algorithm: We have an ordered array ,we have two processors We part our array to P+1 parts , where p is number of processors 1 2 8 10 12 13 18 27 30 p1 p2

References: Introduction to parallel computings,addison wesley,second edition Akihiro kishimato; alex fukunaga; adi botea; “Sclable,parallel best first search for optimal sequential planning” Artificial interlligence:A modern approach , Russell and Peter Norvig,third edition An introduction to Parallel algorithm,Joseph jaja