文件名称:lifegame_cpp

  • 所属分类:
  • 界面编程
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 5kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 王**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

元胞自动机的c++实现,详细注释版

基于10*10矩阵的元胞自动机,可以自由设置初始状态和变化条件。还可以侦测循环状态的周期和起始位置。



侦测循环状态用了折半追尾的算法(我瞎起的名字,打个比方就是一个人1秒走1步,一个人2秒走一步,两个人碰上了就说明路是环状的)。



代码给有用的人参考一下,有详细注释。工程选择win32控制台工程。编译环境vc6.0或者vc2005都试验过了可以编译。

-Cellular Automata c++ implementation, detailed annotation version 10* 10 matrix based on cellular automata, are free to set the initial state and changing conditions. Also can detect the state of the cycle and the cycle begins. With a binary state detection cycle rear-end of the algorithm (the name from my blind, analogy is a person one second to go one step, one step for 2 seconds, two people run into is illustrated by way circular). Code reference to the useful people, detailed notes. Engineering select win32 console project. Build environment vc6.0 or vc2005 have tested that can be compiled.
相关搜索: 元胞自动机

(系统自动生成,下载前可以参看下载内容)

下载文件列表

lifegame_cpp.cpp

queue.h

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org