-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFlowchart.rtf
More file actions
53 lines (53 loc) · 1.88 KB
/
Flowchart.rtf
File metadata and controls
53 lines (53 loc) · 1.88 KB
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
{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}{\f1\fnil Consolas;}}
{\colortbl ;\red0\green128\blue0;}
{\*\generator Riched20 6.3.9600}\viewkind4\uc1
\pard\sa200\sl276\slmult1\f0\fs22\lang9 Flowchart\par
Entry\par
main()\par
new\tab load\par
new Clock(); x10,000\par
[A]\tab take three clocks out of pool\par
\tab compare three clocks see which two tell best time.\par
\tab Order [0][1][2]\par
\tab delete [3]\par
\tab Mate [0][1] -> new [3]\par
\tab mutate [3]\par
\tab return all three to the pool\par
\par
[B]\tab repeat [A] 10,000 times to make 1 generation\par
repeat [B] 10,000 times to make 1 run.\par
display results\par
exit\par
\par
results\par
display # of junk objects\par
display # of pendula\par
display # of 1 armed clocks\par
display # of 2 armed clocks\par
display # of 3 armed clocks\par
display # of 4 armed clocks\par
\par
class clock\par
public\par
\tab score\par
\tab has pendula\par
\tab # of arms\par
\tab generation created on\par
\tab item number\par
private\par
\tab genome:\par
\tab\cf1\f1\fs19 /*Structure of the clock matrix\cf0\par
\cf1\tab 30 gears:\tab rows 1:30\tab columns 1:40\cf0\par
\cf1\tab if the cell is 1, it is connected by teeth, 2 by axle, 0 = all else\cf0\par
\cf1\tab columns 41:100 hold number of teeth\cf0\par
\cf1\tab 7 hands:\tab rows 31:37\tab columns 1:40 = connectivity\cf0\par
\cf1\tab 1 ratchet:\tab row 38\tab\tab columns 1:40 = connectivity\cf0\par
\cf1\tab 1 spring:\tab row 39\tab\tab columns 1:40 = connectivity\cf0\par
\cf1\tab 1 base:\tab row 40\tab\tab columns 1:40 = connectivity\cf0\par
\cf1\tab */\par
\cf0\f0\fs22\tab mrand(); -used for creating genome\par
\tab isbound -> if pathfind alg. works. No gears binding up works. Private because it will affect score.\par
\tab pathfinding alg\par
\tab how well it keeps track of time. Also affects score\par
}