8-puzzle-solver-cpp icon indicating copy to clipboard operation
8-puzzle-solver-cpp copied to clipboard

issue in custom comparator class

Open alphaWizard opened this issue 7 years ago • 1 comments

there should be am>bm because we prioritize those whose heuristic distance is less. i did this and i got good results for example the test case: 4 1 3 2 0 5 7 8 6 gives output for 6 sequential moves only while your gives for more than 15 moves.

alphaWizard avatar Sep 29 '17 12:09 alphaWizard

help me please

mishscien avatar Sep 26 '21 19:09 mishscien