{"id":1325,"date":"2021-01-05T14:42:53","date_gmt":"2021-01-05T14:42:53","guid":{"rendered":"http:\/\/learnlearn.uk\/alevelcs\/?page_id=1325"},"modified":"2021-02-01T23:31:49","modified_gmt":"2021-02-01T23:31:49","slug":"a-star-algorithm","status":"publish","type":"page","link":"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/","title":{"rendered":"A* Algorithm"},"content":{"rendered":"<div class=\"responsive-tabs\">\n<h2 class=\"tabtitle\">Introduction<\/h2>\n<div class=\"tabcontent\">\n\n<h3>A* Algorithm Introduction<\/h3>\n<p>One of the biggest problems with Dijkstra&#8217;s algorithm is that it is that it has the potential to be inefficient when searching for the shortest path, because it just looks for the next shortest leg<\/p>\n<p>Heuristic<\/p>\n<p>Combined weighting (Heuristic\u00a0 + cost)<\/p>\n\n<\/div><h2 class=\"tabtitle\">Heuristic<\/h2>\n<div class=\"tabcontent\">\n\n<p>Heuristics<\/p>\n<p>There are a number of common heuristic methods that can be used when<\/p>\n<p>Manhattan Method<\/p>\n<p>Diagonal Distance<\/p>\n<p>Euclidean Distance<\/p>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Video<\/h2>\n<div class=\"tabcontent\">\n\n<div class=\"nv-iframe-embed\">\n<div class=\"container-lazyload preview-lazyload container-youtube js-lazyload--not-loaded\"><a href=\"https:\/\/youtu.be\/ySN5Wnu88nE\" class=\"lazy-load-youtube preview-lazyload preview-youtube\" data-video-title=\"A* (A Star) Search Algorithm - Computerphile\" title=\"Play video &quot;A* (A Star) Search Algorithm - Computerphile&quot;\">https:\/\/youtu.be\/ySN5Wnu88nE<\/a><noscript>Video can&#8217;t be loaded because JavaScript is disabled: <a href=\"https:\/\/youtu.be\/ySN5Wnu88nE\" title=\"A* (A Star) Search Algorithm - Computerphile\">A* (A Star) Search Algorithm &#8211; Computerphile (https:\/\/youtu.be\/ySN5Wnu88nE)<\/a><\/noscript><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Resources<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Resources<\/h3>\n<p><a href=\"https:\/\/docs.google.com\/presentation\/d\/158nwUE5Rq66Gvn5e-x3t14WN2YYOt1yhizo4_VNkOlo\/edit?usp=sharing\">Teacher Presentation<\/a><\/p>\n<p>https:\/\/www.geeksforgeeks.org\/a-search-algorithm\/<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Further reading beyond the specification<\/strong><\/p>\n<p><a href=\"https:\/\/towardsdatascience.com\/9-distance-measures-in-data-science-918109d069fa?gi=a3b7e8f7cfa0\">Nine Distance measures in Data Science<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/div><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A* Algorithm Introduction One of the biggest problems with Dijkstra&#8217;s algorithm is that it is that it has the potential to be inefficient when searching for the shortest path, because it just looks for the next shortest leg Heuristic Combined weighting (Heuristic\u00a0 + cost) Heuristics There are a number of common heuristic methods that can&hellip;&nbsp;<a href=\"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">A* Algorithm<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":70,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A* Algorithm - A Level Computer Science<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A* Algorithm - A Level Computer Science\" \/>\n<meta property=\"og:description\" content=\"A* Algorithm Introduction One of the biggest problems with Dijkstra&#8217;s algorithm is that it is that it has the potential to be inefficient when searching for the shortest path, because it just looks for the next shortest leg Heuristic Combined weighting (Heuristic\u00a0 + cost) Heuristics There are a number of common heuristic methods that can&hellip;&nbsp;Read More &raquo;A* Algorithm\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/\" \/>\n<meta property=\"og:site_name\" content=\"A Level Computer Science\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-01T23:31:49+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/\",\"name\":\"A* Algorithm - A Level Computer Science\",\"isPartOf\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#website\"},\"datePublished\":\"2021-01-05T14:42:53+00:00\",\"dateModified\":\"2021-02-01T23:31:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"A Level Computer Science Home\",\"item\":\"https:\/\/learnlearn.uk\/alevelcs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A* Algorithm\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#website\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/\",\"name\":\"A Level Computer Science\",\"description\":\"CIE Specification\",\"publisher\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learnlearn.uk\/alevelcs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#organization\",\"name\":\"A Level Computer Science\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png\",\"contentUrl\":\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png\",\"width\":710,\"height\":98,\"caption\":\"A Level Computer Science\"},\"image\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A* Algorithm - A Level Computer Science","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/","og_locale":"en_GB","og_type":"article","og_title":"A* Algorithm - A Level Computer Science","og_description":"A* Algorithm Introduction One of the biggest problems with Dijkstra&#8217;s algorithm is that it is that it has the potential to be inefficient when searching for the shortest path, because it just looks for the next shortest leg Heuristic Combined weighting (Heuristic\u00a0 + cost) Heuristics There are a number of common heuristic methods that can&hellip;&nbsp;Read More &raquo;A* Algorithm","og_url":"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/","og_site_name":"A Level Computer Science","article_modified_time":"2021-02-01T23:31:49+00:00","twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/","url":"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/","name":"A* Algorithm - A Level Computer Science","isPartOf":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/#website"},"datePublished":"2021-01-05T14:42:53+00:00","dateModified":"2021-02-01T23:31:49+00:00","breadcrumb":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learnlearn.uk\/alevelcs\/a-star-algorithm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"A Level Computer Science Home","item":"https:\/\/learnlearn.uk\/alevelcs\/"},{"@type":"ListItem","position":2,"name":"A* Algorithm"}]},{"@type":"WebSite","@id":"https:\/\/learnlearn.uk\/alevelcs\/#website","url":"https:\/\/learnlearn.uk\/alevelcs\/","name":"A Level Computer Science","description":"CIE Specification","publisher":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learnlearn.uk\/alevelcs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/learnlearn.uk\/alevelcs\/#organization","name":"A Level Computer Science","url":"https:\/\/learnlearn.uk\/alevelcs\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/","url":"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png","contentUrl":"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png","width":710,"height":98,"caption":"A Level Computer Science"},"image":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/"}}]}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"learnlearnadmin","author_link":"https:\/\/learnlearn.uk\/alevelcs\/author\/learnlearnadmin\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"A* Algorithm Introduction One of the biggest problems with Dijkstra&#8217;s algorithm is that it is that it has the potential to be inefficient when searching for the shortest path, because it just looks for the next shortest leg Heuristic Combined weighting (Heuristic\u00a0 + cost) Heuristics There are a number of common heuristic methods that can&hellip;&nbsp;Read&hellip;","_links":{"self":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages\/1325"}],"collection":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/comments?post=1325"}],"version-history":[{"count":7,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages\/1325\/revisions"}],"predecessor-version":[{"id":1504,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages\/1325\/revisions\/1504"}],"wp:attachment":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/media?parent=1325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}