登录
首页 » c++ » 生命游戏

生命游戏

于 2023-05-21 发布 文件大小:17.81 MB
0 112
下载积分: 2 下载次数: 1

代码说明:

本人初学C++,此文件是控制台实现的生命游戏。希望大家对不对的地方批评指正,多多包容。关于生命游戏:生命游戏(Game of life)为1970年由英国数学家J. H. Conway提出,某细胞的邻居包括上、下、左、右、左上、左下、右上与右下相邻之细胞,游戏规则如下:拥挤死亡:如果细胞的邻居在四个以上,则该细胞在下次状态将死亡。复活:如果某位置原无细胞存活,而该位置的邻居为三个,则该位置将复活一细胞。

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

发表评论

0 个回复

  • HarrisCorner
    对输入的一张彩色图像,自己写代码实现Harris Corner 检测算法: 1. 不能直接调用OpenCV 里面与Harris 角点检测相关的一些函数; 2. 只能用C/C++,不能用其他语言; 3. GUI 只能用自带的HighGUI,不能用QT 或其他的; 4. 平台可以用Windows, Linux, MacOS; 5. 显示中间的处理结果及最终的检测结果,包括最大特征值图,最小特征值图,R 图(可以考虑彩色 展示),原图上叠加检测结果等,并将这些中间结果都输出成图像文件; 6. 命令格式: “xxx.exe 图片文件 k 参数(=0.04) Aperture_size(=3)”。(The input of a color image, write your own code to achieve Harris Corner Detection Algorithm: 1. Can not be called directly inside OpenCV some functions associated with the Harris corner detection 2. To only use C/C++, can not be used in other languages 3. GUI only with their own HighGUI, can not use QT or other 4. The platform can be used Windows, Linux, MacOS 5. Display intermediate and final results of the test results, including the largest eigenvalues diagram, the minimum feature value graph , R chart (you can consider color display), picture superimposed on the test results, etc., and these intermediate results are output as an image file 6. Command Format: " xxx.exe picture file k parameters (= 0.04) Aperture_size (= 3 ). " )
    2016-01-04 12:44:23下载
    积分:1
  • voronoi图的分治算法实现
    voronoi图的分治算法实现,清晰展示voronoi图的实现过程
    2023-06-16 01:10:03下载
    积分:1
  • 主要有三个功能:记事本、音乐播放器、flash播放器。可以播放flash文件,听听音乐,写写自己的心得。...
    主要有三个功能:记事本、音乐播放器、flash播放器。可以播放flash文件,听听音乐,写写自己的心得。-this is my first applications. it is my friends make it with me.I think it is very good .then it isn t very well. I hope you can help me to make it.
    2022-02-03 10:57:02下载
    积分:1
  • C#远程监控视频源码
    C#远程监控视频源码,包含服务器端和客户端。视频客户端端填写好要监控的服务器IP地址和端口后视频显示端将开启监听,视频连接端 就可以 随时调取视频的截图
    2023-05-05 20:40:03下载
    积分:1
  • 110kv
    根据设计任务书的要求,本次设计为110kV 变电站电气一次部分初步设计,并绘 制电气主接线图及其他图纸。该变电站设有两台主变压器,站内主接线分为110kV、 35kV 和10kV 三个电压等级。各个电压等级分别采用单母线分段接线、单母线分段带 旁母接线和单母线分段接线(From the guide of engineering design assignment, we have to design primary power-system of 110kV substation and draw main electrical one-line diagram and others. There are two main transformer in the substation in which main electrical connection can be divided into three voltage grades: 110kV, 35kV with 10kV.It deposits sectionalized single bus bar scheme, sectionalized single and transfer bus bar and sectionalized single bus bar scheme per grade.)
    2020-11-01 11:49:54下载
    积分:1
  • C#TwainScanner
    说明:  通过Twain调用扫描仪、高拍仪等电子扫描硬件(Through Twain call scanner, high - imaging device and other electronic scanning hardware)
    2020-07-07 22:38:57下载
    积分:1
  • 马尔科夫随机场模型
    使用MRF (马尔可夫随机场) 算法复原stereo摄像图像。 包含相关文档以及c源程序。
    2022-03-15 09:54:16下载
    积分:1
  • GaborTexture
    使用MFC以及Gabor小波处理进行图像的特征纹理提取(Using MFC and Gabor wavelet to extract texture features for image)
    2011-10-07 08:46:32下载
    积分:1
  • MPU6050
    说明:  mpu6050程序与上位机,采用STM32开发,配上位机(Mpu6050 program and upper computer)
    2020-05-19 22:35:39下载
    积分:1
  • IntegratedNavigation
    实现gps/ins组合导航的C++程序,包括gps的数据获取,INS的机械编排 及组合解算(a system united by gps and ins.)
    2018-04-16 09:18:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载