Save this video free

COMP 3200 - Intro to Artificial Intelligence - Lecture 05 - Heuristic Search + A* Algorithm

Dave Churchill · 1:14:40 · Watch on YouTube

Part of Memorial University of Newfoundland COMP 3200. See all 21 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Dave Churchill introduces informed heuristic search and develops A* as a pathfinding algorithm that selects the open-list node minimizing f(n) = g(n) + h(n). He explains when A* is complete and optimal, distinguishes admissible heuristics from the stricter consistency requirement for graph search, and demonstrates how heuristic weighting trades search effort for solution quality.

Key takeaways

Chapters

0:00 Informed Search Uses Problem Knowledge to Guide Exploration
3:30 Best-First Search Selects Nodes by an Evaluation Function
6:30 Heuristic Functions Estimate Remaining Cost to the Goal
12:55 Greedy Best-First Search Follows the Heuristic Alone
19:20 Admissible Heuristics Never Overestimate the True Cost
28:00 A* Combines Cost So Far with Estimated Remaining Cost
32:10 Consistency Makes A* Graph Search Optimal
40:18 A* Graph Search, Algorithm Comparisons, and Open-List Pruning
49:03 A*’s Optimal Efficiency and Remaining Memory Costs
53:12 Grid-World A* Example: States, Costs, and Heuristic Values
58:55 Tracing A* Through the Open and Closed Lists
1:04:13 A* Confirms the Best Route Only When the Goal Is Removed
1:06:53 Weighted A* Tunes Trust in the Heuristic
1:10:00 Search-Demo Results Show the Speed–Optimality Tradeoff

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 Okay, so lecture number five, one of my favorite lectures because it introduces probably my favorite algorithm of all time, which is the AAR search algorithm. Um, it is a an algorithm for uh path finding. Um, usually uh and if you've ever played a video game where enemies walk around, it is probably using some version of this AAR search algorithm um that we will learn about today. Uh so here just for the slides at the beginning at the end I include a link to this uh search demo and I'll show that at the end because we're going to tie everything nicely together with this algorithm at the end and then I'll demo it and show you how everything kind of works. But that's just a link to it. It it goes to my website. It's kind of like a beefed up version of assignment 2 for for this class.

0:49 So today we're going to be talking about uh informed search or curistic search. And uh what we've been talking about so far was uninformed search and now we're going to be talking about how we incorporate knowledge into our problems in order to hopefully be able to solve them faster. So an informed search strategy uses problemspecific knowledge beyond just the problem description um itself. And we're going to use guesses or heruristics to guide the search toward the direction of the goal. And just a quick note is that pretty much every subd disccipline of every department of science ever has two or three different definitions of what the word heristic means. So if you see it in different contest is contexts, it's going to mean completely different

1:36 things. In this class, the heristic is going to be a specific function that's sort of a guess of what direction we

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Dave Churchill.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.