Notebook: HCAI_Lab_Search.ipynb (Work in Google Colab or download the .ipynb file to local environment)
Work in groups of 2-4. Every group member must be able to explain the results.
Work in groups of 2–4 to protect a network in Death First Search - Episode 1.
An agent is moving through the network towards one of several gateways. In each turn, your program must remove one connection to stop the agent from escaping.
Begin with a simple working strategy. Then make it smarter: Which gateway poses the greatest immediate risk? Which path is the agent likely to follow? Should you cut the final connection to a gateway or intervene earlier? Can a locally sensible decision create a worse situation in the next turn?
Use graph search to guide these decisions, and consider situations in which a simple greedy strategy may fail.
Start the challenge during the lab and continue it as part of the self-study regarding classes. Groups that complete Episode 1 may continue with Death First Search — Episode 2. Selected groups may share their strategies at the next lab, and effective solutions may receive bonus points.