Relative Content

Tag Archive for pythonartificial-intelligencesliding-tile-puzzlehill-climbing

Why my sliding-tile python code is not working

I am trying to solve sliding-tile problem using Hill climbing algorithm in python where in I want to print the each intermediate step but my code isn’t showing any output. I don’t think so that any infinite loop is present in my code. Please review my code and suggest me any solution to it.

sliding-tile problem using hill climbing algorithm

I am trying to solve the 8 puzzle or sliding tile problem using Hill-Climbing algorithm in python. I Wrote the code to print each intermediate step until goal node is reached but no output is shown by the interpreter. Please review my code and tell me about the errors in the code and solution to them.