{"id":124529,"date":"2018-02-20T23:50:30","date_gmt":"2018-02-20T23:50:30","guid":{"rendered":"https:\/\/writemyessayfree.com\/heuristic-map-a-search-algorithm-assignment-c"},"modified":"2017-08-16T05:58:56","modified_gmt":"2017-08-16T05:58:56","slug":"heuristic-map-a-search-algorithm-assignment-c","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/heuristic-map-a-search-algorithm-assignment-c\/","title":{"rendered":"Heuristic Map A* Search Algorithm Assignment C++"},"content":{"rendered":"<div class=\"the_content_wrapper\">\n<p>Heuristic Map A* Search Algorithm Assignment C++<br \/> CS 332 \u2013 Assignment 2<\/p>\n<p>Assignment description<\/p>\n<p>Here is the map of Glastonbury, Connecticut for Halloween celebration. Kids will gather at Glastonbury High School (starting point, noted as GHS in the map) and find a<br \/> way to go to William Pond Halloween Party (goal). The arcs are labeled with the real cost of traversing them from one point to another (distance in kilometers). The<br \/> goal is to find a path from GHS to William Pond Halloween Party.<\/p>\n<p>Table 1 (below) provides the straight line estimate for all the nodes to the final destination (h). Use these costs in A* search to list the most cost-effective path<br \/> from GHS to William Pond Halloween Party<\/p>\n<p>Street<\/p>\n<p>Straight Line Distance (in km)<\/p>\n<p>GHS<\/p>\n<p>1.79<\/p>\n<p>Nepsic Hunted House<\/p>\n<p>0.95<\/p>\n<p>Lancaster cemetery<\/p>\n<p>1.54<\/p>\n<p>Halloween Creepy Carnival<\/p>\n<p>1.52<\/p>\n<p>Zombie<\/p>\n<p>1.6<\/p>\n<p>Skeleton House<\/p>\n<p>1.53<\/p>\n<p>William Pond Halloween Party<\/p>\n<p>0<\/p>\n<p>Table 1: Heuristic information for this search problem.<\/p>\n<p>You are asked to develop a software agent that use A* search algorithm to find out the path from GHS to William Pond Halloween party. You will have two input files.<br \/> The first file is map.txt and the second file is heuristic.txt. map.txt describes the information about the nodes and distances between nodes in the map while<br \/> heuristic.txt describes information from table 1.Your program would return the output of places and the total costs from the GHS to the William Pond using A* search<br \/> algorithm. For example:<\/p>\n<p>Path: GHS -&gt; Nepsic Hunted House -&gt; William Pond Halloween Party<\/p>\n<p>Cost: 1.84<\/p>\n<p>File #1<br \/> File #2<br \/> File #3<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Heuristic Map A* Search Algorithm Assignment C++ CS 332 \u2013 Assignment 2 Assignment description Here is the map of Glastonbury, Connecticut for Halloween celebration. Kids will gather at Glastonbury High School (starting point, noted as GHS in the map) and <a href=\"https:\/\/www.benedictsol.com\/blogs\/heuristic-map-a-search-algorithm-assignment-c\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-124529","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/124529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=124529"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/124529\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=124529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=124529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=124529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}