Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Dar

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1.12 sec, absolute running time: 0.23 sec, cpu time: 0.08 sec, memory peak: 3 Mb, absolute service time: 1,42 sec 
edit mode |  history  | discussion
Greetings! Welcome to genetic algorithm robots.
Generation	Harvest
1	2.755
2	2.855
3	3.125
4	3.115
5	3.115
6	3.125
7	3.06
8	3.04
9	3.305
10	3.375
11	3.15
12	3.465
13	3.625
14	3.855
15	3.715
16	3.82
17	3.805
18	4
19	3.895
20	3.745
21	3.935
22	4.07
23	4.195
24	4.075
25	4.25
26	4.235
27	4.445
28	4.46
29	4.65
30	4.165
31	4.66
32	4.435
33	4.265
34	4.515
35	4.505
36	4.655
37	4.285
38	4.55
39	4.845
40	4.49
41	4.68
42	4.225
43	4.61
44	4.87
45	4.375
46	4.505
47	4.44
48	4.73
49	4.47
50	4.43
51	4.635
52	4.86
53	4.685
54	4.65
55	4.945
56	5
57	4.325
58	4.695
59	4.65
60	4.77
61	4.92
62	5.17
63	5.085
64	4.925
65	5.04
66	5.07
67	4.785
68	4.905
69	5.44
70	5.255
71	4.885
72	5.25
73	5.21
74	5.04
75	4.92
76	5.24
77	5.35
78	5.315
79	5.51
80	5.19
81	5.23
82	5.3
83	5.175
84	5.175
85	5.375
86	5.71
87	5.055
88	5.28
89	4.91
90	5.685
91	5.49
92	5.14
93	4.86
94	5.23
95	5.475
96	5.58
97	5.145
98	5.24
99	5.18
100	5.055

Bonus feature - genes followed by harvest of top robot in the final generation
1 5 5 5 3 
5 1 9 0 1 
0 9 5 0 5 
1 1 1 0 5 
9 9 0 0 1 
1 0 0 5 1 
5 9 1 0 4 
0 1 9 1 5 
0 5 5 1 3 
9 9 1 5 5 
1 9 0 5 3 
1 5 5 1 3 
1 1 9 0 3 
0 0 9 5 2 
0 0 0 1 1 
5 5 9 9 1 
13

    
                
λ
.NET NoSQL database for rapid development