Ed Meier
Independent researcher
Springfield, OH
Registered: Oct 2003
Posts: 31 |
The GBML Lotto search using NKS
Here it is! While it is not completed yet, I am sharing this because I did make an NKS "discovery". To make this work I had to broaden the NKS patterns of 1s and 0s to match as many other bit strings as possible. I needed to use don't-care bits. But I did not want to just create random bit strings with randomly placed don't-care bits. That would have led to a random search for random numbers, a waste of electricity.
Instead I mated a random string of 1s and 0s to a specific rule. Then I flipped each bit in the string one at a time and re-applied the NKS rule to the string. If the output was the same, then that bit that was flipped was a don't-care bit. It's value, 1 or 0, did not affect the outcome of the NKS rule. The bit could be 1 or 0. The NKS rule would generate the same output bits.
The special situation of side-by-side don't-care bits is also handled gracefully. This includes handling of three or more don't-care bits in a row. Which suprisingly is handled perfectly by creating only two different output strings. As long as the don't-care bits are separated by at least one defined bit, everything works fine. This is explained in more detail in the source code documentation and the readme file.
Have fun with this. Let me know if your experiments have any good results. I will be continuing to pursue this also. It's fun.
Attachment: gbmllottover1.zip
This has been downloaded 2017 time(s).
Report this post to a moderator | IP: Logged
|