Question

In: Computer Science

3.1 Bratko states that iterative deepening combines the best properties of breadth-first search and depth-first search...

3.1 Bratko states that iterative deepening combines the best properties of breadth-first search and depth-first search and is therefore, in practice, often the best choice
amongst the basic search methods. Discuss this statement.


3.2 Discuss the concept of the ‘locality’ of the effects of actions in the context of planning problems.

Solutions

Expert Solution

3.1) Iterative deepening is the best choice among the basic search methods. As Iterative deepening combines both the best properties of depth first search and breadth first search.

The current statement stated by Bratko that Iterative deepening combines the best properties of breadth first search and depth first search and therefore in practice often it's the best choice. If we closely monitor that depth first search property we will see that dfs first Traverse node goes through one by one by the root then the next adjacent one. The basic problem in dfs is that if there is a node close to root but not in few subtress traversed by DFS. Then dfs arrived at that particular leaf node very late so it is not considered as the shortest path to find a node in term number of edges in depth first search.

On the other hand if we talk about Breadth first search, it goes level by level but it requires more space. The space needed by DFS is O(d) where d the depth of the tree but space required by BFS is O(n) where n is a number of nodes or leaves in the tree.In BFS we need to traverse every level one by one in a queue. So both the ways are having advantages and disadvantages that's why Iterative deepening is another approach that we can use to combine the best properties of both of them. In short we do DFS in a BFS manner in this Iterative deepening.

In iterative deepening search , the child nodes on the bottom level are expanded once then next to bottom level expanded twice and upto root node till the expansion reaches upto d+1 times. So, the total number of expansions in iterative deepening search is O(b^d).

Iterative deepening combines the best property of breadth first searchs fast search and best property of depth first search as its space efficiency. In this way both the overheads of these searching ways are overcome and we get a best technique for basic search methods in the name of Iterative deepening.

3.2) The planning problem in artificial intelligence is about the decision making that is taken by the virtual intelligent machines used by artificial intelligence as human robots or computer programs. When they are set to perform some specific goal they are set to involve a sequence of actions that will perform step by step in order to perform this specific task for which the virtual machine has been made.

So these planning problems are of various categories. Some of the planning problems are restriction to one agent into the deterministic environment. If a machine is under uncertainty for which it hasn't been prepared, it shows the effect of action over itself and therefore we don't have any prediction to predict the results of a plan with certainty.

Hence the concept of locality of effect of actions has been raised in such a scenario in which the locality under which the decision has been unpredictable and it's suitable actions are not programmed in the machine. It itself shows the locality in which it's showing problems and force to make uncertainty decisions.

In this way the locality in which the effects of action have arising can be easily programmed in future by the machine programmer.


Related Solutions

create a code in JAVA that takes arguments to do a bfs(breadth first search) or a...
create a code in JAVA that takes arguments to do a bfs(breadth first search) or a dfs( depth first search) using a txt file as the graph input. I have made most of the main function as well as a nose function I just need the bfs and dfs functions to work here's what I have so far, the comments that start with TODO are the parts that I need to finish Main.java import java.io.*; import java.util; ArrayList; import java.util.Iterator;...
In this assignment, you will implement Breadth First Search (BFS). The input to your program is...
In this assignment, you will implement Breadth First Search (BFS). The input to your program is a graph in the adjacency list format. The input graph has at most 100 vertices. Your program must initiate a BFS from vertex 2 of the graph. If the graph is connected, your program must output “Graph is connected”. If the graph is disconnected, your program must output “Graph is not connected”. Your program should read from an input file: data2.txt and write to...
We can use breadth-first search to find the length of longest simple path in the BFS...
We can use breadth-first search to find the length of longest simple path in the BFS tree starting at s by the simple method of checking each v.d value at the end of the algorithm. BFS is Θ(|V | + |E| and this adds only Θ(|V |) work. Find an even easier approach that adds only constant time (Θ(1)) work via a simple modification to the BFS algorithm.
1. What is the role of “levels” within a breadth-first search? 2. Other than flight routes,...
1. What is the role of “levels” within a breadth-first search? 2. Other than flight routes, what is an example of directed graphs in the real world? 3. Other than driving routes, what is an example of shortest paths in the real world? 4. What is the difference between shortest path and minimum spanning trees? 5. What role does “NP” play when developing efficient algorithms?
Write a Java program that implements the Depth-First Search (DFS) algorithm. Input format: This is a...
Write a Java program that implements the Depth-First Search (DFS) algorithm. Input format: This is a sample input from a user. 3 2 0 1 1 2 The first line (= 3 in the example) indicates that there are three vertices in the graph. You can assume that the first vertex starts from the number 0. The second line (= 2 in the example) represents the number of edges, and following two lines are the edge information. This is the...
Define the following terms. a) Heuristics b) Beam search c) Expert systems d) Best first search...
Define the following terms. a) Heuristics b) Beam search c) Expert systems d) Best first search e) Blind search f) Informed search
Python: Implement a grid-maze solving program that uses depth-first search to solve grids. The agent’s actions...
Python: Implement a grid-maze solving program that uses depth-first search to solve grids. The agent’s actions are moving in one of four directions: up, down, left, and right. A grid is formatted like below where 1’s represent locations the agent cannot traverse: 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 0 0 1 0 1 1 0 1 0 0 1...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT