Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

problem 1: n vehicles occupy squares (1, 1) through (n, 1) (i.e., the bottom row) of an n × n grid. The vehicles must be moved to the top row but in reverse order; so the vehicle i that starts in (i, 1) must end up in (n - i + 1, n). On each time step, every one of the n vehicles can move one square up, down, left, or right, or stay put; but if a vehicle stays put, one other adjacent vehicle (but not more than one) can hop over it. Two vehicles cannot occupy the same square.

a) find out the size of the state space as a function of n.

b) find out the branching factor as a function of n.

c) Suppose that vehicle i is at (xi, yi); prepare a nontrivial admissible heuristic hi for the number of moves it will require to get to its goal location (n - i + 1, n), assuming no other vehicles are on the grid. Give a formula for hi in terms of xi, yi, and n.

d) Which of the following heuristics are admissible for the problem of moving all n vehicles to their destinations? describe.

929_heuristics.jpg

problem 2: Describe the search algorithm that results from each of the following special cases. How does it relate to other algorithms we have discussed.

a) Local beam search with k = 1.

b) Local beam search with one initial state and no limit on the number of states retained.

c) Simulated annealing with T = 0 at all times (and omitting the termination test).

d) Simulated annealing with T = ∞ at all times.

e) Genetic algorithm with population size N = 1.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91083

Have any Question? 


Related Questions in Computer Engineering

1 draw a plan of how you will go about setting up a

1. Draw a plan of how you will go about setting up a Disaster Recovery Committee, indicating who will be in it and why. Also send a memo to the committee members telling them about the first organizing meeting, and list ...

The fibonacci sequence starts 1 1 2 3 5 8 each number in

The Fibonacci sequence starts 1, 1, 2, 3, 5, 8, . . .. Each number in the sequence (after the first two) is the sum of the previous two. Write a program that computes and outputs the nth Fibonacci number, where n is a va ...

Assuming stall-on-branch and no delay slots what is the new

Assuming stall-on-branch and no delay slots, what is the new clock cycle time and execution time of this instruction sequence if beq address computation is moved to the MEM stage? What is the speedup from this change? As ...

1 can an snmp message reference a leaf node in the mib tree

1. Can an SNMP message reference a leaf node in the MIB tree? Explain. 2. Assume a manageable object has only three simple variables. How many leaves can be found in the MIB tree for this object? 3. Assume a manageable o ...

1 evaluate the four basic linked list operations for a

1. Evaluate the four basic linked list operations for a sorted doubly linked list and indicate the worst case time-complexities of each. 2. Evaluate the worst case time-complexity for the search operation on a doubly lin ...

1 compare the medium of a wired lan with that of a wireless

1. Compare the medium of a wired LAN with that of a wireless LAN in today's communication environment. 2. Explain why the MAC protocol is more important in wireless LANs than in wired LANs. 3. Explain why there is more a ...

Let the two primes p 41 and q 17 be given as set-up

Let the two primes p = 41 and q = 17 be given as set-up parameters for RSA. 1. Which of the parameters e1 = 32,e2 = 49 is a valid RSA exponent? Justify your choice. 2. Compute the corresponding private key Kpr = (p,q,d). ...

1 differentiate between access and authorization2 what are

1. Differentiate between access and authorization. 2. What are the bene fits of authorization? 3. Why is it dif fi cult to implement distributed authorization? 4. Discuss the merits and demerits of centralized and decent ...

Python provides a numeric class for working with

Python provides a numeric class for working with floating-point values. But not all real numbers can be represented precisely on a computer since they are stored as binary values. In applications where the precision of r ...

In the sixth lab we analyze the behavior of the dns

In the sixth lab, we analyze the behavior of the DNS protocol. In addition to Wireshark, several network utilities are available for finding some information stored in the DNS servers. In this lab, we use the dig utiliti ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen