No such thing as a small change | |
PerlMonks |
Re^2: Exchange Heuristic and Swapping Codeby nat47 (Sexton) |
on Mar 03, 2015 at 17:03 UTC ( [id://1118635]=note: print w/replies, xml ) | Need Help?? |
@solution1,2,3,4,5 @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?
In Section
Seekers of Perl Wisdom
|
|