Skip to Content
深入理解運算原理|從簡單的機器到無所不能的程式
book

深入理解運算原理|從簡單的機器到無所不能的程式

by Tom Stuart
November 2017
Beginner to intermediate
344 pages
7h 2m
Chinese
GoTop Information, Inc.
Content preview from 深入理解運算原理|從簡單的機器到無所不能的程式
四處皆通用
|
259
規則 110
規則
110
Rule 110
)是 1983 年由史蒂芬 沃夫瑞(Stephen Wolfram)所提出的另一
種細胞自動機。每個細胞都可以存活或死亡,就像康威生命遊戲裡的細胞,但規則 110
裡的細胞是排列在一維的橫列,而非二維格線。這意謂著每個細胞只有兩個鄰居(直接
位在橫列的左右兩側),而不像遊戲生命的每個細胞圍繞著 8 個鄰居。
在規則 110 自動機的每個步驟,細胞的下一個狀態是由它自己的狀態和它兩個鄰居的狀
態所決定。和生活遊戲不同的是,它的規則都很普通,並且適用許多不同存活的和死亡
細胞的安排方式,規則 110 自動機對每種可能性都有個別的規則:
260
|
7
如果我們從這 8 條規則讀出『之後』細胞的值,將死亡細胞視為數字 0
存活細胞視為 1,會得到二進位數值 01101110。而轉換此二進位數值可
得到十進位數值 110,這就是這個細胞自動機名稱的由來。
規則 110 比生命遊戲簡單很多,但再次強調,它也能具備複雜的行為。以下是從單個存
活細胞開始的規則 110 自動機的前幾個步驟:
四處皆通用
|
261
這種行為已經不是很簡單(例如它不只產生存活細胞的實線),且若我們以相同的自動
機執行 500 個步驟,就能看到有趣的模式開始出現:
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

JSON實務手冊

JSON實務手冊

Tom Marrs

Publisher Resources

ISBN: 9789864766000