AI search does not start with an algorithm.

It starts with structure.

Before BFS, DFS, A*, or heuristics can work, the problem must first become something searchable.

That is where graphs come in.




Core Idea


Many AI problems can be represented as graphs.

A graph gives the problem a structure:


states become nodes
relationships...