這是我在別人的工作基礎上編寫的生命游戲(LIFE game)演示程序,可以比較不同初始條件或繁衍條件產生的不同演化結果。 生命游戲是細胞自動機的一種,以模擬生命的某種繁衍過程。根據不同的生命繁衍條件,可以衍生出豐富多彩的群體動力學。該游戲曾經繁盛過一時,至今仍有很多愛好者。該模型在很多領域(如生物、物理等)都有實際的應用。 在這個生命游戲中,繁衍條件比較簡單。有兩個60x60的方框區域,開始時每一個格子里都生活著一個生命個體(用1表示)。然后這些個體按照下面的條件繁衍:首先計算每一個格子周圍相鄰生存者的個數;如果有3個相鄰生存者,下一步這個格子將會有生存者(用黑色表示);如果有2個(右邊方框的是1個),這個格子下一步的狀態與上一步狀態相同;其余的情況下,下一步這個格子將沒有生存者(白色)。每一步計算所有的格子,共重復300步(開始6步按任意鍵執行,以觀察開始的演化,后面的自動執行)。 該程序用Turbo C++ 3.0編譯。這個游戲在《生物信息學》課上作為離散數學模型的演示程序。
上傳時間: 2013-11-30
上傳用戶:sammi
eeprom test of LIFE by avr I2C 的控制和注意事項,帶源碼,please copy it and save as c
上傳時間: 2016-08-25
上傳用戶:hewenzhi
Chapter 1. Survival Distributions and LIFE Tables
標簽: Distributions Survival Chapter Tables
上傳時間: 2014-08-18
上傳用戶:2525775
*** *** *** *** *** *****/ /* 基于遺傳算法的人工生命模擬 AL_GA.C */ /* An Artificial LIFE Simulation model Based on Genetic Algorithm */ /* 同濟大學計算機系 王小平 2000年5月
標簽: Artificial Simulation AL_GA model
上傳時間: 2016-11-15
上傳用戶:ls530720646
The file is about lock-in amplifier and how it can apply to the use of our daily LIFE
標簽: amplifier lock-in about apply
上傳時間: 2013-12-11
上傳用戶:koulian
Imperfect C++ Practical Solutions for Real-LIFE Programming C++, although a marvelous language, isn t perfect. Matthew Wilson has been working with it for over a decade, and during that time he has found inherent limitations that require skillful workarounds. In this book, he doesn t just tell you what s wrong with C++, but offers practical techniques and tools for writing code that s more robust, flexible, efficient, and maintainable. He shows you how to tame C++ s complexity, cut through its vast array of paradigms, take back control over your code--and get far better results.
標簽: Programming Imperfect Practical Solutions
上傳時間: 2014-03-02
上傳用戶:songrui
Ansys code for the LIFE prediction of melt
標簽: prediction Ansys code LIFE
上傳時間: 2013-12-31
上傳用戶:二驅蚊器
(Ebook - Mathematics) Development Of Neural Network Theory For Artificial LIFE-Thesis, Matlab And Java Code, Cavuto
標簽: Development Mathematics LIFE-Thesis Artificial
上傳時間: 2014-08-19
上傳用戶:xzt
“Next to My LIFE, Software Is My Passion”——Robert C.Martin. 懂了設計模式,你就懂了面向對象分析和設計(OOA/D )的精要。反之好像也可能成 立。道可道,非常道。道不遠人,設計模式亦然如此。 一直想把自己的學習經驗以及在項目中的應用經歷拿出來和大家共享,卻總是下不了這 個決心:GoF 的23 種模式研讀、總結也總需要些時日,然而時間對于我來說總是不可預計 的。 之所以下了這個決心,有兩個原因:一是Robert 的箴言,二是因為我是一個感恩的人, 就像常說的:長懷感恩之心,人生便無遺憾。想想當時讀 GoF 的那本圣經時候的苦悶、實 現23 個模式時候的探索、悟道后的欣悅,我覺得還是有這個意義。 0.2 設計模式解析后記
標簽: Software Passion Martin Robert
上傳時間: 2014-01-22
上傳用戶:woshiayin
To increase LIFE time fuzzy using
上傳時間: 2017-04-30
上傳用戶:wangyi39