Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

problem 1: Show the search tree generated by Hill-Climbing search for each of the two heuristics (a) and (b) applied to the following 8-puzzle problem. Search tree must show all states generated all along with their heuristic value. If two neighbor states have the same value, then consider them in order of the actions (movement of blank): up, down, left, right. Also point out the final state returned by the Hill-Climbing function.

596_hill climbing function.jpg

a) Value = 1 / (number of tiles out of place, including the blank tile). For illustration, the value of the initial state = 1/4.
b) Value = 1 / (number of tiles out of place, not including the blank tile). For illustration, the value of the initial state = 1/3.

problem 2: Perform alpha-beta pruning on the following tree. Put an “X” over each node that is pruned. Put the final value next to all other nodes. Point out which action MAX should take: to B, to C or to D.

895_alpha beta pruning.jpg

problem 3: Suppose a logic-based agent in the wumpus world has found that locations (1,1) and (2,1) do not contain a stench, but that locations (3,1) and (2,2) do contain a stench. Can the agent deduce the location of the wumpus? Let’s use propositional logic to find out.

a) Using propositional symbols Sx,y  for stench in  (x,y) and Wx,y  for wumpus in (x,y), where x and y are integers greater than zero, prepare down a knowledge base containing relevant propositional statements about the wumpus world and containing what the agent knows about this wumpus world. Number each statement.

b) Show a propositional proof of the location of the wumpus. For each step of your proof, clearly indicate the newly inferred statement, the previous statements used to infer this new statement, and the inference rule used.
 
problem 4: Consider the following statements about the types of fruit people like.
 
If people like apples, then they do not like oranges. If people do not like apples, then they like oranges and grapes. If people do not like oranges or they like grapes, then they like pears. If people like pears, then they like bananas.
 
a) Express the above statements in propositional logic. Clearly define the meaning of your propositional symbols.

b) Convert your statements from (a) into conjunctive normal form (CNF). Number the clauses in your knowledge base (KB) starting with number 1.

c) Using proof by refutation and resolution, try to prove that people like bananas using your KB from (b). For each new clause  in your proof, clearly indicate the previous clauses  used. If “people like bananas” cannot be proven, then clearly describe or
demonstrate why.

d) Using proof by refutation and resolution, try to prove that people like apples using your KB from (b). For each new clause  in your proof, clearly indicate the previous clauses  used. If “people like apples” cannot be proven, then clearly describe or demonstrate why.

Computer Engineering, Engineering

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

Have any Question? 


Related Questions in Computer Engineering

Design and implement an algorithm that will search a tree

Design and implement an algorithm that will search a tree structure that may have more than two nodes emanating from each node. As part of the design it will be necessary to construct a suitable data structure for storin ...

1 if one-time pads are provably secure why are they so

1. If one-time pads are provably secure, why are they so rarely used in practice? 2. Prove that the DES key consisting of all 0-bits and the DES key consisting of all 1-bits are both weak keys. What are the other two wea ...

Assume alice the client creates a connection with bob the

Assume Alice, the client, creates a connection with Bob, the server. They exchange data and close the connection. Now Alice starts a new connection with Bob by sending a new SYN segment. Before Bob responds to this SYN s ...

Cs-205 declarative programming assignmentquestion 1

CS-205 Declarative Programming Assignment Question 1: Recursion, Lists and Accumulating Parameters (a) Write the following program and compile it: % Program: ROYAL parent(queenmother,elisabeth).             parent(elisab ...

You are to complete a minimum 500-word essay in which you

You are to complete a minimum 500-word essay in which you describe resource pooling architecture and how you would apply these principles in a business environment. Provide details and examples to support your response f ...

1 what are all the possible resulting values of w x y and z

1. What are all the possible resulting values of w, x, y, and z? For each possible outcome, explain how we might arrive at those values. You will need to examine all possible inter leavings of instructions. 2. How could ...

1 object x has two simple variables how can snmp refer to

1. Object x has two simple variables. How can SNMP refer to the instance of each variable? 2. Object x has one table with two columns. The table at this moment has three rows with the contents shown below. If the table i ...

1 when the ivc for the ah protocol is computed why are

1. When the IVC for the AH protocol is computed, why are mutable fields set to 0 rather than omitted? 2. Section 11.4.4 discusses the use of SSL to provide confidentiality, authentication, and integrity security services ...

Apa fortmat - 300 words-nbspreferences pleasethe family

APA fortmat - 300 words-  references please. The Family Education Rights and Privacy Act (FERPA) was passed in 1974 to protect the privacy rights of students in higher education institutions. It is appropriate to mention ...

Design and implement a class that uses an array to mimic

Design and implement a class that uses an array to mimic the behavior of the ArrayList class. Include as many methods from the ArrayList class as possible. Write a program to test your implementation.

  • 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