Artificial Intelligence: A Modern Approach
Artificial Intelligence: A Modern Approach
3rd Edition
ISBN: 9780136042594
Author: Stuart Russell, Peter Norvig
Publisher: Prentice Hall
bartleby

Videos

Textbook Question
Book Icon
Chapter 4, Problem 1E

Give the name of the algorithm that results from each of the following special cases:

  1. a. Local beam search with k = 1.
  2. b. Local beam search with one initial state and no limit on the number of states retained.
  3. c. Simulated annealing with T = 0 at all times (and omitting the termination test).
  4. d. Simulated annealing with T = ∞ at all times.
  5. e. Genetic algorithm with population size N = 1.
Expert Solution & Answer
Check Mark

Explanation of Solution

a.

The local beam search with “k=1” is hill-climbing search.

b.

  • Local beam search with one initial state and no limit on the number of states retained resembles with Breadth-First search.
  • In breadth first search, before adding the next layer it adds one complete layer nodes.
  • Starting from one state, the algorithm would be essentially identical to breadth-first search except that each layer is generated all at once.

c.

Simulated annealing with “T=0” at all time:

  • There is a fact that termination step would be triggered immediately. Ignoring this fact, the search would be identical to first choice hill climbing.
  • This is because; every downward successor would be rejected with probability 1.

d.

Simulated annealing with “T = ∞” at all times is a random-walk search, it always accepts a new state.

e.

Generic algorithm with population size “N=1”:

  • The two selected parents will be same individual, if the population size is “1”.
  • The crossover yields an exact copy of individuals. Here, the mutation chance occurs.
  • Thus, the algorithm executes a random walk in the space of individuals.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
05:06
Students have asked these similar questions
Correct answer will be upvoted else downvoted. Computer science.    stage is a succession of n integers from 1 to n, in which every one of the numbers happen precisely once. For instance, [1], [3,5,2,1,4], [1,3,2] are stages, and [2,3,2], [4,3,1], [0] are not.    Polycarp was given four integers n, l, r (1≤l≤r≤n) and s (1≤s≤n(n+1)2) and requested to find a stage p of numbers from 1 to n that fulfills the accompanying condition:    s=pl+pl+1+… +pr.    For instance, for n=5, l=3, r=5, and s=8, the accompanying stages are reasonable (not all choices are recorded):    p=[3,4,5,2,1];    p=[5,2,4,3,1];    p=[5,2,1,3,4].    However, for instance, there is no change reasonable for the condition above for n=4, l=1, r=1, and s=5.    Help Polycarp, for the given n, l, r, and s, find a stage of numbers from 1 to n that fits the condition above. In case there are a few appropriate changes, print any of them.    Input    The primary line contains a solitary integer t (1≤t≤500). Then, at that point,…
Simulated annealing is an extension of hill climbing, which uses randomness to avoid getting stuck in local maxima and plateaux. a) As defined in your textbook, simulated annealing returns the current state when the end of the annealing schedule is reached and if the annealing schedule is slow enough. Given that we know the value (measure of goodness) of each state we visit, is there anything smarter we could do?   (b) Simulated annealing requires a very small amount of memory, just enough to store two states: the current state and the proposed next state. Suppose we had enough memory to hold two million states. Propose a modification to simulated annealing that makes productive use of the additional memory. In particular, suggest something that will likely perform better than just running simulated annealing a million times consecutively with random restarts. [Note: There are multiple correct answers here.]   (c) Gradient ascent search is prone to local optima just like hill climbing.…
Implement an algorithmic solution, indicating which states are valid and which are not, and model the space of the following problem: An interest group from a small town decided to sue a company for commercial abuse. For this, the people have organized themselves and decided to send 3 representatives, who will have to travel in a Van to the city where the lawsuit will be filed. The company to be sued, upon learning of these actions, has decided to send 3 lawyers to persuade the representatives, who will also travel in the same Van for that purpose. The community must file the class action suit under these conditions: - The three applicants must reach the destination city; - Only two people can travel per trip in the Van (small town - city, city - small town); - There can never be more lawyers than plaintiffs in any one place (either in the small town or city) because the lawyers can persuade the plaintiffs and as a consequence, the lawsuit would not be made; - The Van cannot be…

Additional Engineering Textbook Solutions

Find more solutions based on key concepts
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Introduction to Big O Notation and Time Complexity (Data Structures & Algorithms #7); Author: CS Dojo;https://www.youtube.com/watch?v=D6xkbGLQesk;License: Standard YouTube License, CC-BY