When running the program with ./eight-puzzle -b "567408321" "123804765" (a 15-step solution), BFS and A*1 each produce a solution with depth 31 and cost 128. However, IDS produces a solution with depth 33 and cost 144. IDS solution should have the same depth and cost.
Description
When running the program with
./eight-puzzle -b "567408321" "123804765"
(a 15-step solution), BFS and A*1 each produce a solution with depth 31 and cost 128. However, IDS produces a solution with depth 33 and cost 144. IDS solution should have the same depth and cost.Source Files
SolverIDS.cpp
maybeSolverBase.cpp
?