Switch to Undirected
Setup: Run the preloaded graph with S as the start and G as the goal. Note the returned path, its Total True Path Cost, and that A reaches a dead end.
Action: Switch the graph to undirected, keep the same start and goal, and run Greedy Search again.
What to Observe: Compare the two paths and their costs. In the directed run, Greedy explores A first and eventually reaches G through B. In the undirected run, A can continue to C and then G, producing a different route.
Takeaway: Edge direction changes which moves are available to the search. Once the graph becomes undirected, Greedy can follow connections that were previously unavailable, which can change both the route explored and its true cost.