You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the 3x3x3 cube, GUI is rendering, but there is no solution(steps) for it!
Scramble moves and hash is working fine but after enter it is giving error as below:
Traceback (most recent call last):
File "C:\Users\hanis\CubeAI\main.py", line 101, in
ai(args.a, args.n, args.s, heuristic)
File "C:\Users\hanis\CubeAI\main.py", line 63, in ai
path = ai.solve()
File "C:\Users\hanis\CubeAI\AIs.py", line 264, in solve
bound = self.heuristic(self.cube)
File "C:\Users\hanis\CubeAI\Heuristic.py", line 52, in manhattanDistance
return myHeuristic.scoreCube(cube)
File "C:\Users\hanis\CubeAI\Heuristic.py", line 65, in scoreCube
score = score + myHeuristic.scorePiece(cube, i)
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
Does your code limited to 222 cube??
The text was updated successfully, but these errors were encountered:
For the 3x3x3 cube, GUI is rendering, but there is no solution(steps) for it!
Scramble moves and hash is working fine but after enter it is giving error as below:
Traceback (most recent call last):
File "C:\Users\hanis\CubeAI\main.py", line 101, in
ai(args.a, args.n, args.s, heuristic)
File "C:\Users\hanis\CubeAI\main.py", line 63, in ai
path = ai.solve()
File "C:\Users\hanis\CubeAI\AIs.py", line 264, in solve
bound = self.heuristic(self.cube)
File "C:\Users\hanis\CubeAI\Heuristic.py", line 52, in manhattanDistance
return myHeuristic.scoreCube(cube)
File "C:\Users\hanis\CubeAI\Heuristic.py", line 65, in scoreCube
score = score + myHeuristic.scorePiece(cube, i)
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
Does your code limited to 222 cube??
The text was updated successfully, but these errors were encountered: