Save this video — free

COMP 3200 - Intro to Artificial Intelligence - Lecture 07 - Assignment 2

Dave Churchill · 1:32:01 · Watch on YouTube

COMP 3200 - Intro to Artificial Intelligence - Lecture 07 - Assignment 2 Watch on YouTube →

Overview

Dave Churchill introduces COMP 3200 Assignment 2, which replaces Assignment 1's simpler search algorithms with A* search over grid environments containing 1x1, 2x2, and 3x3 objects, four- or eight-directional actions, variable action costs, and selectable heuristics. The lecture explains collision-aware movement, connectivity precomputation with cardinal BFS, heuristic admissibility, A* data structures, tie-breaking, and a step-by-step JavaScript implementation and testing workflow, while explicitly excluding bidirectional search for COMP 3200.

Key takeaways

Chapters

0:00 Assignment 2 Scope, Deadlines, and Course Roadmap
2:00 Assignment 2 Interface and A* Search Demonstration
6:00 Four- versus Eight-Directional Movement and Object Sizes
9:00 Selectable Heuristics and Connected-State Visualization
12:00 Using Zero Heuristic to Debug A*
14:00 A* Node Data and Variable Action Costs
19:00 Why Breadth-First Search Is Not Optimal with Diagonals
22:00 Collision Rules for 1x1, 2x2, and 3x3 Objects
26:00 Diagonal Movement Cannot Jump Over Obstacles
30:00 Deriving Diagonal Legality from Cardinal Actions
33:00 A* Path Costs and Legal Route Geometry
36:00 Implementing the Four Assignment Heuristics
40:00 Connectivity and Connected Sectors
44:00 Precomputing Connectivity with Cardinal BFS
50:00 Multi-Size Sector Grids and Reusing Visited Data
58:00 Precomputed Sector and Legal-Action Optimizations
1:04:00 Closed Lists, Priority Queues, and A* Tie-Breaking
1:10:00 Recommended JavaScript Implementation Order
1:18:00 Testing Heuristics, Action Arrays, and Object Size
1:25:00 Optional Binary Heap Integration and Final Assignment Checklist

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

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.