为 askQuestion 方法给定一个字符串(String)时,它返回从 20 个答案中随机选择的一个。
The askQuestion method, when given a String, returns 1 of the 20 answers selected at random.
每项研究都是随机的,参与者和医生对患者的治疗方法不做选择,随机分配。
Each of the studies was a "randomized" trial, meaning participants and doctors didn't get to choose which treatment the patients got; instead, the assignments were made by chance.
随机选择会给出两个和三个字母的单词,而 GA 方法在一个 20x20 的网格中经过几百次衍生后会得到六个字母的单词。
The random selection gave two- and three-letter words, while the GA approach went up to six-letter words in a 20x20 grid over a few hundred generations.
应用推荐