Skip to Content
复杂性思考:复杂性科学和计算模型(原书第2 版)
book

复杂性思考:复杂性科学和计算模型(原书第2 版)

by Allen B. Downey
March 2020
Intermediate to advanced
200 pages
3h 12m
Chinese
China Machine Press
Content preview from 复杂性思考:复杂性科学和计算模型(原书第2 版)
元胞自动机
71
直线。另一些在空间中平移,表现为具有不同斜率的对角线,这取决于它们
移动一列的时间步长。这些结构被称为
宇宙飞船
5-5:规则 110 从随机初始条件开始和 600 个时间步长后的结果
宇宙飞船之间的碰撞会产生不同的结果,这取决于宇宙飞船的类型以及它们
碰撞时所处的阶段。有些碰撞使两艘飞船都毁灭了,其他飞船保持不变,还
有一些生产一艘或多艘不同类型的飞船。
这些碰撞是 CA 规则 110 中计算的基础。如果你将宇宙飞船看作在太空中传
播的信号,把碰撞看作计算诸如 AND(与) OR(或)之类逻辑运算的门,
你就会明白 CA 执行计算意味着什么。
5.7 普遍性
为了理解普遍性,我们必须理解可计算性理论,这是关于计算模型及其计算
内容的理论。
图灵机是最常用的计算模型之一,它是阿兰
·
图灵在 1936 年提出的一种抽象
计算机。图灵机是一个一维的 CA,在两个方向上都是无限的,并带有一个读
写头。在任何时候,头部都是位于单个单元格之上。它可以读取该单元格的
状态(通常只有两种状态),并可以将一个新值写入该单元格。
此外,该机器还有一个寄存器,它记录机器的状态(有限状态之一)和一张规
则表。对于每个机器状态和单元格状态,该表指定一个操作。动作包括修改
头部上方的元胞,并将一个元胞向左或向右移动。
72
5
图灵机不是计算机的实用设计,而是对常见的计算机体系结构进行建模。对
于在实际计算机上运行的给定程序,构造一台执行等效计算的图灵机是可能
的(至少在原则上是可能的)。
图灵机很有用,因为它可以刻画一组图灵机可以计算的一组函数 ...
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

流畅的Python

流畅的Python

Luciano Ramalho
精通模块化JavaScript

精通模块化JavaScript

Nicolás Bevacqua

Publisher Resources

ISBN: 9787111647348