Your Perfect Assignment is Just a Click Away
We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

Problem Formulation for Search

Problem Formulation for Search

PROGRAMMING SEARCH ALGORITHMS FOR MISSIONARIES AND CANNIBALS , ROAD TRIP PROBLEMS
Artificial Intelligence

Homework 1

PROBLEM 1.: Problem Formulation for Search (50 points)

___________________________________________________________________

The Missionaries and Cannibals Problem is stated as follows. Three missionaries and three cannibals are on one side of the river, along with a boat that can hold one or two people. Find a way to get everyone to the other side without ever leaving a group of missionaries outnumbered by cannibals in that place.

Programming Assignment for Problem 2:

1. Use the implementations of the search strategies available in the aima code; available at:

https://github.com/aimacode/

to write the program that will search for the solution to Missionaries and Cannibals Problem. (list the content of the frontier and the list of explored nodes for the first 5 steps of each of the strategies used 50points)

(a) uniform-cost search; (b) iterative deepening search; (c) greedy best-first search; (d) A* search and (e) recursive best-first search

PROBLEM 2: Searching for Road Trips in the U.S.A. (50 points)

Considering the following table:

Table of direct/flight distances to Dallas (in miles). =heuristics

___________________

Austin 182

Charlotte 929

San Francisco 1230

Los Angeles 1100

New York 1368

Chicago 800

Seattle 1670

Santa Fe 560

Bakersville 1282

Boston 1551

The road graph is (in miles):

_____________________________________

Los Angeles — San Francisco ::: 383

Los Angeles — Austin ::: 1377

Los Angeles — Bakersville ::: 153

San Francisco — Bakersville ::: 283

San Francisco — Seattle ::: 807

Seattle — Santa Fe ::: 1463

Seattle — Chicago ::: 2064

Bakersville — Santa Fe ::: 864

Austin — Dallas ::: 195

Santa Fe — Dallas ::: 640

Boston — Austin ::: 1963

Dallas — New York ::: 1548

Austin — Charlotte ::: 1200

Charlotte — New York ::: 634

New York — Boston ::: 225

Boston — Chicago ::: 983

Chicago — Santa Fe ::: 1272

Boston — San Francisco ::: 3095

You contemplate to search for a trip back to Dallas from Seattle, having access to a road map which should be implemented as a graph

1/ Programming Assignment for Problem 2 – _Part A:

Use the implementations in the AIMA code available at:

https://github.com/aimacode

to find the solution and return a simulation of the RBFS strategy by generating automatically the following five values: (1) f_limit; (2) best; (3) alternative; (4) current-city; and (5) next-city for each node visited.

(20 points)

2/Programming Assignment for Problem 2 – _Part B:

Use the implementations in the AIMA code available at:

https://github.com/aimacode

to find the solution to the same search which implements the A* algorithm. Make sure that the program lists the contents of the frontier and explored list for each node that you visit during search, in the format:

[Current node: X; Evaluation function (current node)=???;

Explored Cities: […._]_;Frontier: [(City_X, f(City_X)), ….];]

(20 points)

And also Write a program that will check if the heuristic provided in this problem is consistent, given the road graph.(10 points)

Your README file must include the following:

· A description of every file for your solution, the programming language used, supporting files from the aima code used, etc.

· How your code operates, in detail.

· A description of special features (or limitations) of your code.

Within Code Documentation:

· Methods/functions/procedures should be documented in a meaningful way. This can mean expressive function/variable names as well as explicit documentation.

· Informative method/procedure/function/variable names.

· Efficient implementation

· Don’t hardcode variable values, etc

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Homework Free only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Homework Free are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Homework Free is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Homework Free, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

Homework Free Org

Your one stop solution for all your online studies solutions. Hire some of the world's highly rated writers to handle your writing assignments. And guess what, you don't have to break the bank.

© 2020 Homework Free Org