clamboy
Posts: 299 Joined: May 2006
|
Quote (Wesley R. Elsberry @ Sep. 13 2016,14:19) | Question: where is the code for Mung's pseudo-weasel? |
Dr. Elsberry - I have been searching TSZ with no avail for several minutes, but someone else will probably find the code. Here is my remembering of what Mung did: Mung wrote a Ruby program that initialized "METHINKS IT IS LIKE A WEASEL" as a target, wrote a random string of the target length, randomly cycled through characters at the first place in this string until it hit upon "M", proceeded onto the second character with the same approach for "E", and continued through the entire string until the target was finally acquired.
I hope I am not misrepresenting Mung's so-called GA. While I could probably work out a brute force equivalent in Java, I will not pretend to having attained anywhere near the hacking-fu of Mung. Such prowess!
|