登录
首页 » 其他项目 » 该程序实现的是种子生命的模拟,生存:有两个或三个邻居的种子将存活到下一代,即仍然占据该格子; 死亡:如果有四个或更多的邻居,种子将因为过度拥挤而死亡;如果种...

该程序实现的是种子生命的模拟,生存:有两个或三个邻居的种子将存活到下一代,即仍然占据该格子; 死亡:如果有四个或更多的邻居,种子将因为过度拥挤而死亡;如果种...

于 2022-03-25 发布 文件大小:26.92 kB
0 321
下载积分: 2 下载次数: 1

代码说明:

该程序实现的是种子生命的模拟,生存:有两个或三个邻居的种子将存活到下一代,即仍然占据该格子; 死亡:如果有四个或更多的邻居,种子将因为过度拥挤而死亡;如果种子只有一个或零个邻居,将因为孤独而死亡; 繁殖:如果一个空格子有三个邻居,那么将会长出一粒新种子。一种模式在经过若干代之后有以下四种可能的结局之一: 消亡; 不变――静态; 振荡――在一组模式间循环多次后在相同的位置出现相同的模式; 滑动――在一组模式间循环多次后在不同的位置出现相同的模式。该程序允许用户指定初始的模式或计算机自动创建初始的模式; 显示进化的过程,即历代模式; 当模式消亡就停止进化,或者提示用户是否继续显示下一代,或开始新的案例,抑或退出。 -The program implementation is the seed of life simulation, survival: There are two or three neighbors of the seed will survive to the next generation, that is still occupying the lattice Death: If there are four or more neighbors, the seeds will die because of overcrowding if seed is only one or zero neighbors, will die because of loneliness Breeding: If a sub-space has three neighbors, then it will grow a new seed. After a pattern after several generations have the following one of four possible outcomes: Die Constant- static Oscillation- a group of modes in the loop on many occasions in the same location after the same pattern emerged Sli

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • GPS测量,地心空间直角坐标到地理条件。
    GPS测量中,地心空间直角坐标转换为地理坐标的源代码,需要输入椭球参数-GPS measurements, geocentric spatial rectangular coordinates into geographical coordinates of the source code, need to enter the ellipsoid parameters
    2022-07-10 11:57:36下载
    积分:1
  • on genetic aspects of a few simple algorithm
    关于遗传方面的几个简单算法-on genetic aspects of a few simple algorithm
    2023-07-11 06:10:03下载
    积分:1
  • 修改过去混沌算法中的参数选择问题,使算法变得更准确.
    修改过去混沌算法中的参数选择问题,使算法变得更准确.-Modified over the past chaotic algorithm parameter selection problem, so that algorithms become more accurate.
    2022-04-11 00:48:15下载
    积分:1
  • 普通扫雷软件
    1代表1的上下左右及斜角合计有一颗雷,依次轮推,2则有2颗,3则有3颗。在确实是炸弹的方格上点了旗子,就安全了,不是炸弹的被点了旗子,后面会被炸死的。问号就三不确定这里有没有炸弹,不会存在点错了被炸死的状况。有个小窍门,在数字旁同时点左键和右键可以排雷。
    2022-04-17 04:36:56下载
    积分:1
  • DVD软件开机画面更换工具,为凌阳DVD
    DVD软件开机画面更换工具,适用于凌阳DVD-DVD Software boot screen replacement tool for Sunplus DVD
    2022-02-16 04:13:53下载
    积分:1
  • Realize with vc 6.0 Notepad function, through which patients can understand the...
    用vc 6.0实现记事本功能, 通过该例可以了解记事本的实现方法.-Realize with vc 6.0 Notepad function, through which patients can understand the realization of methods of Notepad.
    2022-03-18 08:58:06下载
    积分:1
  • OpenCms中文用户手册书籍语言:英文书籍类型:程序…
    OpenCms中文用户手册 书籍语言: 简体中文 书籍类型: 程序设计 授权方式: 免费软件 书籍大小: 897 KB -OpenCMS Chinese user manual books Language : English books categories : program design license : free software books Size : 897 KB
    2022-02-07 08:00:53下载
    积分:1
  • 进程调度算法!
    进程调度算法!-process scheduling algorithm!
    2022-06-27 08:31:34下载
    积分:1
  • 一:需求分析 1.本程序需掌握树和二叉树的概念及工作原理,运用其原理及概念完成实验.。 2.问题描述: 一个逻辑表达式如果对于其变元的任一种取值都为...
    一:需求分析 1.本程序需掌握树和二叉树的概念及工作原理,运用其原理及概念完成实验.。 2.问题描述: 一个逻辑表达式如果对于其变元的任一种取值都为真,则称为重言式;反之,如果对于其变元的任一种取值都为假,则称为矛盾式;然而,更多的情况下,既非重言式,也非矛盾式。试写一程序,通过真值表判断一个逻辑表达式属于那一类。 3.基本要求: (1)逻辑表达式从终端输入,长度不超过一行。逻辑运算符包括“|”,“&”和“~”, 分别表示或、与和非,运算优先程度递增,但可以有括号改变,即括号内的运算优先。逻辑变元为大写字母。表达式中任何地方都可以含有多个空格符。 (2)若是重言式或矛盾式,可以只“显示True forever”或“False forever”,否则显示“Satisfactible”以及变量名序列,与用户交互。若用户对表达式中变元取一组值,程序就求出并显示逻辑表达式的值。 -1 : a needs analysis. The process required the trees and the binary tree master the concept and principle, to use its principles and the concept of completion of the pilot. . 2. Problem description : If a logical expression for the changes in the yuan"s value for a true, as tautology; Instead, If the changes for the yuan"s value for a fake, then called the contradiction; However, the more the situation, neither tautology. is not a contradiction. Try to write a procedure for the adoption of a truth table judgment logical expression belong into that category. 3. Basic requiremen
    2022-01-23 10:34:57下载
    积分:1
  • 本篇文档详细介绍了VIVI的启动过程和移植过程
    本篇文档详细介绍了VIVI的启动过程和移植过程 -This document details VIVI startup process and the process of organ transplant
    2023-03-27 23:40:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载