Skip to main content

WHAT IS GUIDED AND UNGUIDED SEARCH IN AI | BLOG |

DATE :- 10/02/2020 


A typical chess playing program might need to evaluate a million states during a serious chess game.

We will look at two types of search, guided and unguided. Unguided search is done without the help of heuristics while guided search takes the help of heuristic in choosing seemingly better path than the rest.

Guided and unguided search

Let us go back to the previous chapter and look at the 8-5-3 gallon milk jug problem. Suppose we have no clue about how to achieve the solution, we may start randomly and try applying any rule which is applicable to a given state space. We may have a sequence which is different than what led to the solution in the previous chapter but if given enough amount of tries it is quite likely to reach to a solution barring an important point; the solution path should not contain any cycles.

For example consider following sequences

8-0-0, 3-5-0, 8-0-0, ...

8-0-0, 5-0-3, 0-5-3, 3-5-0, 8-0-0, ..

8-0-0, 5-0-3, 5-3-0, 2-3-3, 0-5-3, 5-0-3...

The process may continue forever but we will not find a final state as state sequences are repeated.
So we may form the rule for a search that if the same state which is generated earlier should not be
generated again. Sometimes this requirement is known as being systematic.

Even if we follow that rule you may clearly see that some futile states may be traveled before embarking on the right path. Even when we are dealing with such a simple problem we may end up traversing a very long path before getting a solution.

Such search, which operates blindly, applying random moves to try for a final state, is known as
unguided or blind search.

 On the contrary, it is usually possible to have some domain knowledge to learn that some typical types of moves are better than others. Trying them before others usually lead to a solution faster. Such domain knowledge is called heuristics and search which operates using heuristics is called guided search.

 Though they are less efficient than guided search methods, they are useful when there is not enough domain knowledge and when some other guided search is applied in conjunction with them.

Generate and test


This method is quite known to us. For example, when my father leaving for job and cannot find my car keys on the place he usually keep them, he try looking for them in my table drawer, in the showcase, on my study table and so on, may be finally looking at the place where her daughter is playing. What he is doing? he is generating states one after another, checking if it is a solution state, if so quits or otherwise try looking at some other option.

This simple method is useless if the state space is too large. For example, if I have to search my entire
house for the key, it is impossible in real time. That is why to generate and test is applied when the state space is either small enough or some other technique is used to reduce the number of states to a
manageable level.

Glossaries


Search                                  search is a common component in most AI solutions. A Search is a way                                                 to find a solution using the state space.

Unguided search                  Search without using any heuristics or not using any domain knowledge.
                                             This is also known as blind search.

Guided search                      Search using some heuristic. This type of search takes the advantage of
                                             domain knowledge to determine which type of states are better compared
                                             to others in choosing the next state

State sequence                     sequence of states which results in a solution

Generate and Test                an unguided search method where random selection of states are chosen                                                 and  tested for a solution

Dendral                                Expert system for geological information designed based on generate                                                     and  test and constraint satisfaction methods

Breadth First Search(BFS)   the search method where each level of the tree is explored first and the                                                  next level is explored is explored after that till the final level.                                                                  Exploration a method of exploring the tree level by level in BFS

Depth First Search               The search method where each branch of tree is explored one after                                                          another from left to right till the rightmost branch

Depth bound DFS               This method is a depth first search considering the length of the DFS                                                       search for a typical value. This is also known as Depth-Limited Search

Optimum path                     a path to solution which is nearest from the root node

Finite Search space             If the state space contains a finite number of nodes it is called finite                                                        search space. For a finite search space, both DFS and BFS is guaranteed                                                to give an optimum solution.

Comments

Popular posts from this blog

Rinku privacy policy

Privacy Policy krg built the Rinku app as a Free app. This SERVICE is provided by krg at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Rinku unless otherwise defined in this Privacy Policy. Information Collection and Use For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information. The information that I request will be retained on your device and is not...

first blog

date : 08/02/2020 I created my first blog today. I completed 1st module of artificial intelligence and started module 2. In module 1 introduction to AI is given. AI has many definitions associated with it. The AI  is a way of solving difficult problems. Difficult problems which are done by humans, like brushing teeth, brushing is very complicated process to be done by robot. If power is low or high it can not do work . It is the first time I think how chess game in android works. there are infinite numbers of moves to play. But with help of AI it is actually working . Old chess games at high difficulty level were taking so much time to play one move but now it takes only few seconds.           Humans are able to guess and work. but a program can not do that easily. Programs works  stepwise.    

HOW TO USE GITHUB ? WHAT IS GITHUB ? EVERYTHING YOU NEED TO KNOW ABOUT GITHUB.

DATE :- 09/02/2020 Today, I created  GitHub  account in my PC. it's name is krg72 you can find me there. I was not knowing what is  GitHub . Then I find some information from google . This blog is to give information about  GitHub  properly. Just read it and you will understand why and how  GitHub  is used. In this blog, you will learn: Introduction to GitHub Create repository in GitHub issues extras What is GitHub? Many people come to GitHub because they want to contribute to open source  projects, or they're invited by teammates or classmates who use it for their projects.  Why do people use GitHub for these projects? At its heart, GitHub is a collaboration platform. From software to legal documents, you can count on GitHub to help you do your best work with the collaboration and security tools your team needs. With GitHub, you can keep projects completely private, invite the world to collaborat...