-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinfo.ui
94 lines (94 loc) · 6.19 KB
/
info.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>info</class>
<widget class="QDialog" name="info">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>413</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>50</x>
<y>380</y>
<width>341</width>
<height>32</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
<widget class="QTextBrowser" name="textBrowser">
<property name="geometry">
<rect>
<x>25</x>
<y>20</y>
<width>361</width>
<height>351</height>
</rect>
</property>
<property name="html">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;">
<h1 style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:xx-large; font-weight:600;">简介</span></h1>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'DengXian'; font-size:12pt;">本QT项目为实现一个简单的通用并行计算机原型,并能在其上运行一些经典而较为简单的细胞自动机规则(以康威生命游戏为基石)。</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'DengXian'; font-size:12pt;">基于此,我们可以实现对一些现实事件的简单建模,如在社会学(流行现象和传染病)、生态学(生态系统的演变)、物理学(扩散以及动力系统)、化学(粒子的相互作用)上都可以通过自定义规则而做到简单的建模预测,而在计算机科学本身也是对图形学和并行计算的演示。</span></p>
<h1 style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:xx-large; font-weight:600;">规则</span></h1>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'DengXian'; font-size:12pt;">在一块可自定义的2*2网格中用户可自行改变点的状态(预置为0与1两种,用户可拓展),随后便可使其开始演化。演化过程中,每一个格点下一时刻的状态由该格点与其邻居的原状态决定(规则可使用预置的康威规则,也可由用户自定义)。在简单的数条规则下,不同的原始状态可能展现出周期性、稳定性或者迅速消亡,即使有固定周期的图案在演变过程中也可能产生巨大的变化。</span> </p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'DengXian'; font-size:12pt;">程序为用户提供经典而基础的图案,如“飞船”类图案,这一类图案会在一定周期后,在保持原有结构的基础上移动若干距离。</span></p>
<h1 style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:xx-large; font-weight:600;">理论计算机意义</span></h1>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'DengXian'; font-size:12pt;">这类程序实际上就是所谓的元胞自动机。实际上,自然界几乎所有的复杂作用都可拆解为邻近的微小单元之间的相互作用。那么,由小的计算机或部件按邻域连接方式就可连接成较大的并行工作的计算机或部件。它不仅是形式上的并行计算机理论模型,同时也推进了细胞阵列形式集成电路的研究。</span> </p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'DengXian'; font-size:12pt;">细胞自动机在识别技术上也有其应用。比如如果采用特定的规则,细胞可以应用各自的局部信息提取出全局特征。</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'DengXian'; font-size:12pt;">项目仓库请参见 https://github.com/HirojiFukuyama/qt_PC2DM</span></p></body></html></string>
</property>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>info</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>info</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>