in reply to Re: Exchange Heuristic and Swapping Code
in thread Exchange Heuristic and Swapping Code
@leftovers6,7,8
pick [0] of @solution and examine combinations 6,2,3,4,5, 7,2,3,4,5, and 9,2,3,4,5. If these are not closer to goal state then do the same with 1 so that 1,6,3,4,5, 1,7,3,4,5, etc
This makes sense then, that it could run through the whole thing and not find a better solution?
|
|---|