A* Algorithm | A* Algorithm Example in AI | Gate Vidyalay
Find the most cost-effective path to reach the final state from initial state using A* Algorithm. Consider g(n) = Depth of node and h(n) = Number of misplaced tiles. Solution- A* Algorithm maintains a tree of paths originating at the initial state. It extends those paths one edge at a time. It continues until final state is reached. Problem-02: