|註冊 | 登入 | 全文檢索 | 排行榜|
» Java 程式分享區
列印話題 寄給朋友 訂閱主題
|作者||[猜數字系列]深咖啡 0.2 研發成功 !!|
Java, Ruby, Haskell
在看 深咖啡 0.2 之前, 您首先必須完全 了解深咖啡 0.1
More information about DeepCafe 0.1 can find it on:
(Note: below DeepGreen means: the "initial" (first version) of DeepGreen)
worookie 指出 DeepCafe is not always win DeepGreen exactly 37 times.
At beginning, I think that it should be always 37, but I am wrong.
This make me think about the second set number.
You could choice better second set number to make it even better!
As on version 0.1, we know that the answerSet is in ascending order.
like "0123", "0124" ..."0129", "0132", "0134" ... "9867"
In case first guess #A+#B == 3, DeepCafe try to use "special second set" number ( at version 0.1 this special number could any 4 digit not in the first guess number ).
Since we know DeepCafe will fallow DeepGreen in its ascending answerSet order guessing. It make sence if we choice the second set close to the "end" of answerSet ascending order, and make this second set in reverse order.
Like, for example: the first guess number is "0123"
instead of choic "4567", I think (*probability*) it may be good to pick the "6789" ( the close end ).
For even close to the end it maybe good to pick the *last* four digits in reverse order, which means "9876" !!
If we pick the right second special guessing number, we imporve the DeepCafe 0.1
That's what happend for the DeepCafe 0.2 ==> It try to win not only 37 times. This time, it try to win 50 times.
To prove my concept is right, I quickly develop the test code.
It tests all second special possible number to prove my concept :
"Take the 4 digit not in first guess AND closest to the *end* of answerSet's for better second special guessing number"
(Again, You must first understand the DeepCafe 0.1 before see this code)
|9216||[猜數字系列]深咖啡 0.2 研發成功 !!||T55555||8965||2004-03-02 00:24|
|7710||Re:深咖啡 0.2 研發成功 !!||sungo||26||2004-03-02 03:04|
|7690||Re:深咖啡 0.2 研發成功 !!||T55555||17||2004-03-02 03:21|
|8081||Re:深咖啡 0.2 研發成功 !!||sungo||65||2004-03-02 03:27|
|» JWorld@TW » Java 程式分享區 » 數獨、猜數字|