


hamming_distance - Count of how many tiles are in the correct position.euclidean_distance - The straight line distance in Euclidean space between two tiles.Additional moves are needed to shuffle the corners out and the neighbors back. corner_tiles_heuristic - Adds additional distance penalty when corners are incorrect, but the neighbors are in goal position.May miss the goal, even thought the board is solvable. Of the provided algorithms, only beam search is incomplete by default. See the docs for individual algorithms linked above. The search() method accepts the enum values or the str name.Īll algorithms support behavior customization via kwargs.
