首页 手机游戏 手机软件 教程攻略 新闻资讯 专题合集
当前位置: 首页 > 手机软件 > 教育学习 > Weasel Program
Weasel Program

Weasel Program

  • 类型:教育学习
  • 评分:
  • 版本: v1.3
  • 语言:简体中文
  • 大小: 474KB
  • 更新:2015-09-01

Weasel Program截图1

Weasel Program截图2

Weasel Program截图3

Weasel Program截图4

Weasel Program截图5

内容介绍

    This program is intended for educational purposes - to demonstrate that the process that drives evolutionary systems — random variation combined with non-random cumulative selection — is different from pure chance.If you or any of you're friends can't seem to grasp how come we see complex life desigens all around us, without a designer (God for some).This concept was first illustrated in the original Weasel Program by Richard Dawkins.The basic algorithm is as follows: 1. Start with a random string. 2. Make 100 copies of this string, with a 5% chance per character of that character being replaced with a random character. 3. Compare each new string with the target string , and give each a score (the number of letters in the string that are correct and in the correct position). 4.0 If any of the new strings has a perfect score, halt. 4.1 Otherwise, take the highest scoring string, and go to step 2.For more info on the topic visit the Wikipedia page http://en.wikipedia.org/wiki/Weasel_programI'd also recommend reading the book "The Blind Watchmaker" by Richard Dawkins.p.s. there are some critics that insist that the method is cheating by locking the letters once they are correct, this is not true, you can check the whole code here - https://drive.google.com/folderview?id=0B2SWliTSzi6bOUx6T3hkVU10RVE&usp=sharingAd info:this app displays a full-screen ad when clicking the "Try me" button

火爆手游