rubyneat 0.3.5.alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. checksums.yaml +7 -0
  2. data/.directory +4 -0
  3. data/.gitignore.orig +20 -0
  4. data/.idea/.name +1 -0
  5. data/.idea/.rakeTasks +7 -0
  6. data/.idea/dictionaries/trader.xml +3 -0
  7. data/.idea/encodings.xml +5 -0
  8. data/.idea/misc.xml +5 -0
  9. data/.idea/modules.xml +9 -0
  10. data/.idea/rubyneat.iml +197 -0
  11. data/.idea/runConfigurations/invpend_neat.xml +26 -0
  12. data/.idea/runConfigurations/sigdebug_neat.xml +24 -0
  13. data/.idea/runConfigurations/xor_neat.xml +26 -0
  14. data/.idea/runConfigurations/xordebug_neat.xml +24 -0
  15. data/.idea/runConfigurations/xorsin_neat.xml +24 -0
  16. data/.idea/scopes/scope_settings.xml +5 -0
  17. data/.idea/vcs.xml +7 -0
  18. data/.idea/workspace.xml +1124 -0
  19. data/.semver +5 -0
  20. data/.yardoc/checksums +11 -0
  21. data/.yardoc/object_types +0 -0
  22. data/.yardoc/objects/root.dat +0 -0
  23. data/.yardoc/proxy_types +0 -0
  24. data/Gemfile +32 -0
  25. data/Gemfile.lock +135 -0
  26. data/Gemfile.lock.orig +147 -0
  27. data/Guardfile +8 -0
  28. data/Rakefile +61 -0
  29. data/bin/neat +83 -0
  30. data/config/application.rb +5 -0
  31. data/doc/ControllerPoint.html +125 -0
  32. data/doc/CuteA.html +286 -0
  33. data/doc/CuteB.html +297 -0
  34. data/doc/DSL.html +883 -0
  35. data/doc/NEAT/BasicNeuronTypes/BiasNeuron.html +518 -0
  36. data/doc/NEAT/BasicNeuronTypes/CosineNeuron.html +274 -0
  37. data/doc/NEAT/BasicNeuronTypes/InputNeuron.html +366 -0
  38. data/doc/NEAT/BasicNeuronTypes/SigmoidNeuron.html +275 -0
  39. data/doc/NEAT/BasicNeuronTypes/SineNeuron.html +274 -0
  40. data/doc/NEAT/BasicNeuronTypes/TanhNeuron.html +274 -0
  41. data/doc/NEAT/BasicNeuronTypes.html +136 -0
  42. data/doc/NEAT/Controller/NeatSettings.html +3985 -0
  43. data/doc/NEAT/Controller.html +2490 -0
  44. data/doc/NEAT/Critter/Genotype/Gene.html +979 -0
  45. data/doc/NEAT/Critter/Genotype.html +1601 -0
  46. data/doc/NEAT/Critter/Phenotype.html +603 -0
  47. data/doc/NEAT/Critter.html +1037 -0
  48. data/doc/NEAT/DSL.html +1255 -0
  49. data/doc/NEAT/Evaluator.html +420 -0
  50. data/doc/NEAT/Evolver/CritterOp.html +551 -0
  51. data/doc/NEAT/Evolver.html +602 -0
  52. data/doc/NEAT/Expressor.html +327 -0
  53. data/doc/NEAT/Graph/DependencyResolver.html +478 -0
  54. data/doc/NEAT/Graph/GraphException.html +123 -0
  55. data/doc/NEAT/Graph.html +402 -0
  56. data/doc/NEAT/NeatException.html +123 -0
  57. data/doc/NEAT/NeatOb.html +567 -0
  58. data/doc/NEAT/Neuron.html +1067 -0
  59. data/doc/NEAT/Operator.html +162 -0
  60. data/doc/NEAT/Population.html +1961 -0
  61. data/doc/NEAT/Trait.html +169 -0
  62. data/doc/NEAT.html +588 -0
  63. data/doc/_index.html +373 -0
  64. data/doc/class_list.html +54 -0
  65. data/doc/css/common.css +1 -0
  66. data/doc/css/full_list.css +57 -0
  67. data/doc/css/style.css +339 -0
  68. data/doc/file_list.html +53 -0
  69. data/doc/frames.html +26 -0
  70. data/doc/index.html +373 -0
  71. data/doc/js/app.js +219 -0
  72. data/doc/js/full_list.js +178 -0
  73. data/doc/js/jquery.js +4 -0
  74. data/doc/method_list.html +1415 -0
  75. data/doc/top-level-namespace.html +164 -0
  76. data/foo/foo_aquarium_example.rb +38 -0
  77. data/foo/foo_gosu.rb +99 -0
  78. data/foo/foo_rubygoo.rb +104 -0
  79. data/foo/foo_sdl.rb +34 -0
  80. data/foo/icon.png +0 -0
  81. data/lib/rubyneat/critter.rb +374 -0
  82. data/lib/rubyneat/default_neat.rb +10 -0
  83. data/lib/rubyneat/dsl.rb +130 -0
  84. data/lib/rubyneat/evaluator.rb +51 -0
  85. data/lib/rubyneat/evolver.rb +315 -0
  86. data/lib/rubyneat/expressor.rb +110 -0
  87. data/lib/rubyneat/graph.rb +95 -0
  88. data/lib/rubyneat/neuron.rb +152 -0
  89. data/lib/rubyneat/population.rb +227 -0
  90. data/lib/rubyneat/rubyneat.rb +429 -0
  91. data/lib/rubyneat.rb +8 -0
  92. data/neater/invpend_neat.rb +150 -0
  93. data/neater/rnlib/inverted_pendulum.rb +380 -0
  94. data/neater/rnlib/xor.rb +10 -0
  95. data/neater/sigdebug_neat.rb +136 -0
  96. data/neater/xor_neat.rb +137 -0
  97. data/neater/xoranalog_neat.rb +138 -0
  98. data/neater/xorsin_neat.rb +143 -0
  99. data/projectFilesBackup/.idea/rubyneat.iml +180 -0
  100. data/public/.directory +4 -0
  101. data/public/background.png +0 -0
  102. data/public/background.xcf +0 -0
  103. data/public/cart.png +0 -0
  104. data/public/cart.xcf +0 -0
  105. data/public/metalpoles_molton_ball_l.jpg +0 -0
  106. data/public/old_background.png +0 -0
  107. data/public/pointer.png +0 -0
  108. data/public/pointer.xcf +0 -0
  109. data/public/pole.kra +0 -0
  110. data/public/pole.png +0 -0
  111. data/public/pole.xcf +0 -0
  112. data/public/wheel-of-year-stone-DD-131-WOYS.jpg +0 -0
  113. data/public/wheel.png +0 -0
  114. data/public/wheel.xcf +0 -0
  115. data/public/wood-planks-texture.jpg +0 -0
  116. data/rdoc/ControllerPoint.html +116 -0
  117. data/rdoc/CuteA.html +177 -0
  118. data/rdoc/CuteB.html +178 -0
  119. data/rdoc/DSLSetup.html +177 -0
  120. data/rdoc/GameTestWindow.html +242 -0
  121. data/rdoc/GameWindow.html +292 -0
  122. data/rdoc/Gemfile.html +215 -0
  123. data/rdoc/Gemfile_lock.html +327 -0
  124. data/rdoc/GraphTest.html +210 -0
  125. data/rdoc/Guardfile.html +198 -0
  126. data/rdoc/InvertedPendulum/Cart.html +668 -0
  127. data/rdoc/InvertedPendulum/DSL.html +259 -0
  128. data/rdoc/InvertedPendulum/InvPendWindow.html +402 -0
  129. data/rdoc/InvertedPendulum.html +198 -0
  130. data/rdoc/Logger.html +98 -0
  131. data/rdoc/NEAT/BasicNeuronTypes/BiasNeuron.html +265 -0
  132. data/rdoc/NEAT/BasicNeuronTypes/CosineNeuron.html +162 -0
  133. data/rdoc/NEAT/BasicNeuronTypes/InputNeuron.html +206 -0
  134. data/rdoc/NEAT/BasicNeuronTypes/SigmoidNeuron.html +162 -0
  135. data/rdoc/NEAT/BasicNeuronTypes/SineNeuron.html +162 -0
  136. data/rdoc/NEAT/BasicNeuronTypes/TanhNeuron.html +161 -0
  137. data/rdoc/NEAT/BasicNeuronTypes.html +107 -0
  138. data/rdoc/NEAT/Controller/NeatSettings.html +880 -0
  139. data/rdoc/NEAT/Controller.html +729 -0
  140. data/rdoc/NEAT/Critter/Genotype/Gene.html +457 -0
  141. data/rdoc/NEAT/Critter/Genotype.html +735 -0
  142. data/rdoc/NEAT/Critter/Phenotype.html +330 -0
  143. data/rdoc/NEAT/Critter.html +489 -0
  144. data/rdoc/NEAT/DSL.html +729 -0
  145. data/rdoc/NEAT/Evaluator.html +256 -0
  146. data/rdoc/NEAT/Evolver/CritterOp.html +349 -0
  147. data/rdoc/NEAT/Evolver.html +891 -0
  148. data/rdoc/NEAT/Expressor.html +402 -0
  149. data/rdoc/NEAT/Graph/DependencyResolver.html +291 -0
  150. data/rdoc/NEAT/Graph/GraphException.html +105 -0
  151. data/rdoc/NEAT/Graph.html +263 -0
  152. data/rdoc/NEAT/NeatException.html +105 -0
  153. data/rdoc/NEAT/NeatOb.html +325 -0
  154. data/rdoc/NEAT/Neuron.html +481 -0
  155. data/rdoc/NEAT/Operator.html +109 -0
  156. data/rdoc/NEAT/Population.html +935 -0
  157. data/rdoc/NEAT/Trait.html +117 -0
  158. data/rdoc/NEAT.html +422 -0
  159. data/rdoc/Object.html +384 -0
  160. data/rdoc/Phi.html +98 -0
  161. data/rdoc/Player.html +383 -0
  162. data/rdoc/Rakefile.html +254 -0
  163. data/rdoc/RubyNEAT/Application.html +105 -0
  164. data/rdoc/RubyNEAT.html +98 -0
  165. data/rdoc/SDL/Event2.html +98 -0
  166. data/rdoc/SDL.html +98 -0
  167. data/rdoc/Vector.html +195 -0
  168. data/rdoc/created.rid +125 -0
  169. data/rdoc/doc/ControllerPoint_html.html +299 -0
  170. data/rdoc/doc/CuteA_html.html +438 -0
  171. data/rdoc/doc/CuteB_html.html +436 -0
  172. data/rdoc/doc/DSL_html.html +992 -0
  173. data/rdoc/doc/NEAT/BasicNeuronTypes/BiasNeuron_html.html +617 -0
  174. data/rdoc/doc/NEAT/BasicNeuronTypes/CosineNeuron_html.html +413 -0
  175. data/rdoc/doc/NEAT/BasicNeuronTypes/InputNeuron_html.html +498 -0
  176. data/rdoc/doc/NEAT/BasicNeuronTypes/SigmoidNeuron_html.html +413 -0
  177. data/rdoc/doc/NEAT/BasicNeuronTypes/SineNeuron_html.html +413 -0
  178. data/rdoc/doc/NEAT/BasicNeuronTypes/TanhNeuron_html.html +412 -0
  179. data/rdoc/doc/NEAT/BasicNeuronTypes_html.html +310 -0
  180. data/rdoc/doc/NEAT/Controller/NeatSettings_html.html +3324 -0
  181. data/rdoc/doc/NEAT/Controller_html.html +2212 -0
  182. data/rdoc/doc/NEAT/Critter/Genotype/Gene_html.html +997 -0
  183. data/rdoc/doc/NEAT/Critter/Genotype_html.html +1556 -0
  184. data/rdoc/doc/NEAT/Critter/Phenotype_html.html +687 -0
  185. data/rdoc/doc/NEAT/Critter_html.html +1037 -0
  186. data/rdoc/doc/NEAT/DSL_html.html +1349 -0
  187. data/rdoc/doc/NEAT/Evaluator_html.html +556 -0
  188. data/rdoc/doc/NEAT/Evolver/CritterOp_html.html +690 -0
  189. data/rdoc/doc/NEAT/Evolver_html.html +677 -0
  190. data/rdoc/doc/NEAT/Expressor_html.html +468 -0
  191. data/rdoc/doc/NEAT/Graph/DependencyResolver_html.html +598 -0
  192. data/rdoc/doc/NEAT/Graph/GraphException_html.html +299 -0
  193. data/rdoc/doc/NEAT/Graph_html.html +527 -0
  194. data/rdoc/doc/NEAT/NeatException_html.html +299 -0
  195. data/rdoc/doc/NEAT/NeatOb_html.html +671 -0
  196. data/rdoc/doc/NEAT/Neuron_html.html +1095 -0
  197. data/rdoc/doc/NEAT/Operator_html.html +337 -0
  198. data/rdoc/doc/NEAT/Population_html.html +1795 -0
  199. data/rdoc/doc/NEAT/Trait_html.html +344 -0
  200. data/rdoc/doc/NEAT_html.html +736 -0
  201. data/rdoc/doc/_index_html.html +559 -0
  202. data/rdoc/doc/class_list_html.html +369 -0
  203. data/rdoc/doc/css/common_css.html +188 -0
  204. data/rdoc/doc/css/full_list_css.html +243 -0
  205. data/rdoc/doc/css/style_css.html +530 -0
  206. data/rdoc/doc/file_list_html.html +240 -0
  207. data/rdoc/doc/frames_html.html +217 -0
  208. data/rdoc/doc/index_html.html +559 -0
  209. data/rdoc/doc/js/app_js.html +423 -0
  210. data/rdoc/doc/js/full_list_js.html +372 -0
  211. data/rdoc/doc/js/jquery_js.html +1536 -0
  212. data/rdoc/doc/method_list_html.html +1375 -0
  213. data/rdoc/doc/top-level-namespace_html.html +317 -0
  214. data/rdoc/fonts/Lato-Light.ttf +0 -0
  215. data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
  216. data/rdoc/fonts/Lato-Regular.ttf +0 -0
  217. data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
  218. data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
  219. data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
  220. data/rdoc/fonts.css +167 -0
  221. data/rdoc/images/add.png +0 -0
  222. data/rdoc/images/arrow_up.png +0 -0
  223. data/rdoc/images/brick.png +0 -0
  224. data/rdoc/images/brick_link.png +0 -0
  225. data/rdoc/images/bug.png +0 -0
  226. data/rdoc/images/bullet_black.png +0 -0
  227. data/rdoc/images/bullet_toggle_minus.png +0 -0
  228. data/rdoc/images/bullet_toggle_plus.png +0 -0
  229. data/rdoc/images/date.png +0 -0
  230. data/rdoc/images/delete.png +0 -0
  231. data/rdoc/images/find.png +0 -0
  232. data/rdoc/images/loadingAnimation.gif +0 -0
  233. data/rdoc/images/macFFBgHack.png +0 -0
  234. data/rdoc/images/package.png +0 -0
  235. data/rdoc/images/page_green.png +0 -0
  236. data/rdoc/images/page_white_text.png +0 -0
  237. data/rdoc/images/page_white_width.png +0 -0
  238. data/rdoc/images/plugin.png +0 -0
  239. data/rdoc/images/ruby.png +0 -0
  240. data/rdoc/images/tag_blue.png +0 -0
  241. data/rdoc/images/tag_green.png +0 -0
  242. data/rdoc/images/transparent.png +0 -0
  243. data/rdoc/images/wrench.png +0 -0
  244. data/rdoc/images/wrench_orange.png +0 -0
  245. data/rdoc/images/zoom.png +0 -0
  246. data/rdoc/index.html +282 -0
  247. data/rdoc/js/darkfish.js +140 -0
  248. data/rdoc/js/jquery.js +18 -0
  249. data/rdoc/js/navigation.js +142 -0
  250. data/rdoc/js/search.js +109 -0
  251. data/rdoc/js/search_index.js +1 -0
  252. data/rdoc/js/searcher.js +228 -0
  253. data/rdoc/rdoc.css +580 -0
  254. data/rdoc/rubyneat_gemspec.html +387 -0
  255. data/rdoc/table_of_contents.html +2502 -0
  256. data/rdoc/xordebug_log.html +170598 -0
  257. data/rdoc/xorsin_log.html +22569 -0
  258. data/rubyneat.gemspec +347 -0
  259. data/rubyneat.gemspec.orig +375 -0
  260. data/spec/lib/rubyneat/rubyneat_spec.rb +132 -0
  261. metadata +555 -0
@@ -0,0 +1,2212 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>Controller.html - rubyneat 0.3.4</title>
8
+
9
+ <link href="../../fonts.css" rel="stylesheet">
10
+ <link href="../../rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "../../";
14
+ </script>
15
+
16
+ <script src="../../js/jquery.js"></script>
17
+ <script src="../../js/navigation.js"></script>
18
+ <script src="../../js/search_index.js"></script>
19
+ <script src="../../js/search.js"></script>
20
+ <script src="../../js/searcher.js"></script>
21
+ <script src="../../js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="file">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../../table_of_contents.html#pages">Pages</a>
34
+ <a href="../../table_of_contents.html#classes">Classes</a>
35
+ <a href="../../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="project-metadata">
59
+ <div id="fileindex-section" class="nav-section">
60
+ <h3>Pages</h3>
61
+
62
+ <ul class="link-list">
63
+
64
+ <li><a href="../../Gemfile.html">Gemfile</a>
65
+
66
+ <li><a href="../../Gemfile_lock.html">Gemfile.lock</a>
67
+
68
+ <li><a href="../../Guardfile.html">Guardfile</a>
69
+
70
+ <li><a href="../../Rakefile.html">Rakefile</a>
71
+
72
+ <li><a href="../../doc/ControllerPoint_html.html">ControllerPoint.html</a>
73
+
74
+ <li><a href="../../doc/CuteA_html.html">CuteA.html</a>
75
+
76
+ <li><a href="../../doc/CuteB_html.html">CuteB.html</a>
77
+
78
+ <li><a href="../../doc/DSL_html.html">DSL.html</a>
79
+
80
+ <li><a href="../../doc/NEAT_html.html">NEAT.html</a>
81
+
82
+ <li><a href="../../doc/NEAT/BasicNeuronTypes_html.html">BasicNeuronTypes.html</a>
83
+
84
+ <li><a href="../../doc/NEAT/BasicNeuronTypes/BiasNeuron_html.html">BiasNeuron.html</a>
85
+
86
+ <li><a href="../../doc/NEAT/BasicNeuronTypes/CosineNeuron_html.html">CosineNeuron.html</a>
87
+
88
+ <li><a href="../../doc/NEAT/BasicNeuronTypes/InputNeuron_html.html">InputNeuron.html</a>
89
+
90
+ <li><a href="../../doc/NEAT/BasicNeuronTypes/SigmoidNeuron_html.html">SigmoidNeuron.html</a>
91
+
92
+ <li><a href="../../doc/NEAT/BasicNeuronTypes/SineNeuron_html.html">SineNeuron.html</a>
93
+
94
+ <li><a href="../../doc/NEAT/BasicNeuronTypes/TanhNeuron_html.html">TanhNeuron.html</a>
95
+
96
+ <li><a href="../../doc/NEAT/Controller_html.html">Controller.html</a>
97
+
98
+ <li><a href="../../doc/NEAT/Controller/NeatSettings_html.html">NeatSettings.html</a>
99
+
100
+ <li><a href="../../doc/NEAT/Critter_html.html">Critter.html</a>
101
+
102
+ <li><a href="../../doc/NEAT/Critter/Genotype_html.html">Genotype.html</a>
103
+
104
+ <li><a href="../../doc/NEAT/Critter/Genotype/Gene_html.html">Gene.html</a>
105
+
106
+ <li><a href="../../doc/NEAT/Critter/Phenotype_html.html">Phenotype.html</a>
107
+
108
+ <li><a href="../../doc/NEAT/DSL_html.html">DSL.html</a>
109
+
110
+ <li><a href="../../doc/NEAT/Evaluator_html.html">Evaluator.html</a>
111
+
112
+ <li><a href="../../doc/NEAT/Evolver_html.html">Evolver.html</a>
113
+
114
+ <li><a href="../../doc/NEAT/Evolver/CritterOp_html.html">CritterOp.html</a>
115
+
116
+ <li><a href="../../doc/NEAT/Expressor_html.html">Expressor.html</a>
117
+
118
+ <li><a href="../../doc/NEAT/Graph_html.html">Graph.html</a>
119
+
120
+ <li><a href="../../doc/NEAT/Graph/DependencyResolver_html.html">DependencyResolver.html</a>
121
+
122
+ <li><a href="../../doc/NEAT/Graph/GraphException_html.html">GraphException.html</a>
123
+
124
+ <li><a href="../../doc/NEAT/NeatException_html.html">NeatException.html</a>
125
+
126
+ <li><a href="../../doc/NEAT/NeatOb_html.html">NeatOb.html</a>
127
+
128
+ <li><a href="../../doc/NEAT/Neuron_html.html">Neuron.html</a>
129
+
130
+ <li><a href="../../doc/NEAT/Operator_html.html">Operator.html</a>
131
+
132
+ <li><a href="../../doc/NEAT/Population_html.html">Population.html</a>
133
+
134
+ <li><a href="../../doc/NEAT/Trait_html.html">Trait.html</a>
135
+
136
+ <li><a href="../../doc/_index_html.html">_index.html</a>
137
+
138
+ <li><a href="../../doc/class_list_html.html">class_list.html</a>
139
+
140
+ <li><a href="../../doc/css/common_css.html">common.css</a>
141
+
142
+ <li><a href="../../doc/css/full_list_css.html">full_list.css</a>
143
+
144
+ <li><a href="../../doc/css/style_css.html">style.css</a>
145
+
146
+ <li><a href="../../doc/file_list_html.html">file_list.html</a>
147
+
148
+ <li><a href="../../doc/frames_html.html">frames.html</a>
149
+
150
+ <li><a href="../../doc/index_html.html">index.html</a>
151
+
152
+ <li><a href="../../doc/js/app_js.html">app.js</a>
153
+
154
+ <li><a href="../../doc/js/full_list_js.html">full_list.js</a>
155
+
156
+ <li><a href="../../doc/js/jquery_js.html">jquery.js</a>
157
+
158
+ <li><a href="../../doc/method_list_html.html">method_list.html</a>
159
+
160
+ <li><a href="../../doc/top-level-namespace_html.html">top-level-namespace.html</a>
161
+
162
+ <li><a href="../../foo_dump_log.html">foo.dump.log</a>
163
+
164
+ <li><a href="../../rubyneat_gemspec.html">rubyneat.gemspec</a>
165
+
166
+ <li><a href="../../xordebug_log.html">xordebug.log</a>
167
+
168
+ <li><a href="../../xorsin_log.html">xorsin.log</a>
169
+
170
+ </ul>
171
+ </div>
172
+
173
+ </div>
174
+ </nav>
175
+
176
+ <main role="main" aria-label="Page doc/NEAT/Controller.html">
177
+
178
+ <p>&lt;!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”</p>
179
+
180
+ <pre>&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</pre>
181
+
182
+ <p>&lt;html xmlns=“<a
183
+ href="http://www.w3.org/1999/xhtml">www.w3.org/1999/xhtml</a>”
184
+ xml:lang=“en” lang=“en”&gt;</p>
185
+
186
+ <pre>&lt;head&gt;
187
+ &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;</pre>
188
+
189
+ <p>&lt;title&gt;</p>
190
+
191
+ <pre>Class: NEAT::Controller
192
+
193
+ &amp;mdash; Documentation by YARD 0.8.7.3</pre>
194
+
195
+ <p>&lt;/title&gt;</p>
196
+
197
+ <pre>&lt;link rel=&quot;stylesheet&quot; href=&quot;../css/style.css&quot; type=&quot;text/css&quot; charset=&quot;utf-8&quot; /&gt;
198
+
199
+ &lt;link rel=&quot;stylesheet&quot; href=&quot;../css/common.css&quot; type=&quot;text/css&quot; charset=&quot;utf-8&quot; /&gt;</pre>
200
+
201
+ <p>&lt;script type=“text/javascript” charset=“utf-8”&gt;</p>
202
+
203
+ <pre>hasFrames = window.top.frames.main ? true : false;
204
+ relpath = &#39;../&#39;;
205
+ framesUrl = &quot;../frames.html#!&quot; + escape(window.location.href);</pre>
206
+
207
+ <p>&lt;/script&gt;</p>
208
+
209
+ <pre>&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot; src=&quot;../js/jquery.js&quot;&gt;&lt;/script&gt;
210
+
211
+ &lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot; src=&quot;../js/app.js&quot;&gt;&lt;/script&gt;
212
+
213
+ &lt;/head&gt;
214
+ &lt;body&gt;
215
+ &lt;div id=&quot;header&quot;&gt;
216
+ &lt;div id=&quot;menu&quot;&gt;
217
+
218
+ &lt;a href=&quot;../_index.html&quot;&gt;Index (C)&lt;/a&gt; &amp;raquo;
219
+ &lt;span class=&#39;title&#39;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../NEAT.html&quot; title=&quot;NEAT (module)&quot;&gt;NEAT&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
220
+ &amp;raquo;
221
+ &lt;span class=&quot;title&quot;&gt;Controller&lt;/span&gt;
222
+
223
+ &lt;div class=&quot;noframes&quot;&gt;&lt;span class=&quot;title&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;.&quot; target=&quot;_top&quot;&gt;no frames&lt;/a&gt;&lt;span class=&quot;title&quot;&gt;)&lt;/span&gt;&lt;/div&gt;</pre>
224
+
225
+ <p>&lt;/div&gt;</p>
226
+
227
+ <pre> &lt;div id=&quot;search&quot;&gt;
228
+
229
+ &lt;a class=&quot;full_list_link&quot; id=&quot;class_list_link&quot;
230
+ href=&quot;../class_list.html&quot;&gt;
231
+ Class List
232
+ &lt;/a&gt;
233
+
234
+ &lt;a class=&quot;full_list_link&quot; id=&quot;method_list_link&quot;
235
+ href=&quot;../method_list.html&quot;&gt;
236
+ Method List
237
+ &lt;/a&gt;
238
+
239
+ &lt;a class=&quot;full_list_link&quot; id=&quot;file_list_link&quot;
240
+ href=&quot;../file_list.html&quot;&gt;
241
+ File List
242
+ &lt;/a&gt;</pre>
243
+
244
+ <p>&lt;/div&gt;</p>
245
+
246
+ <pre> &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
247
+ &lt;/div&gt;
248
+
249
+ &lt;iframe id=&quot;search_frame&quot;&gt;&lt;/iframe&gt;
250
+
251
+ &lt;div id=&quot;content&quot;&gt;&lt;h1&gt;Class: NEAT::Controller</pre>
252
+
253
+ <p>&lt;/h1&gt;</p>
254
+
255
+ <p>&lt;dl class=“box”&gt;</p>
256
+
257
+ <pre>&lt;dt class=&quot;r1&quot;&gt;Inherits:&lt;/dt&gt;
258
+ &lt;dd class=&quot;r1&quot;&gt;
259
+ &lt;span class=&quot;inheritName&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;NeatOb.html&quot; title=&quot;NEAT::NeatOb (class)&quot;&gt;NeatOb&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
260
+
261
+ &lt;ul class=&quot;fullTree&quot;&gt;
262
+ &lt;li&gt;Object&lt;/li&gt;
263
+
264
+ &lt;li class=&quot;next&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;NeatOb.html&quot; title=&quot;NEAT::NeatOb (class)&quot;&gt;NeatOb&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
265
+
266
+ &lt;li class=&quot;next&quot;&gt;NEAT::Controller&lt;/li&gt;
267
+
268
+ &lt;/ul&gt;
269
+ &lt;a href=&quot;#&quot; class=&quot;inheritanceTree&quot;&gt;show all&lt;/a&gt;
270
+
271
+ &lt;/dd&gt;
272
+
273
+ &lt;dt class=&quot;r2 last&quot;&gt;Defined in:&lt;/dt&gt;
274
+ &lt;dd class=&quot;r2 last&quot;&gt;lib/rubyneat/rubyneat.rb&lt;/dd&gt;</pre>
275
+
276
+ <p>&lt;/dl&gt; &lt;div class=“clear”&gt;&lt;/div&gt;</p>
277
+
278
+ <p>&lt;h2&gt;Overview&lt;/h2&gt;&lt;div class=“docstring”&gt;</p>
279
+
280
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
281
+
282
+ <p>&lt;h1 id=“label-Controller+for+all+operations+of+RubyNEAT”&gt;Controller
283
+ for all operations of <a href="../../RubyNEAT.html">RubyNEAT</a>&lt;/h1&gt;</p>
284
+
285
+ <p>&lt;p&gt;This object contains all the specifications and details for
286
+ evolving and evaluation of the <a href="../../RubyNEAT.html">RubyNEAT</a>
287
+ system. It is a type of “World”, if you will, for the entire
288
+ enterprise.&lt;/p&gt;</p>
289
+
290
+ <p>&lt;p&gt;Your application shall only have one Controller.&lt;/p&gt;</p>
291
+
292
+ <pre>&lt;/div&gt;</pre>
293
+
294
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
295
+
296
+ <p>&lt;/div&gt;&lt;h2&gt;Defined Under Namespace&lt;/h2&gt; &lt;p
297
+ class=“children”&gt;</p>
298
+
299
+ <pre>&lt;strong class=&quot;classes&quot;&gt;Classes:&lt;/strong&gt; &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;Controller/NeatSettings.html&quot; title=&quot;NEAT::Controller::NeatSettings (class)&quot;&gt;NeatSettings&lt;/a&gt;&lt;/span&gt;</pre>
300
+
301
+ <p>&lt;/p&gt;</p>
302
+
303
+ <pre>&lt;h2&gt;Instance Attribute Summary &lt;small&gt;(&lt;a href=&quot;#&quot; class=&quot;summary_toggle&quot;&gt;collapse&lt;/a&gt;)&lt;/small&gt;&lt;/h2&gt;
304
+ &lt;ul class=&quot;summary&quot;&gt;
305
+
306
+ &lt;li class=&quot;public &quot;&gt;
307
+ &lt;span class=&quot;summary_signature&quot;&gt;
308
+
309
+ &lt;a href=&quot;#compare_func-instance_method&quot; title=&quot;#compare_func (instance method)&quot;&gt;- (Object) &lt;strong&gt;compare_func&lt;/strong&gt; &lt;/a&gt;
310
+
311
+ &lt;/span&gt;
312
+
313
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
314
+
315
+ <p>&lt;p&gt;Compare function for fitness Cost function for integrating in the
316
+ cost to the fitness scalar.&lt;/p&gt; &lt;/div&gt;&lt;/span&gt;</p>
317
+
318
+ <p>&lt;/li&gt;</p>
319
+
320
+ <pre> &lt;li class=&quot;public &quot;&gt;
321
+ &lt;span class=&quot;summary_signature&quot;&gt;
322
+
323
+ &lt;a href=&quot;#cost_func-instance_method&quot; title=&quot;#cost_func (instance method)&quot;&gt;- (Object) &lt;strong&gt;cost_func&lt;/strong&gt; &lt;/a&gt;
324
+
325
+ &lt;/span&gt;
326
+
327
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
328
+
329
+ <p>&lt;p&gt;Compare function for fitness Cost function for integrating in the
330
+ cost to the fitness scalar.&lt;/p&gt; &lt;/div&gt;&lt;/span&gt;</p>
331
+
332
+ <p>&lt;/li&gt;</p>
333
+
334
+ <pre> &lt;li class=&quot;public &quot;&gt;
335
+ &lt;span class=&quot;summary_signature&quot;&gt;
336
+
337
+ &lt;a href=&quot;#end_run_func-instance_method&quot; title=&quot;#end_run_func (instance method)&quot;&gt;- (Object) &lt;strong&gt;end_run_func&lt;/strong&gt; &lt;/a&gt;
338
+
339
+ &lt;/span&gt;
340
+
341
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
342
+
343
+ <p>&lt;p&gt;End run function to call at the end of each generational run Also
344
+ report_hook to dump reports for the user, etc.&lt;/p&gt;
345
+ &lt;/div&gt;&lt;/span&gt;</p>
346
+
347
+ <p>&lt;/li&gt;</p>
348
+
349
+ <pre> &lt;li class=&quot;public &quot;&gt;
350
+ &lt;span class=&quot;summary_signature&quot;&gt;
351
+
352
+ &lt;a href=&quot;#evaluator-instance_method&quot; title=&quot;#evaluator (instance method)&quot;&gt;- (Object) &lt;strong&gt;evaluator&lt;/strong&gt; &lt;/a&gt;
353
+
354
+ &lt;/span&gt;
355
+
356
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
357
+
358
+ <p>&lt;p&gt;Returns the value of attribute evaluator.&lt;/p&gt;
359
+ &lt;/div&gt;&lt;/span&gt;</p>
360
+
361
+ <p>&lt;/li&gt;</p>
362
+
363
+ <pre> &lt;li class=&quot;public &quot;&gt;
364
+ &lt;span class=&quot;summary_signature&quot;&gt;
365
+
366
+ &lt;a href=&quot;#evaluator_class-instance_method&quot; title=&quot;#evaluator_class (instance method)&quot;&gt;- (Object) &lt;strong&gt;evaluator_class&lt;/strong&gt; &lt;/a&gt;
367
+
368
+ &lt;/span&gt;
369
+
370
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
371
+
372
+ <p>&lt;p&gt;Returns the value of attribute evaluator_class.&lt;/p&gt;
373
+ &lt;/div&gt;&lt;/span&gt;</p>
374
+
375
+ <p>&lt;/li&gt;</p>
376
+
377
+ <pre> &lt;li class=&quot;public &quot;&gt;
378
+ &lt;span class=&quot;summary_signature&quot;&gt;
379
+
380
+ &lt;a href=&quot;#evolver-instance_method&quot; title=&quot;#evolver (instance method)&quot;&gt;- (Object) &lt;strong&gt;evolver&lt;/strong&gt; &lt;/a&gt;
381
+
382
+ &lt;/span&gt;
383
+
384
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
385
+
386
+ <p>&lt;p&gt;Returns the value of attribute evolver.&lt;/p&gt;
387
+ &lt;/div&gt;&lt;/span&gt;</p>
388
+
389
+ <p>&lt;/li&gt;</p>
390
+
391
+ <pre> &lt;li class=&quot;public &quot;&gt;
392
+ &lt;span class=&quot;summary_signature&quot;&gt;
393
+
394
+ &lt;a href=&quot;#evolver_class-instance_method&quot; title=&quot;#evolver_class (instance method)&quot;&gt;- (Object) &lt;strong&gt;evolver_class&lt;/strong&gt; &lt;/a&gt;
395
+
396
+ &lt;/span&gt;
397
+
398
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
399
+
400
+ <p>&lt;p&gt;Returns the value of attribute evolver_class.&lt;/p&gt;
401
+ &lt;/div&gt;&lt;/span&gt;</p>
402
+
403
+ <p>&lt;/li&gt;</p>
404
+
405
+ <pre> &lt;li class=&quot;public &quot;&gt;
406
+ &lt;span class=&quot;summary_signature&quot;&gt;
407
+
408
+ &lt;a href=&quot;#expressor-instance_method&quot; title=&quot;#expressor (instance method)&quot;&gt;- (Object) &lt;strong&gt;expressor&lt;/strong&gt; &lt;/a&gt;
409
+
410
+ &lt;/span&gt;
411
+
412
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
413
+
414
+ <p>&lt;p&gt;Returns the value of attribute expressor.&lt;/p&gt;
415
+ &lt;/div&gt;&lt;/span&gt;</p>
416
+
417
+ <p>&lt;/li&gt;</p>
418
+
419
+ <pre> &lt;li class=&quot;public &quot;&gt;
420
+ &lt;span class=&quot;summary_signature&quot;&gt;
421
+
422
+ &lt;a href=&quot;#expressor_class-instance_method&quot; title=&quot;#expressor_class (instance method)&quot;&gt;- (Object) &lt;strong&gt;expressor_class&lt;/strong&gt; &lt;/a&gt;
423
+
424
+ &lt;/span&gt;
425
+
426
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
427
+
428
+ <p>&lt;p&gt;Returns the value of attribute expressor_class.&lt;/p&gt;
429
+ &lt;/div&gt;&lt;/span&gt;</p>
430
+
431
+ <p>&lt;/li&gt;</p>
432
+
433
+ <pre> &lt;li class=&quot;public &quot;&gt;
434
+ &lt;span class=&quot;summary_signature&quot;&gt;
435
+
436
+ &lt;a href=&quot;#fitness_func-instance_method&quot; title=&quot;#fitness_func (instance method)&quot;&gt;- (Object) &lt;strong&gt;fitness_func&lt;/strong&gt; &lt;/a&gt;
437
+
438
+ &lt;/span&gt;
439
+
440
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
441
+
442
+ <p>&lt;p&gt;Fitness function that Critters shall be rated on.&lt;/p&gt;
443
+ &lt;/div&gt;&lt;/span&gt;</p>
444
+
445
+ <p>&lt;/li&gt;</p>
446
+
447
+ <pre> &lt;li class=&quot;public &quot;&gt;
448
+ &lt;span class=&quot;summary_signature&quot;&gt;
449
+
450
+ &lt;a href=&quot;#generation_num-instance_method&quot; title=&quot;#generation_num (instance method)&quot;&gt;- (Object) &lt;strong&gt;generation_num&lt;/strong&gt; &lt;/a&gt;
451
+
452
+ &lt;/span&gt;
453
+
454
+ &lt;span class=&quot;note title readonly&quot;&gt;readonly&lt;/span&gt;
455
+
456
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
457
+
458
+ <p>&lt;p&gt;Current generation count.&lt;/p&gt; &lt;/div&gt;&lt;/span&gt;</p>
459
+
460
+ <p>&lt;/li&gt;</p>
461
+
462
+ <pre> &lt;li class=&quot;public &quot;&gt;
463
+ &lt;span class=&quot;summary_signature&quot;&gt;
464
+
465
+ &lt;a href=&quot;#glob_innov_num-instance_method&quot; title=&quot;#glob_innov_num (instance method)&quot;&gt;- (Object) &lt;strong&gt;glob_innov_num&lt;/strong&gt; &lt;/a&gt;
466
+
467
+ &lt;/span&gt;
468
+
469
+ &lt;span class=&quot;note title readonly&quot;&gt;readonly&lt;/span&gt;
470
+
471
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
472
+
473
+ <p>&lt;p&gt;global innovation number.&lt;/p&gt; &lt;/div&gt;&lt;/span&gt;</p>
474
+
475
+ <p>&lt;/li&gt;</p>
476
+
477
+ <pre> &lt;li class=&quot;public &quot;&gt;
478
+ &lt;span class=&quot;summary_signature&quot;&gt;
479
+
480
+ &lt;a href=&quot;#log-instance_method&quot; title=&quot;#log (instance method)&quot;&gt;- (Object) &lt;strong&gt;log&lt;/strong&gt; &lt;/a&gt;
481
+
482
+ &lt;/span&gt;
483
+
484
+ &lt;span class=&quot;note title readonly&quot;&gt;readonly&lt;/span&gt;
485
+
486
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
487
+
488
+ <p>&lt;p&gt;Logger object for all of <a
489
+ href="../../RubyNEAT.html">RubyNEAT</a>.&lt;/p&gt;
490
+ &lt;/div&gt;&lt;/span&gt;</p>
491
+
492
+ <p>&lt;/li&gt;</p>
493
+
494
+ <pre> &lt;li class=&quot;public &quot;&gt;
495
+ &lt;span class=&quot;summary_signature&quot;&gt;
496
+
497
+ &lt;a href=&quot;#neural_hidden-instance_method&quot; title=&quot;#neural_hidden (instance method)&quot;&gt;- (Object) &lt;strong&gt;neural_hidden&lt;/strong&gt; &lt;/a&gt;
498
+
499
+ &lt;/span&gt;
500
+
501
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
502
+
503
+ <p>&lt;p&gt;Class map of named input and output neurons (each critter will
504
+ have instantiations of these) name: InputNeuralClass (usually
505
+ InputNeuron).&lt;/p&gt; &lt;/div&gt;&lt;/span&gt;</p>
506
+
507
+ <p>&lt;/li&gt;</p>
508
+
509
+ <pre> &lt;li class=&quot;public &quot;&gt;
510
+ &lt;span class=&quot;summary_signature&quot;&gt;
511
+
512
+ &lt;a href=&quot;#neural_inputs-instance_method&quot; title=&quot;#neural_inputs (instance method)&quot;&gt;- (Object) &lt;strong&gt;neural_inputs&lt;/strong&gt; &lt;/a&gt;
513
+
514
+ &lt;/span&gt;
515
+
516
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
517
+
518
+ <p>&lt;p&gt;Class map of named input and output neurons (each critter will
519
+ have instantiations of these) name: InputNeuralClass (usually
520
+ InputNeuron).&lt;/p&gt; &lt;/div&gt;&lt;/span&gt;</p>
521
+
522
+ <p>&lt;/li&gt;</p>
523
+
524
+ <pre> &lt;li class=&quot;public &quot;&gt;
525
+ &lt;span class=&quot;summary_signature&quot;&gt;
526
+
527
+ &lt;a href=&quot;#neural_outputs-instance_method&quot; title=&quot;#neural_outputs (instance method)&quot;&gt;- (Object) &lt;strong&gt;neural_outputs&lt;/strong&gt; &lt;/a&gt;
528
+
529
+ &lt;/span&gt;
530
+
531
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
532
+
533
+ <p>&lt;p&gt;Class map of named input and output neurons (each critter will
534
+ have instantiations of these) name: InputNeuralClass (usually
535
+ InputNeuron).&lt;/p&gt; &lt;/div&gt;&lt;/span&gt;</p>
536
+
537
+ <p>&lt;/li&gt;</p>
538
+
539
+ <pre> &lt;li class=&quot;public &quot;&gt;
540
+ &lt;span class=&quot;summary_signature&quot;&gt;
541
+
542
+ &lt;a href=&quot;#neuron_catalog-instance_method&quot; title=&quot;#neuron_catalog (instance method)&quot;&gt;- (Object) &lt;strong&gt;neuron_catalog&lt;/strong&gt; &lt;/a&gt;
543
+
544
+ &lt;/span&gt;
545
+
546
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
547
+
548
+ <p>&lt;p&gt;catalog of neurons classes to use { weight =&amp;gt; nclass, …
549
+ }.&lt;/p&gt; &lt;/div&gt;&lt;/span&gt;</p>
550
+
551
+ <p>&lt;/li&gt;</p>
552
+
553
+ <pre> &lt;li class=&quot;public &quot;&gt;
554
+ &lt;span class=&quot;summary_signature&quot;&gt;
555
+
556
+ &lt;a href=&quot;#parms-instance_method&quot; title=&quot;#parms (instance method)&quot;&gt;- (Object) &lt;strong&gt;parms&lt;/strong&gt; &lt;/a&gt;
557
+
558
+ &lt;/span&gt;
559
+
560
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
561
+
562
+ <p>&lt;p&gt;Parameters for evolution (NeatParameters).&lt;/p&gt;
563
+ &lt;/div&gt;&lt;/span&gt;</p>
564
+
565
+ <p>&lt;/li&gt;</p>
566
+
567
+ <pre> &lt;li class=&quot;public &quot;&gt;
568
+ &lt;span class=&quot;summary_signature&quot;&gt;
569
+
570
+ &lt;a href=&quot;#population-instance_method&quot; title=&quot;#population (instance method)&quot;&gt;- (Object) &lt;strong&gt;population&lt;/strong&gt; &lt;/a&gt;
571
+
572
+ &lt;/span&gt;
573
+
574
+ &lt;span class=&quot;note title readonly&quot;&gt;readonly&lt;/span&gt;
575
+
576
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
577
+
578
+ <p>&lt;p&gt;population object and class specification.&lt;/p&gt;
579
+ &lt;/div&gt;&lt;/span&gt;</p>
580
+
581
+ <p>&lt;/li&gt;</p>
582
+
583
+ <pre> &lt;li class=&quot;public &quot;&gt;
584
+ &lt;span class=&quot;summary_signature&quot;&gt;
585
+
586
+ &lt;a href=&quot;#population_class-instance_method&quot; title=&quot;#population_class (instance method)&quot;&gt;- (Object) &lt;strong&gt;population_class&lt;/strong&gt; &lt;/a&gt;
587
+
588
+ &lt;/span&gt;
589
+
590
+ &lt;span class=&quot;note title readonly&quot;&gt;readonly&lt;/span&gt;
591
+
592
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
593
+
594
+ <p>&lt;p&gt;population object and class specification.&lt;/p&gt;
595
+ &lt;/div&gt;&lt;/span&gt;</p>
596
+
597
+ <p>&lt;/li&gt;</p>
598
+
599
+ <pre> &lt;li class=&quot;public &quot;&gt;
600
+ &lt;span class=&quot;summary_signature&quot;&gt;
601
+
602
+ &lt;a href=&quot;#population_history-instance_method&quot; title=&quot;#population_history (instance method)&quot;&gt;- (Object) &lt;strong&gt;population_history&lt;/strong&gt; &lt;/a&gt;
603
+
604
+ &lt;/span&gt;
605
+
606
+ &lt;span class=&quot;note title readonly&quot;&gt;readonly&lt;/span&gt;
607
+
608
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
609
+
610
+ <p>&lt;p&gt;population object and class specification.&lt;/p&gt;
611
+ &lt;/div&gt;&lt;/span&gt;</p>
612
+
613
+ <p>&lt;/li&gt;</p>
614
+
615
+ <pre> &lt;li class=&quot;public &quot;&gt;
616
+ &lt;span class=&quot;summary_signature&quot;&gt;
617
+
618
+ &lt;a href=&quot;#query_func-instance_method&quot; title=&quot;#query_func (instance method)&quot;&gt;- (Object) &lt;strong&gt;query_func&lt;/strong&gt; &lt;/a&gt;
619
+
620
+ &lt;/span&gt;
621
+
622
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
623
+
624
+ <p>&lt;p&gt;Query function that Critters shall call.&lt;/p&gt;
625
+ &lt;/div&gt;&lt;/span&gt;</p>
626
+
627
+ <p>&lt;/li&gt;</p>
628
+
629
+ <pre> &lt;li class=&quot;public &quot;&gt;
630
+ &lt;span class=&quot;summary_signature&quot;&gt;
631
+
632
+ &lt;a href=&quot;#recurrence_func-instance_method&quot; title=&quot;#recurrence_func (instance method)&quot;&gt;- (Object) &lt;strong&gt;recurrence_func&lt;/strong&gt; &lt;/a&gt;
633
+
634
+ &lt;/span&gt;
635
+
636
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
637
+
638
+ <p>&lt;p&gt;Recurrence function that Critters will yield to.&lt;/p&gt;
639
+ &lt;/div&gt;&lt;/span&gt;</p>
640
+
641
+ <p>&lt;/li&gt;</p>
642
+
643
+ <pre> &lt;li class=&quot;public &quot;&gt;
644
+ &lt;span class=&quot;summary_signature&quot;&gt;
645
+
646
+ &lt;a href=&quot;#report_hook-instance_method&quot; title=&quot;#report_hook (instance method)&quot;&gt;- (Object) &lt;strong&gt;report_hook&lt;/strong&gt; &lt;/a&gt;
647
+
648
+ &lt;/span&gt;
649
+
650
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
651
+
652
+ <p>&lt;p&gt;End run function to call at the end of each generational run Also
653
+ report_hook to dump reports for the user, etc.&lt;/p&gt;
654
+ &lt;/div&gt;&lt;/span&gt;</p>
655
+
656
+ <p>&lt;/li&gt;</p>
657
+
658
+ <pre> &lt;li class=&quot;public &quot;&gt;
659
+ &lt;span class=&quot;summary_signature&quot;&gt;
660
+
661
+ &lt;a href=&quot;#seq_num-instance_method&quot; title=&quot;#seq_num (instance method)&quot;&gt;- (Object) &lt;strong&gt;seq_num&lt;/strong&gt; &lt;/a&gt;
662
+
663
+ &lt;/span&gt;
664
+
665
+ &lt;span class=&quot;note title readonly&quot;&gt;readonly&lt;/span&gt;
666
+
667
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
668
+
669
+ <p>&lt;p&gt;current sequence number being evaluated.&lt;/p&gt;
670
+ &lt;/div&gt;&lt;/span&gt;</p>
671
+
672
+ <p>&lt;/li&gt;</p>
673
+
674
+ <pre> &lt;li class=&quot;public &quot;&gt;
675
+ &lt;span class=&quot;summary_signature&quot;&gt;
676
+
677
+ &lt;a href=&quot;#stop_on_fit_func-instance_method&quot; title=&quot;#stop_on_fit_func (instance method)&quot;&gt;- (Object) &lt;strong&gt;stop_on_fit_func&lt;/strong&gt; &lt;/a&gt;
678
+
679
+ &lt;/span&gt;
680
+
681
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
682
+
683
+ <p>&lt;p&gt;Compare function for fitness Cost function for integrating in the
684
+ cost to the fitness scalar.&lt;/p&gt; &lt;/div&gt;&lt;/span&gt;</p>
685
+
686
+ <p>&lt;/li&gt;</p>
687
+
688
+ <pre> &lt;li class=&quot;public &quot;&gt;
689
+ &lt;span class=&quot;summary_signature&quot;&gt;
690
+
691
+ &lt;a href=&quot;#verbosity-instance_method&quot; title=&quot;#verbosity (instance method)&quot;&gt;- (Object) &lt;strong&gt;verbosity&lt;/strong&gt; &lt;/a&gt;
692
+
693
+ &lt;/span&gt;
694
+
695
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
696
+
697
+ <p>&lt;p&gt;Global verbosity level: 1 - normal (the default) 2 - really
698
+ verbose 3 - maximally verbose Use in conjunction with log.debug.&lt;/p&gt;
699
+ &lt;/div&gt;&lt;/span&gt;</p>
700
+
701
+ <p>&lt;/li&gt;</p>
702
+
703
+ <pre>&lt;/ul&gt;
704
+
705
+ &lt;h3 class=&quot;inherited&quot;&gt;Attributes inherited from &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;NeatOb.html&quot; title=&quot;NEAT::NeatOb (class)&quot;&gt;NeatOb&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
706
+ &lt;p class=&quot;inherited&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;NeatOb.html#controller-instance_method&quot; title=&quot;NEAT::NeatOb#controller (method)&quot;&gt;#controller&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;NeatOb.html#name-instance_method&quot; title=&quot;NEAT::NeatOb#name (method)&quot;&gt;#name&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
707
+
708
+ &lt;h2&gt;
709
+ Instance Method Summary
710
+ &lt;small&gt;(&lt;a href=&quot;#&quot; class=&quot;summary_toggle&quot;&gt;collapse&lt;/a&gt;)&lt;/small&gt;
711
+ &lt;/h2&gt;
712
+
713
+ &lt;ul class=&quot;summary&quot;&gt;
714
+
715
+ &lt;li class=&quot;public &quot;&gt;
716
+ &lt;span class=&quot;summary_signature&quot;&gt;
717
+
718
+ &lt;a href=&quot;#gaussian-instance_method&quot; title=&quot;#gaussian (instance method)&quot;&gt;- (Object) &lt;strong&gt;gaussian&lt;/strong&gt; &lt;/a&gt;
719
+
720
+ &lt;/span&gt;
721
+
722
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;&lt;/div&gt;&lt;/span&gt;</pre>
723
+
724
+ <p>&lt;/li&gt;</p>
725
+
726
+ <pre> &lt;li class=&quot;public &quot;&gt;
727
+ &lt;span class=&quot;summary_signature&quot;&gt;
728
+
729
+ &lt;a href=&quot;#initialize-instance_method&quot; title=&quot;#initialize (instance method)&quot;&gt;- (Controller) &lt;strong&gt;initialize&lt;/strong&gt;(neural_inputs: nil, neural_outputs: nil, neural_hidden: nil, parameters: NeatSettings.new, &amp;amp;block) &lt;/a&gt;
730
+
731
+ &lt;/span&gt;
732
+
733
+ &lt;span class=&quot;note title constructor&quot;&gt;constructor&lt;/span&gt;
734
+
735
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;&lt;ul&gt;&lt;li&gt;</pre>
736
+
737
+ <p>&lt;p&gt;neural_inputs – array of input classes - neural_outputs – array of
738
+ output classes - parameters – NeatParameters object, or a path to a YAML
739
+ file to create this.&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;
740
+ &lt;/div&gt;&lt;/span&gt;</p>
741
+
742
+ <p>&lt;/li&gt;</p>
743
+
744
+ <pre> &lt;li class=&quot;public &quot;&gt;
745
+ &lt;span class=&quot;summary_signature&quot;&gt;
746
+
747
+ &lt;a href=&quot;#new_innovation-instance_method&quot; title=&quot;#new_innovation (instance method)&quot;&gt;- (Object) &lt;strong&gt;new_innovation&lt;/strong&gt; &lt;/a&gt;
748
+
749
+ &lt;/span&gt;
750
+
751
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;&lt;/div&gt;&lt;/span&gt;</pre>
752
+
753
+ <p>&lt;/li&gt;</p>
754
+
755
+ <pre> &lt;li class=&quot;public &quot;&gt;
756
+ &lt;span class=&quot;summary_signature&quot;&gt;
757
+
758
+ &lt;a href=&quot;#run-instance_method&quot; title=&quot;#run (instance method)&quot;&gt;- (Object) &lt;strong&gt;run&lt;/strong&gt; &lt;/a&gt;
759
+
760
+ &lt;/span&gt;
761
+
762
+ &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>
763
+
764
+ <p>&lt;p&gt;Run this evolution.&lt;/p&gt; &lt;/div&gt;&lt;/span&gt;</p>
765
+
766
+ <p>&lt;/li&gt;</p>
767
+
768
+ <pre> &lt;/ul&gt;
769
+
770
+ &lt;h3 class=&quot;inherited&quot;&gt;Methods inherited from &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;NeatOb.html&quot; title=&quot;NEAT::NeatOb (class)&quot;&gt;NeatOb&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
771
+ &lt;p class=&quot;inherited&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;NeatOb.html#log-class_method&quot; title=&quot;NEAT::NeatOb.log (method)&quot;&gt;log&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;NeatOb.html#to_s-instance_method&quot; title=&quot;NEAT::NeatOb#to_s (method)&quot;&gt;#to_s&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
772
+
773
+ &lt;div id=&quot;constructor_details&quot; class=&quot;method_details_list&quot;&gt;
774
+ &lt;h2&gt;Constructor Details&lt;/h2&gt;
775
+
776
+ &lt;div class=&quot;method_details first&quot;&gt;
777
+ &lt;h3 class=&quot;signature first&quot; id=&quot;initialize-instance_method&quot;&gt;
778
+
779
+ - (&lt;tt&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;&quot; title=&quot;NEAT::Controller (class)&quot;&gt;Controller&lt;/a&gt;&lt;/span&gt;&lt;/tt&gt;) &lt;strong&gt;initialize&lt;/strong&gt;(neural_inputs: nil, neural_outputs: nil, neural_hidden: nil, parameters: NeatSettings.new, &amp;amp;block)</pre>
780
+
781
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
782
+
783
+ <pre>&lt;div class=&quot;discussion&quot;&gt;
784
+ &lt;ul&gt;&lt;li&gt;</pre>
785
+
786
+ <p>&lt;p&gt;neural_inputs – array of input classes&lt;/p&gt;
787
+ &lt;/li&gt;&lt;li&gt; &lt;p&gt;neural_outputs – array of output
788
+ classes&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;parameters –
789
+ NeatParameters object, or a path to a YAML file to create this.&lt;/p&gt;
790
+ &lt;/li&gt;&lt;/ul&gt;</p>
791
+
792
+ <pre>&lt;/div&gt;</pre>
793
+
794
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
795
+
796
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
797
+
798
+ <pre>&lt;tr&gt;
799
+ &lt;td&gt;
800
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
801
+
802
+ <p>334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352
803
+ 353 354 355 356 357 358 359 360 361 362 363 364 365&lt;/pre&gt;</p>
804
+
805
+ <pre>&lt;/td&gt;
806
+ &lt;td&gt;
807
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 334&lt;/span&gt;</pre>
808
+
809
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
810
+ identifier rubyid_initialize&#39;&gt;initialize&lt;/span&gt;&lt;span
811
+ class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span
812
+ class=&#39;label&#39;&gt;neural_inputs:&lt;/span&gt; &lt;span
813
+ class=&#39;kw&#39;&gt;nil&lt;/span&gt;&lt;span
814
+ class=&#39;comma&#39;&gt;,&lt;/span&gt;</p>
815
+
816
+ <pre> &lt;span class=&#39;label&#39;&gt;neural_outputs:&lt;/span&gt; &lt;span class=&#39;kw&#39;&gt;nil&lt;/span&gt;&lt;span class=&#39;comma&#39;&gt;,&lt;/span&gt;
817
+ &lt;span class=&#39;label&#39;&gt;neural_hidden:&lt;/span&gt; &lt;span class=&#39;kw&#39;&gt;nil&lt;/span&gt;&lt;span class=&#39;comma&#39;&gt;,&lt;/span&gt;
818
+ &lt;span class=&#39;label&#39;&gt;parameters:&lt;/span&gt; &lt;span class=&#39;const&#39;&gt;NeatSettings&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_new&#39;&gt;new&lt;/span&gt;&lt;span class=&#39;comma&#39;&gt;,&lt;/span&gt;
819
+ &lt;span class=&#39;op&#39;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_block&#39;&gt;block&lt;/span&gt;&lt;span class=&#39;rparen&#39;&gt;)&lt;/span&gt;
820
+ &lt;span class=&#39;kw&#39;&gt;super&lt;/span&gt;&lt;span class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;kw&#39;&gt;self&lt;/span&gt;&lt;span class=&#39;rparen&#39;&gt;)&lt;/span&gt;
821
+ &lt;span class=&#39;ivar&#39;&gt;@verbosity&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;int&#39;&gt;1&lt;/span&gt;
822
+ &lt;span class=&#39;ivar&#39;&gt;@glob_innov_num&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;int&#39;&gt;0&lt;/span&gt;
823
+ &lt;span class=&#39;ivar&#39;&gt;@gaussian&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;const&#39;&gt;Distribution&lt;/span&gt;&lt;span class=&#39;op&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;const&#39;&gt;Normal&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_rng&#39;&gt;rng&lt;/span&gt;
824
+ &lt;span class=&#39;ivar&#39;&gt;@population_history&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;lbracket&#39;&gt;[&lt;/span&gt;&lt;span class=&#39;rbracket&#39;&gt;]&lt;/span&gt;
825
+ &lt;span class=&#39;ivar&#39;&gt;@evolver&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;const&#39;&gt;Evolver&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_new&#39;&gt;new&lt;/span&gt; &lt;span class=&#39;kw&#39;&gt;self&lt;/span&gt;
826
+ &lt;span class=&#39;ivar&#39;&gt;@expressor&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;const&#39;&gt;Expressor&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_new&#39;&gt;new&lt;/span&gt; &lt;span class=&#39;kw&#39;&gt;self&lt;/span&gt;
827
+
828
+ &lt;span class=&#39;ivar&#39;&gt;@neuron_catalog&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;const&#39;&gt;Neuron&lt;/span&gt;&lt;span class=&#39;op&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_neuron_types&#39;&gt;neuron_types&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_clone&#39;&gt;clone&lt;/span&gt;
829
+ &lt;span class=&#39;ivar&#39;&gt;@neural_inputs&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;id identifier rubyid_neural_inputs&#39;&gt;neural_inputs&lt;/span&gt;
830
+ &lt;span class=&#39;ivar&#39;&gt;@neural_outputs&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;id identifier rubyid_neural_outputs&#39;&gt;neural_outputs&lt;/span&gt;
831
+ &lt;span class=&#39;ivar&#39;&gt;@neural_hidden&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;id identifier rubyid_neural_hidden&#39;&gt;neural_hidden&lt;/span&gt;
832
+
833
+ &lt;span class=&#39;comment&#39;&gt;# Default classes for population and operators, etc.</pre>
834
+
835
+ <p>&lt;/span&gt; &lt;span
836
+ class=&#39;ivar&#39;&gt;@population_class&lt;/span&gt; &lt;span
837
+ class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span
838
+ class=&#39;const&#39;&gt;NEAT&lt;/span&gt;&lt;span
839
+ class=&#39;op&#39;&gt;::&lt;/span&gt;&lt;span
840
+ class=&#39;const&#39;&gt;Population&lt;/span&gt;</p>
841
+
842
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@evaluator_class&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;const&#39;&gt;NEAT&lt;/span&gt;&lt;span class=&#39;op&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;const&#39;&gt;Evaluator&lt;/span&gt;
843
+ &lt;span class=&#39;ivar&#39;&gt;@expressor_class&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;const&#39;&gt;NEAT&lt;/span&gt;&lt;span class=&#39;op&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;const&#39;&gt;Expressor&lt;/span&gt;
844
+ &lt;span class=&#39;ivar&#39;&gt;@evolver_class&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;const&#39;&gt;NEAT&lt;/span&gt;&lt;span class=&#39;op&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;const&#39;&gt;Evolver&lt;/span&gt;
845
+
846
+ &lt;span class=&#39;comment&#39;&gt;# Handle the parameters parameter. :-)</pre>
847
+
848
+ <p>&lt;/span&gt; &lt;span class=&#39;ivar&#39;&gt;@parms&lt;/span&gt;
849
+ &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span
850
+ class=&#39;kw&#39;&gt;unless&lt;/span&gt; &lt;span class=&#39;id identifier
851
+ rubyid_parameters&#39;&gt;parameters&lt;/span&gt;&lt;span
852
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier
853
+ rubyid_kind_of?&#39;&gt;kind_of?&lt;/span&gt; &lt;span
854
+ class=&#39;const&#39;&gt;String&lt;/span&gt;</p>
855
+
856
+ <pre> &lt;span class=&#39;id identifier rubyid_parameters&#39;&gt;parameters&lt;/span&gt;
857
+ &lt;span class=&#39;kw&#39;&gt;else&lt;/span&gt; &lt;span class=&#39;comment&#39;&gt;# load it from a file</pre>
858
+
859
+ <p>&lt;/span&gt; &lt;span class=&#39;id identifier
860
+ rubyid_open&#39;&gt;open&lt;/span&gt;&lt;span
861
+ class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;id identifier
862
+ rubyid_parameters&#39;&gt;parameters&lt;/span&gt;&lt;span
863
+ class=&#39;comma&#39;&gt;,&lt;/span&gt; &lt;span
864
+ class=&#39;tstring&#39;&gt;&lt;span
865
+ class=&#39;tstring_beg&#39;&gt;&amp;#39;&lt;/span&gt;&lt;span
866
+ class=&#39;tstring_content&#39;&gt;r&lt;/span&gt;&lt;span
867
+ class=&#39;tstring_end&#39;&gt;&amp;#39;&lt;/span&gt;&lt;/span&gt;&lt;span
868
+ class=&#39;rparen&#39;&gt;)&lt;/span&gt; &lt;span
869
+ class=&#39;lbrace&#39;&gt;{&lt;/span&gt; &lt;span
870
+ class=&#39;op&#39;&gt;|&lt;/span&gt;&lt;span class=&#39;id identifier
871
+ rubyid_fd&#39;&gt;fd&lt;/span&gt;&lt;span
872
+ class=&#39;op&#39;&gt;|&lt;/span&gt; &lt;span
873
+ class=&#39;const&#39;&gt;YAML&lt;/span&gt;&lt;span
874
+ class=&#39;op&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;id identifier
875
+ rubyid_load&#39;&gt;load&lt;/span&gt; &lt;span class=&#39;id identifier
876
+ rubyid_fd&#39;&gt;fd&lt;/span&gt;&lt;span
877
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier
878
+ rubyid_read&#39;&gt;read&lt;/span&gt; &lt;span
879
+ class=&#39;rbrace&#39;&gt;}&lt;/span&gt;</p>
880
+
881
+ <pre> &lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;
882
+ &lt;span class=&#39;id identifier rubyid_block&#39;&gt;block&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;kw&#39;&gt;self&lt;/span&gt;&lt;span class=&#39;rparen&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;kw&#39;&gt;unless&lt;/span&gt; &lt;span class=&#39;id identifier rubyid_block&#39;&gt;block&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_nil?&#39;&gt;nil?&lt;/span&gt;</pre>
883
+
884
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
885
+
886
+ <pre> &lt;/td&gt;
887
+ &lt;/tr&gt;</pre>
888
+
889
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
890
+
891
+ <p>&lt;/div&gt;</p>
892
+
893
+ <pre>&lt;div id=&quot;instance_attr_details&quot; class=&quot;attr_details&quot;&gt;
894
+ &lt;h2&gt;Instance Attribute Details&lt;/h2&gt;
895
+
896
+ &lt;span id=&quot;compare_func=-instance_method&quot;&gt;&lt;/span&gt;
897
+ &lt;div class=&quot;method_details first&quot;&gt;
898
+ &lt;h3 class=&quot;signature first&quot; id=&quot;compare_func-instance_method&quot;&gt;
899
+
900
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;compare_func&lt;/strong&gt;</pre>
901
+
902
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
903
+
904
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
905
+
906
+ <p>&lt;p&gt;Compare function for fitness Cost function for integrating in the
907
+ cost to the fitness scalar.&lt;/p&gt;</p>
908
+
909
+ <pre>&lt;/div&gt;</pre>
910
+
911
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
912
+
913
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
914
+
915
+ <pre>&lt;tr&gt;
916
+ &lt;td&gt;
917
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
918
+
919
+ <p>197 198 199&lt;/pre&gt;</p>
920
+
921
+ <pre>&lt;/td&gt;
922
+ &lt;td&gt;
923
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 197&lt;/span&gt;</pre>
924
+
925
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
926
+ identifier rubyid_compare_func&#39;&gt;compare_func&lt;/span&gt;</p>
927
+
928
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@compare_func&lt;/span&gt;</pre>
929
+
930
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
931
+
932
+ <pre> &lt;/td&gt;
933
+ &lt;/tr&gt;</pre>
934
+
935
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
936
+
937
+ <pre> &lt;span id=&quot;cost_func=-instance_method&quot;&gt;&lt;/span&gt;
938
+ &lt;div class=&quot;method_details &quot;&gt;
939
+ &lt;h3 class=&quot;signature &quot; id=&quot;cost_func-instance_method&quot;&gt;
940
+
941
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;cost_func&lt;/strong&gt;</pre>
942
+
943
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
944
+
945
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
946
+
947
+ <p>&lt;p&gt;Compare function for fitness Cost function for integrating in the
948
+ cost to the fitness scalar.&lt;/p&gt;</p>
949
+
950
+ <pre>&lt;/div&gt;</pre>
951
+
952
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
953
+
954
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
955
+
956
+ <pre>&lt;tr&gt;
957
+ &lt;td&gt;
958
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
959
+
960
+ <p>197 198 199&lt;/pre&gt;</p>
961
+
962
+ <pre>&lt;/td&gt;
963
+ &lt;td&gt;
964
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 197&lt;/span&gt;</pre>
965
+
966
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
967
+ identifier rubyid_cost_func&#39;&gt;cost_func&lt;/span&gt;</p>
968
+
969
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@cost_func&lt;/span&gt;</pre>
970
+
971
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
972
+
973
+ <pre> &lt;/td&gt;
974
+ &lt;/tr&gt;</pre>
975
+
976
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
977
+
978
+ <pre> &lt;span id=&quot;end_run_func=-instance_method&quot;&gt;&lt;/span&gt;
979
+ &lt;div class=&quot;method_details &quot;&gt;
980
+ &lt;h3 class=&quot;signature &quot; id=&quot;end_run_func-instance_method&quot;&gt;
981
+
982
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;end_run_func&lt;/strong&gt;</pre>
983
+
984
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
985
+
986
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
987
+
988
+ <p>&lt;p&gt;End run function to call at the end of each generational run Also
989
+ report_hook to dump reports for the user, etc.&lt;/p&gt;</p>
990
+
991
+ <pre>&lt;/div&gt;</pre>
992
+
993
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
994
+
995
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
996
+
997
+ <pre>&lt;tr&gt;
998
+ &lt;td&gt;
999
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1000
+
1001
+ <p>201 202 203&lt;/pre&gt;</p>
1002
+
1003
+ <pre>&lt;/td&gt;
1004
+ &lt;td&gt;
1005
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 201&lt;/span&gt;</pre>
1006
+
1007
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1008
+ identifier rubyid_end_run_func&#39;&gt;end_run_func&lt;/span&gt;</p>
1009
+
1010
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@end_run_func&lt;/span&gt;</pre>
1011
+
1012
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1013
+
1014
+ <pre> &lt;/td&gt;
1015
+ &lt;/tr&gt;</pre>
1016
+
1017
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1018
+
1019
+ <pre> &lt;span id=&quot;evaluator=-instance_method&quot;&gt;&lt;/span&gt;
1020
+ &lt;div class=&quot;method_details &quot;&gt;
1021
+ &lt;h3 class=&quot;signature &quot; id=&quot;evaluator-instance_method&quot;&gt;
1022
+
1023
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;evaluator&lt;/strong&gt;</pre>
1024
+
1025
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1026
+
1027
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1028
+
1029
+ <p>&lt;p&gt;Returns the value of attribute evaluator&lt;/p&gt;</p>
1030
+
1031
+ <pre>&lt;/div&gt;</pre>
1032
+
1033
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1034
+
1035
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1036
+
1037
+ <pre>&lt;tr&gt;
1038
+ &lt;td&gt;
1039
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1040
+
1041
+ <p>176 177 178&lt;/pre&gt;</p>
1042
+
1043
+ <pre>&lt;/td&gt;
1044
+ &lt;td&gt;
1045
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 176&lt;/span&gt;</pre>
1046
+
1047
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1048
+ identifier rubyid_evaluator&#39;&gt;evaluator&lt;/span&gt;</p>
1049
+
1050
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@evaluator&lt;/span&gt;</pre>
1051
+
1052
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1053
+
1054
+ <pre> &lt;/td&gt;
1055
+ &lt;/tr&gt;</pre>
1056
+
1057
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1058
+
1059
+ <pre> &lt;span id=&quot;evaluator_class=-instance_method&quot;&gt;&lt;/span&gt;
1060
+ &lt;div class=&quot;method_details &quot;&gt;
1061
+ &lt;h3 class=&quot;signature &quot; id=&quot;evaluator_class-instance_method&quot;&gt;
1062
+
1063
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;evaluator_class&lt;/strong&gt;</pre>
1064
+
1065
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1066
+
1067
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1068
+
1069
+ <p>&lt;p&gt;Returns the value of attribute evaluator_class&lt;/p&gt;</p>
1070
+
1071
+ <pre>&lt;/div&gt;</pre>
1072
+
1073
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1074
+
1075
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1076
+
1077
+ <pre>&lt;tr&gt;
1078
+ &lt;td&gt;
1079
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1080
+
1081
+ <p>176 177 178&lt;/pre&gt;</p>
1082
+
1083
+ <pre>&lt;/td&gt;
1084
+ &lt;td&gt;
1085
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 176&lt;/span&gt;</pre>
1086
+
1087
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1088
+ identifier rubyid_evaluator_class&#39;&gt;evaluator_class&lt;/span&gt;</p>
1089
+
1090
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@evaluator_class&lt;/span&gt;</pre>
1091
+
1092
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1093
+
1094
+ <pre> &lt;/td&gt;
1095
+ &lt;/tr&gt;</pre>
1096
+
1097
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1098
+
1099
+ <pre> &lt;span id=&quot;evolver=-instance_method&quot;&gt;&lt;/span&gt;
1100
+ &lt;div class=&quot;method_details &quot;&gt;
1101
+ &lt;h3 class=&quot;signature &quot; id=&quot;evolver-instance_method&quot;&gt;
1102
+
1103
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;evolver&lt;/strong&gt;</pre>
1104
+
1105
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1106
+
1107
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1108
+
1109
+ <p>&lt;p&gt;Returns the value of attribute evolver&lt;/p&gt;</p>
1110
+
1111
+ <pre>&lt;/div&gt;</pre>
1112
+
1113
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1114
+
1115
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1116
+
1117
+ <pre>&lt;tr&gt;
1118
+ &lt;td&gt;
1119
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1120
+
1121
+ <p>177 178 179&lt;/pre&gt;</p>
1122
+
1123
+ <pre>&lt;/td&gt;
1124
+ &lt;td&gt;
1125
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 177&lt;/span&gt;</pre>
1126
+
1127
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1128
+ identifier rubyid_evolver&#39;&gt;evolver&lt;/span&gt;</p>
1129
+
1130
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@evolver&lt;/span&gt;</pre>
1131
+
1132
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1133
+
1134
+ <pre> &lt;/td&gt;
1135
+ &lt;/tr&gt;</pre>
1136
+
1137
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1138
+
1139
+ <pre> &lt;span id=&quot;evolver_class=-instance_method&quot;&gt;&lt;/span&gt;
1140
+ &lt;div class=&quot;method_details &quot;&gt;
1141
+ &lt;h3 class=&quot;signature &quot; id=&quot;evolver_class-instance_method&quot;&gt;
1142
+
1143
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;evolver_class&lt;/strong&gt;</pre>
1144
+
1145
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1146
+
1147
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1148
+
1149
+ <p>&lt;p&gt;Returns the value of attribute evolver_class&lt;/p&gt;</p>
1150
+
1151
+ <pre>&lt;/div&gt;</pre>
1152
+
1153
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1154
+
1155
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1156
+
1157
+ <pre>&lt;tr&gt;
1158
+ &lt;td&gt;
1159
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1160
+
1161
+ <p>177 178 179&lt;/pre&gt;</p>
1162
+
1163
+ <pre>&lt;/td&gt;
1164
+ &lt;td&gt;
1165
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 177&lt;/span&gt;</pre>
1166
+
1167
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1168
+ identifier rubyid_evolver_class&#39;&gt;evolver_class&lt;/span&gt;</p>
1169
+
1170
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@evolver_class&lt;/span&gt;</pre>
1171
+
1172
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1173
+
1174
+ <pre> &lt;/td&gt;
1175
+ &lt;/tr&gt;</pre>
1176
+
1177
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1178
+
1179
+ <pre> &lt;span id=&quot;expressor=-instance_method&quot;&gt;&lt;/span&gt;
1180
+ &lt;div class=&quot;method_details &quot;&gt;
1181
+ &lt;h3 class=&quot;signature &quot; id=&quot;expressor-instance_method&quot;&gt;
1182
+
1183
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;expressor&lt;/strong&gt;</pre>
1184
+
1185
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1186
+
1187
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1188
+
1189
+ <p>&lt;p&gt;Returns the value of attribute expressor&lt;/p&gt;</p>
1190
+
1191
+ <pre>&lt;/div&gt;</pre>
1192
+
1193
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1194
+
1195
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1196
+
1197
+ <pre>&lt;tr&gt;
1198
+ &lt;td&gt;
1199
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1200
+
1201
+ <p>175 176 177&lt;/pre&gt;</p>
1202
+
1203
+ <pre>&lt;/td&gt;
1204
+ &lt;td&gt;
1205
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 175&lt;/span&gt;</pre>
1206
+
1207
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1208
+ identifier rubyid_expressor&#39;&gt;expressor&lt;/span&gt;</p>
1209
+
1210
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@expressor&lt;/span&gt;</pre>
1211
+
1212
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1213
+
1214
+ <pre> &lt;/td&gt;
1215
+ &lt;/tr&gt;</pre>
1216
+
1217
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1218
+
1219
+ <pre> &lt;span id=&quot;expressor_class=-instance_method&quot;&gt;&lt;/span&gt;
1220
+ &lt;div class=&quot;method_details &quot;&gt;
1221
+ &lt;h3 class=&quot;signature &quot; id=&quot;expressor_class-instance_method&quot;&gt;
1222
+
1223
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;expressor_class&lt;/strong&gt;</pre>
1224
+
1225
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1226
+
1227
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1228
+
1229
+ <p>&lt;p&gt;Returns the value of attribute expressor_class&lt;/p&gt;</p>
1230
+
1231
+ <pre>&lt;/div&gt;</pre>
1232
+
1233
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1234
+
1235
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1236
+
1237
+ <pre>&lt;tr&gt;
1238
+ &lt;td&gt;
1239
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1240
+
1241
+ <p>175 176 177&lt;/pre&gt;</p>
1242
+
1243
+ <pre>&lt;/td&gt;
1244
+ &lt;td&gt;
1245
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 175&lt;/span&gt;</pre>
1246
+
1247
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1248
+ identifier rubyid_expressor_class&#39;&gt;expressor_class&lt;/span&gt;</p>
1249
+
1250
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@expressor_class&lt;/span&gt;</pre>
1251
+
1252
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1253
+
1254
+ <pre> &lt;/td&gt;
1255
+ &lt;/tr&gt;</pre>
1256
+
1257
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1258
+
1259
+ <pre> &lt;span id=&quot;fitness_func=-instance_method&quot;&gt;&lt;/span&gt;
1260
+ &lt;div class=&quot;method_details &quot;&gt;
1261
+ &lt;h3 class=&quot;signature &quot; id=&quot;fitness_func-instance_method&quot;&gt;
1262
+
1263
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;fitness_func&lt;/strong&gt;</pre>
1264
+
1265
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1266
+
1267
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1268
+
1269
+ <p>&lt;p&gt;Fitness function that Critters shall be rated on.&lt;/p&gt;</p>
1270
+
1271
+ <pre>&lt;/div&gt;</pre>
1272
+
1273
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1274
+
1275
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1276
+
1277
+ <pre>&lt;tr&gt;
1278
+ &lt;td&gt;
1279
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1280
+
1281
+ <p>190 191 192&lt;/pre&gt;</p>
1282
+
1283
+ <pre>&lt;/td&gt;
1284
+ &lt;td&gt;
1285
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 190&lt;/span&gt;</pre>
1286
+
1287
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1288
+ identifier rubyid_fitness_func&#39;&gt;fitness_func&lt;/span&gt;</p>
1289
+
1290
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@fitness_func&lt;/span&gt;</pre>
1291
+
1292
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1293
+
1294
+ <pre> &lt;/td&gt;
1295
+ &lt;/tr&gt;</pre>
1296
+
1297
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1298
+
1299
+ <pre> &lt;span id=&quot;&quot;&gt;&lt;/span&gt;
1300
+ &lt;div class=&quot;method_details &quot;&gt;
1301
+ &lt;h3 class=&quot;signature &quot; id=&quot;generation_num-instance_method&quot;&gt;
1302
+
1303
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;generation_num&lt;/strong&gt; &lt;span class=&quot;extras&quot;&gt;(readonly)&lt;/span&gt;</pre>
1304
+
1305
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1306
+
1307
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1308
+
1309
+ <p>&lt;p&gt;Current generation count&lt;/p&gt;</p>
1310
+
1311
+ <pre>&lt;/div&gt;</pre>
1312
+
1313
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1314
+
1315
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1316
+
1317
+ <pre>&lt;tr&gt;
1318
+ &lt;td&gt;
1319
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1320
+
1321
+ <p>160 161 162&lt;/pre&gt;</p>
1322
+
1323
+ <pre>&lt;/td&gt;
1324
+ &lt;td&gt;
1325
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 160&lt;/span&gt;</pre>
1326
+
1327
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1328
+ identifier rubyid_generation_num&#39;&gt;generation_num&lt;/span&gt;</p>
1329
+
1330
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@generation_num&lt;/span&gt;</pre>
1331
+
1332
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1333
+
1334
+ <pre> &lt;/td&gt;
1335
+ &lt;/tr&gt;</pre>
1336
+
1337
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1338
+
1339
+ <pre> &lt;span id=&quot;&quot;&gt;&lt;/span&gt;
1340
+ &lt;div class=&quot;method_details &quot;&gt;
1341
+ &lt;h3 class=&quot;signature &quot; id=&quot;glob_innov_num-instance_method&quot;&gt;
1342
+
1343
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;glob_innov_num&lt;/strong&gt; &lt;span class=&quot;extras&quot;&gt;(readonly)&lt;/span&gt;</pre>
1344
+
1345
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1346
+
1347
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1348
+
1349
+ <p>&lt;p&gt;global innovation number&lt;/p&gt;</p>
1350
+
1351
+ <pre>&lt;/div&gt;</pre>
1352
+
1353
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1354
+
1355
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1356
+
1357
+ <pre>&lt;tr&gt;
1358
+ &lt;td&gt;
1359
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1360
+
1361
+ <p>154 155 156&lt;/pre&gt;</p>
1362
+
1363
+ <pre>&lt;/td&gt;
1364
+ &lt;td&gt;
1365
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 154&lt;/span&gt;</pre>
1366
+
1367
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1368
+ identifier rubyid_glob_innov_num&#39;&gt;glob_innov_num&lt;/span&gt;</p>
1369
+
1370
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@glob_innov_num&lt;/span&gt;</pre>
1371
+
1372
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1373
+
1374
+ <pre> &lt;/td&gt;
1375
+ &lt;/tr&gt;</pre>
1376
+
1377
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1378
+
1379
+ <pre> &lt;span id=&quot;&quot;&gt;&lt;/span&gt;
1380
+ &lt;div class=&quot;method_details &quot;&gt;
1381
+ &lt;h3 class=&quot;signature &quot; id=&quot;log-instance_method&quot;&gt;
1382
+
1383
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;log&lt;/strong&gt; &lt;span class=&quot;extras&quot;&gt;(readonly)&lt;/span&gt;</pre>
1384
+
1385
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1386
+
1387
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1388
+
1389
+ <p>&lt;p&gt;Logger object for all of <a
1390
+ href="../../RubyNEAT.html">RubyNEAT</a>&lt;/p&gt;</p>
1391
+
1392
+ <pre>&lt;/div&gt;</pre>
1393
+
1394
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1395
+
1396
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1397
+
1398
+ <pre>&lt;tr&gt;
1399
+ &lt;td&gt;
1400
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1401
+
1402
+ <p>204 205 206&lt;/pre&gt;</p>
1403
+
1404
+ <pre>&lt;/td&gt;
1405
+ &lt;td&gt;
1406
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 204&lt;/span&gt;</pre>
1407
+
1408
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1409
+ identifier rubyid_log&#39;&gt;log&lt;/span&gt;</p>
1410
+
1411
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@log&lt;/span&gt;</pre>
1412
+
1413
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1414
+
1415
+ <pre> &lt;/td&gt;
1416
+ &lt;/tr&gt;</pre>
1417
+
1418
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1419
+
1420
+ <pre> &lt;span id=&quot;neural_hidden=-instance_method&quot;&gt;&lt;/span&gt;
1421
+ &lt;div class=&quot;method_details &quot;&gt;
1422
+ &lt;h3 class=&quot;signature &quot; id=&quot;neural_hidden-instance_method&quot;&gt;
1423
+
1424
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;neural_hidden&lt;/strong&gt;</pre>
1425
+
1426
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1427
+
1428
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1429
+
1430
+ <p>&lt;p&gt;Class map of named input and output neurons (each critter will
1431
+ have instantiations of these) name: InputNeuralClass (usually
1432
+ InputNeuron)&lt;/p&gt;</p>
1433
+
1434
+ <pre>&lt;/div&gt;</pre>
1435
+
1436
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1437
+
1438
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1439
+
1440
+ <pre>&lt;tr&gt;
1441
+ &lt;td&gt;
1442
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1443
+
1444
+ <p>167 168 169&lt;/pre&gt;</p>
1445
+
1446
+ <pre>&lt;/td&gt;
1447
+ &lt;td&gt;
1448
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 167&lt;/span&gt;</pre>
1449
+
1450
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1451
+ identifier rubyid_neural_hidden&#39;&gt;neural_hidden&lt;/span&gt;</p>
1452
+
1453
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@neural_hidden&lt;/span&gt;</pre>
1454
+
1455
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1456
+
1457
+ <pre> &lt;/td&gt;
1458
+ &lt;/tr&gt;</pre>
1459
+
1460
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1461
+
1462
+ <pre> &lt;span id=&quot;neural_inputs=-instance_method&quot;&gt;&lt;/span&gt;
1463
+ &lt;div class=&quot;method_details &quot;&gt;
1464
+ &lt;h3 class=&quot;signature &quot; id=&quot;neural_inputs-instance_method&quot;&gt;
1465
+
1466
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;neural_inputs&lt;/strong&gt;</pre>
1467
+
1468
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1469
+
1470
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1471
+
1472
+ <p>&lt;p&gt;Class map of named input and output neurons (each critter will
1473
+ have instantiations of these) name: InputNeuralClass (usually
1474
+ InputNeuron)&lt;/p&gt;</p>
1475
+
1476
+ <pre>&lt;/div&gt;</pre>
1477
+
1478
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1479
+
1480
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1481
+
1482
+ <pre>&lt;tr&gt;
1483
+ &lt;td&gt;
1484
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1485
+
1486
+ <p>167 168 169&lt;/pre&gt;</p>
1487
+
1488
+ <pre>&lt;/td&gt;
1489
+ &lt;td&gt;
1490
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 167&lt;/span&gt;</pre>
1491
+
1492
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1493
+ identifier rubyid_neural_inputs&#39;&gt;neural_inputs&lt;/span&gt;</p>
1494
+
1495
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@neural_inputs&lt;/span&gt;</pre>
1496
+
1497
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1498
+
1499
+ <pre> &lt;/td&gt;
1500
+ &lt;/tr&gt;</pre>
1501
+
1502
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1503
+
1504
+ <pre> &lt;span id=&quot;neural_outputs=-instance_method&quot;&gt;&lt;/span&gt;
1505
+ &lt;div class=&quot;method_details &quot;&gt;
1506
+ &lt;h3 class=&quot;signature &quot; id=&quot;neural_outputs-instance_method&quot;&gt;
1507
+
1508
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;neural_outputs&lt;/strong&gt;</pre>
1509
+
1510
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1511
+
1512
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1513
+
1514
+ <p>&lt;p&gt;Class map of named input and output neurons (each critter will
1515
+ have instantiations of these) name: InputNeuralClass (usually
1516
+ InputNeuron)&lt;/p&gt;</p>
1517
+
1518
+ <pre>&lt;/div&gt;</pre>
1519
+
1520
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1521
+
1522
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1523
+
1524
+ <pre>&lt;tr&gt;
1525
+ &lt;td&gt;
1526
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1527
+
1528
+ <p>167 168 169&lt;/pre&gt;</p>
1529
+
1530
+ <pre>&lt;/td&gt;
1531
+ &lt;td&gt;
1532
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 167&lt;/span&gt;</pre>
1533
+
1534
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1535
+ identifier rubyid_neural_outputs&#39;&gt;neural_outputs&lt;/span&gt;</p>
1536
+
1537
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@neural_outputs&lt;/span&gt;</pre>
1538
+
1539
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1540
+
1541
+ <pre> &lt;/td&gt;
1542
+ &lt;/tr&gt;</pre>
1543
+
1544
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1545
+
1546
+ <pre> &lt;span id=&quot;neuron_catalog=-instance_method&quot;&gt;&lt;/span&gt;
1547
+ &lt;div class=&quot;method_details &quot;&gt;
1548
+ &lt;h3 class=&quot;signature &quot; id=&quot;neuron_catalog-instance_method&quot;&gt;
1549
+
1550
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;neuron_catalog&lt;/strong&gt;</pre>
1551
+
1552
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1553
+
1554
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1555
+
1556
+ <p>&lt;p&gt;catalog of neurons classes to use { weight =&amp;gt; nclass, …
1557
+ }&lt;/p&gt;</p>
1558
+
1559
+ <pre>&lt;/div&gt;</pre>
1560
+
1561
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1562
+
1563
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1564
+
1565
+ <pre>&lt;tr&gt;
1566
+ &lt;td&gt;
1567
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1568
+
1569
+ <p>163 164 165&lt;/pre&gt;</p>
1570
+
1571
+ <pre>&lt;/td&gt;
1572
+ &lt;td&gt;
1573
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 163&lt;/span&gt;</pre>
1574
+
1575
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1576
+ identifier rubyid_neuron_catalog&#39;&gt;neuron_catalog&lt;/span&gt;</p>
1577
+
1578
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@neuron_catalog&lt;/span&gt;</pre>
1579
+
1580
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1581
+
1582
+ <pre> &lt;/td&gt;
1583
+ &lt;/tr&gt;</pre>
1584
+
1585
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1586
+
1587
+ <pre> &lt;span id=&quot;parms=-instance_method&quot;&gt;&lt;/span&gt;
1588
+ &lt;div class=&quot;method_details &quot;&gt;
1589
+ &lt;h3 class=&quot;signature &quot; id=&quot;parms-instance_method&quot;&gt;
1590
+
1591
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;parms&lt;/strong&gt;</pre>
1592
+
1593
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1594
+
1595
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1596
+
1597
+ <p>&lt;p&gt;Parameters for evolution (NeatParameters)&lt;/p&gt;</p>
1598
+
1599
+ <pre>&lt;/div&gt;</pre>
1600
+
1601
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1602
+
1603
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1604
+
1605
+ <pre>&lt;tr&gt;
1606
+ &lt;td&gt;
1607
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1608
+
1609
+ <p>170 171 172&lt;/pre&gt;</p>
1610
+
1611
+ <pre>&lt;/td&gt;
1612
+ &lt;td&gt;
1613
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 170&lt;/span&gt;</pre>
1614
+
1615
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1616
+ identifier rubyid_parms&#39;&gt;parms&lt;/span&gt;</p>
1617
+
1618
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@parms&lt;/span&gt;</pre>
1619
+
1620
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1621
+
1622
+ <pre> &lt;/td&gt;
1623
+ &lt;/tr&gt;</pre>
1624
+
1625
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1626
+
1627
+ <pre> &lt;span id=&quot;&quot;&gt;&lt;/span&gt;
1628
+ &lt;div class=&quot;method_details &quot;&gt;
1629
+ &lt;h3 class=&quot;signature &quot; id=&quot;population-instance_method&quot;&gt;
1630
+
1631
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;population&lt;/strong&gt; &lt;span class=&quot;extras&quot;&gt;(readonly)&lt;/span&gt;</pre>
1632
+
1633
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1634
+
1635
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1636
+
1637
+ <p>&lt;p&gt;population object and class specification&lt;/p&gt;</p>
1638
+
1639
+ <pre>&lt;/div&gt;</pre>
1640
+
1641
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1642
+
1643
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1644
+
1645
+ <pre>&lt;tr&gt;
1646
+ &lt;td&gt;
1647
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1648
+
1649
+ <p>173 174 175&lt;/pre&gt;</p>
1650
+
1651
+ <pre>&lt;/td&gt;
1652
+ &lt;td&gt;
1653
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 173&lt;/span&gt;</pre>
1654
+
1655
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1656
+ identifier rubyid_population&#39;&gt;population&lt;/span&gt;</p>
1657
+
1658
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;</pre>
1659
+
1660
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1661
+
1662
+ <pre> &lt;/td&gt;
1663
+ &lt;/tr&gt;</pre>
1664
+
1665
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1666
+
1667
+ <pre> &lt;span id=&quot;&quot;&gt;&lt;/span&gt;
1668
+ &lt;div class=&quot;method_details &quot;&gt;
1669
+ &lt;h3 class=&quot;signature &quot; id=&quot;population_class-instance_method&quot;&gt;
1670
+
1671
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;population_class&lt;/strong&gt; &lt;span class=&quot;extras&quot;&gt;(readonly)&lt;/span&gt;</pre>
1672
+
1673
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1674
+
1675
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1676
+
1677
+ <p>&lt;p&gt;population object and class specification&lt;/p&gt;</p>
1678
+
1679
+ <pre>&lt;/div&gt;</pre>
1680
+
1681
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1682
+
1683
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1684
+
1685
+ <pre>&lt;tr&gt;
1686
+ &lt;td&gt;
1687
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1688
+
1689
+ <p>173 174 175&lt;/pre&gt;</p>
1690
+
1691
+ <pre>&lt;/td&gt;
1692
+ &lt;td&gt;
1693
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 173&lt;/span&gt;</pre>
1694
+
1695
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1696
+ identifier rubyid_population_class&#39;&gt;population_class&lt;/span&gt;</p>
1697
+
1698
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@population_class&lt;/span&gt;</pre>
1699
+
1700
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1701
+
1702
+ <pre> &lt;/td&gt;
1703
+ &lt;/tr&gt;</pre>
1704
+
1705
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1706
+
1707
+ <pre> &lt;span id=&quot;&quot;&gt;&lt;/span&gt;
1708
+ &lt;div class=&quot;method_details &quot;&gt;
1709
+ &lt;h3 class=&quot;signature &quot; id=&quot;population_history-instance_method&quot;&gt;
1710
+
1711
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;population_history&lt;/strong&gt; &lt;span class=&quot;extras&quot;&gt;(readonly)&lt;/span&gt;</pre>
1712
+
1713
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1714
+
1715
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1716
+
1717
+ <p>&lt;p&gt;population object and class specification&lt;/p&gt;</p>
1718
+
1719
+ <pre>&lt;/div&gt;</pre>
1720
+
1721
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1722
+
1723
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1724
+
1725
+ <pre>&lt;tr&gt;
1726
+ &lt;td&gt;
1727
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1728
+
1729
+ <p>173 174 175&lt;/pre&gt;</p>
1730
+
1731
+ <pre>&lt;/td&gt;
1732
+ &lt;td&gt;
1733
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 173&lt;/span&gt;</pre>
1734
+
1735
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1736
+ identifier
1737
+ rubyid_population_history&#39;&gt;population_history&lt;/span&gt;</p>
1738
+
1739
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@population_history&lt;/span&gt;</pre>
1740
+
1741
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1742
+
1743
+ <pre> &lt;/td&gt;
1744
+ &lt;/tr&gt;</pre>
1745
+
1746
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1747
+
1748
+ <pre> &lt;span id=&quot;query_func=-instance_method&quot;&gt;&lt;/span&gt;
1749
+ &lt;div class=&quot;method_details &quot;&gt;
1750
+ &lt;h3 class=&quot;signature &quot; id=&quot;query_func-instance_method&quot;&gt;
1751
+
1752
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;query_func&lt;/strong&gt;</pre>
1753
+
1754
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1755
+
1756
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1757
+
1758
+ <p>&lt;p&gt;Query function that Critters shall call.&lt;/p&gt;</p>
1759
+
1760
+ <pre>&lt;/div&gt;</pre>
1761
+
1762
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1763
+
1764
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1765
+
1766
+ <pre>&lt;tr&gt;
1767
+ &lt;td&gt;
1768
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1769
+
1770
+ <p>187 188 189&lt;/pre&gt;</p>
1771
+
1772
+ <pre>&lt;/td&gt;
1773
+ &lt;td&gt;
1774
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 187&lt;/span&gt;</pre>
1775
+
1776
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1777
+ identifier rubyid_query_func&#39;&gt;query_func&lt;/span&gt;</p>
1778
+
1779
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@query_func&lt;/span&gt;</pre>
1780
+
1781
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1782
+
1783
+ <pre> &lt;/td&gt;
1784
+ &lt;/tr&gt;</pre>
1785
+
1786
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1787
+
1788
+ <pre> &lt;span id=&quot;recurrence_func=-instance_method&quot;&gt;&lt;/span&gt;
1789
+ &lt;div class=&quot;method_details &quot;&gt;
1790
+ &lt;h3 class=&quot;signature &quot; id=&quot;recurrence_func-instance_method&quot;&gt;
1791
+
1792
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;recurrence_func&lt;/strong&gt;</pre>
1793
+
1794
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1795
+
1796
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1797
+
1798
+ <p>&lt;p&gt;Recurrence function that Critters will yield to.&lt;/p&gt;</p>
1799
+
1800
+ <pre>&lt;/div&gt;</pre>
1801
+
1802
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1803
+
1804
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1805
+
1806
+ <pre>&lt;tr&gt;
1807
+ &lt;td&gt;
1808
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1809
+
1810
+ <p>193 194 195&lt;/pre&gt;</p>
1811
+
1812
+ <pre>&lt;/td&gt;
1813
+ &lt;td&gt;
1814
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 193&lt;/span&gt;</pre>
1815
+
1816
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1817
+ identifier rubyid_recurrence_func&#39;&gt;recurrence_func&lt;/span&gt;</p>
1818
+
1819
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@recurrence_func&lt;/span&gt;</pre>
1820
+
1821
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1822
+
1823
+ <pre> &lt;/td&gt;
1824
+ &lt;/tr&gt;</pre>
1825
+
1826
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1827
+
1828
+ <pre> &lt;span id=&quot;report_hook=-instance_method&quot;&gt;&lt;/span&gt;
1829
+ &lt;div class=&quot;method_details &quot;&gt;
1830
+ &lt;h3 class=&quot;signature &quot; id=&quot;report_hook-instance_method&quot;&gt;
1831
+
1832
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;report_hook&lt;/strong&gt;</pre>
1833
+
1834
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1835
+
1836
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1837
+
1838
+ <p>&lt;p&gt;End run function to call at the end of each generational run Also
1839
+ report_hook to dump reports for the user, etc.&lt;/p&gt;</p>
1840
+
1841
+ <pre>&lt;/div&gt;</pre>
1842
+
1843
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1844
+
1845
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1846
+
1847
+ <pre>&lt;tr&gt;
1848
+ &lt;td&gt;
1849
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1850
+
1851
+ <p>201 202 203&lt;/pre&gt;</p>
1852
+
1853
+ <pre>&lt;/td&gt;
1854
+ &lt;td&gt;
1855
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 201&lt;/span&gt;</pre>
1856
+
1857
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1858
+ identifier rubyid_report_hook&#39;&gt;report_hook&lt;/span&gt;</p>
1859
+
1860
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@report_hook&lt;/span&gt;</pre>
1861
+
1862
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1863
+
1864
+ <pre> &lt;/td&gt;
1865
+ &lt;/tr&gt;</pre>
1866
+
1867
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1868
+
1869
+ <pre> &lt;span id=&quot;&quot;&gt;&lt;/span&gt;
1870
+ &lt;div class=&quot;method_details &quot;&gt;
1871
+ &lt;h3 class=&quot;signature &quot; id=&quot;seq_num-instance_method&quot;&gt;
1872
+
1873
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;seq_num&lt;/strong&gt; &lt;span class=&quot;extras&quot;&gt;(readonly)&lt;/span&gt;</pre>
1874
+
1875
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1876
+
1877
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1878
+
1879
+ <p>&lt;p&gt;current sequence number being evaluated&lt;/p&gt;</p>
1880
+
1881
+ <pre>&lt;/div&gt;</pre>
1882
+
1883
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1884
+
1885
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1886
+
1887
+ <pre>&lt;tr&gt;
1888
+ &lt;td&gt;
1889
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1890
+
1891
+ <p>157 158 159&lt;/pre&gt;</p>
1892
+
1893
+ <pre>&lt;/td&gt;
1894
+ &lt;td&gt;
1895
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 157&lt;/span&gt;</pre>
1896
+
1897
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1898
+ identifier rubyid_seq_num&#39;&gt;seq_num&lt;/span&gt;</p>
1899
+
1900
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@seq_num&lt;/span&gt;</pre>
1901
+
1902
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1903
+
1904
+ <pre> &lt;/td&gt;
1905
+ &lt;/tr&gt;</pre>
1906
+
1907
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1908
+
1909
+ <pre> &lt;span id=&quot;stop_on_fit_func=-instance_method&quot;&gt;&lt;/span&gt;
1910
+ &lt;div class=&quot;method_details &quot;&gt;
1911
+ &lt;h3 class=&quot;signature &quot; id=&quot;stop_on_fit_func-instance_method&quot;&gt;
1912
+
1913
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;stop_on_fit_func&lt;/strong&gt;</pre>
1914
+
1915
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1916
+
1917
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1918
+
1919
+ <p>&lt;p&gt;Compare function for fitness Cost function for integrating in the
1920
+ cost to the fitness scalar.&lt;/p&gt;</p>
1921
+
1922
+ <pre>&lt;/div&gt;</pre>
1923
+
1924
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1925
+
1926
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1927
+
1928
+ <pre>&lt;tr&gt;
1929
+ &lt;td&gt;
1930
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1931
+
1932
+ <p>197 198 199&lt;/pre&gt;</p>
1933
+
1934
+ <pre>&lt;/td&gt;
1935
+ &lt;td&gt;
1936
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 197&lt;/span&gt;</pre>
1937
+
1938
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1939
+ identifier rubyid_stop_on_fit_func&#39;&gt;stop_on_fit_func&lt;/span&gt;</p>
1940
+
1941
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@stop_on_fit_func&lt;/span&gt;</pre>
1942
+
1943
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1944
+
1945
+ <pre> &lt;/td&gt;
1946
+ &lt;/tr&gt;</pre>
1947
+
1948
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1949
+
1950
+ <pre> &lt;span id=&quot;verbosity=-instance_method&quot;&gt;&lt;/span&gt;
1951
+ &lt;div class=&quot;method_details &quot;&gt;
1952
+ &lt;h3 class=&quot;signature &quot; id=&quot;verbosity-instance_method&quot;&gt;
1953
+
1954
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;verbosity&lt;/strong&gt;</pre>
1955
+
1956
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
1957
+
1958
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
1959
+
1960
+ <p>&lt;p&gt;Global verbosity level: 1 - normal (the default) 2 - really
1961
+ verbose 3 - maximally verbose Use in conjunction with log.debug&lt;/p&gt;</p>
1962
+
1963
+ <pre>&lt;/div&gt;</pre>
1964
+
1965
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
1966
+
1967
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
1968
+
1969
+ <pre>&lt;tr&gt;
1970
+ &lt;td&gt;
1971
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
1972
+
1973
+ <p>184 185 186&lt;/pre&gt;</p>
1974
+
1975
+ <pre>&lt;/td&gt;
1976
+ &lt;td&gt;
1977
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 184&lt;/span&gt;</pre>
1978
+
1979
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
1980
+ identifier rubyid_verbosity&#39;&gt;verbosity&lt;/span&gt;</p>
1981
+
1982
+ <pre>&lt;span class=&#39;ivar&#39;&gt;@verbosity&lt;/span&gt;</pre>
1983
+
1984
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
1985
+
1986
+ <pre> &lt;/td&gt;
1987
+ &lt;/tr&gt;</pre>
1988
+
1989
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
1990
+
1991
+ <pre>&lt;/div&gt;
1992
+
1993
+ &lt;div id=&quot;instance_method_details&quot; class=&quot;method_details_list&quot;&gt;
1994
+ &lt;h2&gt;Instance Method Details&lt;/h2&gt;
1995
+
1996
+ &lt;div class=&quot;method_details first&quot;&gt;
1997
+ &lt;h3 class=&quot;signature first&quot; id=&quot;gaussian-instance_method&quot;&gt;
1998
+
1999
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;gaussian&lt;/strong&gt;</pre>
2000
+
2001
+ <p>&lt;/h3&gt;&lt;table class=“source_code”&gt;</p>
2002
+
2003
+ <pre>&lt;tr&gt;
2004
+ &lt;td&gt;
2005
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
2006
+
2007
+ <p>368&lt;/pre&gt;</p>
2008
+
2009
+ <pre>&lt;/td&gt;
2010
+ &lt;td&gt;
2011
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 368&lt;/span&gt;</pre>
2012
+
2013
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
2014
+ identifier rubyid_gaussian&#39;&gt;gaussian&lt;/span&gt; &lt;span
2015
+ class=&#39;semicolon&#39;&gt;;&lt;/span&gt; &lt;span
2016
+ class=&#39;ivar&#39;&gt;@gaussian&lt;/span&gt;&lt;span
2017
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span
2018
+ class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span
2019
+ class=&#39;rparen&#39;&gt;)&lt;/span&gt; &lt;span
2020
+ class=&#39;semicolon&#39;&gt;;&lt;/span&gt; &lt;span
2021
+ class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
2022
+
2023
+ <pre> &lt;/td&gt;
2024
+ &lt;/tr&gt;</pre>
2025
+
2026
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
2027
+
2028
+ <pre> &lt;div class=&quot;method_details &quot;&gt;
2029
+ &lt;h3 class=&quot;signature &quot; id=&quot;new_innovation-instance_method&quot;&gt;
2030
+
2031
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;new_innovation&lt;/strong&gt;</pre>
2032
+
2033
+ <p>&lt;/h3&gt;&lt;table class=“source_code”&gt;</p>
2034
+
2035
+ <pre>&lt;tr&gt;
2036
+ &lt;td&gt;
2037
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
2038
+
2039
+ <p>367&lt;/pre&gt;</p>
2040
+
2041
+ <pre>&lt;/td&gt;
2042
+ &lt;td&gt;
2043
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 367&lt;/span&gt;</pre>
2044
+
2045
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
2046
+ identifier rubyid_new_innovation&#39;&gt;new_innovation&lt;/span&gt;
2047
+ &lt;span class=&#39;semicolon&#39;&gt;;&lt;/span&gt; &lt;span
2048
+ class=&#39;ivar&#39;&gt;@glob_innov_num&lt;/span&gt; &lt;span
2049
+ class=&#39;op&#39;&gt;+=&lt;/span&gt; &lt;span
2050
+ class=&#39;int&#39;&gt;1&lt;/span&gt;&lt;span
2051
+ class=&#39;semicolon&#39;&gt;;&lt;/span&gt; &lt;span
2052
+ class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
2053
+
2054
+ <pre> &lt;/td&gt;
2055
+ &lt;/tr&gt;</pre>
2056
+
2057
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
2058
+
2059
+ <pre> &lt;div class=&quot;method_details &quot;&gt;
2060
+ &lt;h3 class=&quot;signature &quot; id=&quot;run-instance_method&quot;&gt;
2061
+
2062
+ - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;run&lt;/strong&gt;</pre>
2063
+
2064
+ <p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>
2065
+
2066
+ <pre>&lt;div class=&quot;discussion&quot;&gt;</pre>
2067
+
2068
+ <p>&lt;p&gt;Run this evolution.&lt;/p&gt;</p>
2069
+
2070
+ <pre>&lt;/div&gt;</pre>
2071
+
2072
+ <p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>
2073
+
2074
+ <p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>
2075
+
2076
+ <pre>&lt;tr&gt;
2077
+ &lt;td&gt;
2078
+ &lt;pre class=&quot;lines&quot;&gt;</pre>
2079
+
2080
+ <p>371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
2081
+ 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408
2082
+ 409 410 411&lt;/pre&gt;</p>
2083
+
2084
+ <pre>&lt;/td&gt;
2085
+ &lt;td&gt;
2086
+ &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/rubyneat.rb&#39;, line 371&lt;/span&gt;</pre>
2087
+
2088
+ <p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
2089
+ identifier rubyid_run&#39;&gt;run&lt;/span&gt;</p>
2090
+
2091
+ <pre>&lt;span class=&#39;id identifier rubyid_pre_run_initialize&#39;&gt;pre_run_initialize&lt;/span&gt;
2092
+ &lt;span class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;int&#39;&gt;1&lt;/span&gt;&lt;span class=&#39;op&#39;&gt;..&lt;/span&gt;&lt;span class=&#39;ivar&#39;&gt;@parms&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_max_generations&#39;&gt;max_generations&lt;/span&gt;&lt;span class=&#39;rparen&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_each&#39;&gt;each&lt;/span&gt; &lt;span class=&#39;kw&#39;&gt;do&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;|&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_gen_number&#39;&gt;gen_number&lt;/span&gt;&lt;span class=&#39;op&#39;&gt;|&lt;/span&gt;
2093
+ &lt;span class=&#39;ivar&#39;&gt;@generation_num&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;id identifier rubyid_gen_number&#39;&gt;gen_number&lt;/span&gt;
2094
+ &lt;span class=&#39;ivar&#39;&gt;@population_history&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class=&#39;kw&#39;&gt;unless&lt;/span&gt; &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_nil?&#39;&gt;nil?&lt;/span&gt;
2095
+ &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;
2096
+ &lt;span class=&#39;kw&#39;&gt;else&lt;/span&gt;
2097
+ &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;ivar&#39;&gt;@population_class&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_new&#39;&gt;new&lt;/span&gt;&lt;span class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;kw&#39;&gt;self&lt;/span&gt;&lt;span class=&#39;rparen&#39;&gt;)&lt;/span&gt;
2098
+ &lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;
2099
+ &lt;span class=&#39;ivar&#39;&gt;@population_history&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_shift&#39;&gt;shift&lt;/span&gt; &lt;span class=&#39;kw&#39;&gt;unless&lt;/span&gt; &lt;span class=&#39;ivar&#39;&gt;@population_history&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_size&#39;&gt;size&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&#39;ivar&#39;&gt;@parms&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_max_population_history&#39;&gt;max_population_history&lt;/span&gt;
2100
+ &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_mutate!&#39;&gt;mutate!&lt;/span&gt;
2101
+ &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_express!&#39;&gt;express!&lt;/span&gt;
2102
+
2103
+ &lt;span class=&#39;comment&#39;&gt;## Evaluate population</pre>
2104
+
2105
+ <p>&lt;/span&gt; &lt;span
2106
+ class=&#39;ivar&#39;&gt;@evaluator&lt;/span&gt;&lt;span
2107
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier
2108
+ rubyid_ready_for_evaluation&#39;&gt;ready_for_evaluation&lt;/span&gt;
2109
+ &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;</p>
2110
+
2111
+ <pre>&lt;span class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;ivar&#39;&gt;@parms&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_start_sequence_at&#39;&gt;start_sequence_at&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;..&lt;/span&gt; &lt;span class=&#39;ivar&#39;&gt;@parms&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_end_sequence_at&#39;&gt;end_sequence_at&lt;/span&gt;&lt;span class=&#39;rparen&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_each&#39;&gt;each&lt;/span&gt; &lt;span class=&#39;kw&#39;&gt;do&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;|&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_snum&#39;&gt;snum&lt;/span&gt;&lt;span class=&#39;op&#39;&gt;|&lt;/span&gt;
2112
+ &lt;span class=&#39;ivar&#39;&gt;@seq_num&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;id identifier rubyid_snum&#39;&gt;snum&lt;/span&gt;
2113
+ &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_evaluate!&#39;&gt;evaluate!&lt;/span&gt;
2114
+ &lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;
2115
+
2116
+ &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_analyze!&#39;&gt;analyze!&lt;/span&gt;
2117
+ &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_speciate!&#39;&gt;speciate!&lt;/span&gt;
2118
+
2119
+ &lt;span class=&#39;gvar&#39;&gt;$log&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_debug&#39;&gt;debug&lt;/span&gt; &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_dump_s&#39;&gt;dump_s&lt;/span&gt; &lt;span class=&#39;kw&#39;&gt;unless&lt;/span&gt; &lt;span class=&#39;ivar&#39;&gt;@verbosity&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&#39;int&#39;&gt;3&lt;/span&gt;
2120
+
2121
+ &lt;span class=&#39;id identifier rubyid_new_pop&#39;&gt;new_pop&lt;/span&gt; &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_evolve&#39;&gt;evolve&lt;/span&gt;
2122
+
2123
+ &lt;span class=&#39;comment&#39;&gt;## Report hook for evaluation</pre>
2124
+
2125
+ <p>&lt;/span&gt; &lt;span
2126
+ class=&#39;ivar&#39;&gt;@report_hook&lt;/span&gt;&lt;span
2127
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span
2128
+ class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span
2129
+ class=&#39;ivar&#39;&gt;@population&lt;/span&gt;&lt;span
2130
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier
2131
+ rubyid_report&#39;&gt;report&lt;/span&gt;&lt;span
2132
+ class=&#39;rparen&#39;&gt;)&lt;/span&gt; &lt;span
2133
+ class=&#39;kw&#39;&gt;unless&lt;/span&gt; &lt;span
2134
+ class=&#39;ivar&#39;&gt;@report_hook&lt;/span&gt;&lt;span
2135
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier
2136
+ rubyid_nil?&#39;&gt;nil?&lt;/span&gt;</p>
2137
+
2138
+ <pre>&lt;span class=&#39;comment&#39;&gt;## Exit if fitness criteria is reached</pre>
2139
+
2140
+ <p>&lt;/span&gt; &lt;span class=&#39;comment&#39;&gt;#FIXME handle this
2141
+ exit condition better!!!!! &lt;/span&gt; &lt;span class=&#39;id
2142
+ identifier rubyid_exit&#39;&gt;exit&lt;/span&gt; &lt;span
2143
+ class=&#39;kw&#39;&gt;if&lt;/span&gt; &lt;span
2144
+ class=&#39;ivar&#39;&gt;@stop_on_fit_func&lt;/span&gt;&lt;span
2145
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span
2146
+ class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span
2147
+ class=&#39;ivar&#39;&gt;@population&lt;/span&gt;&lt;span
2148
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier
2149
+ rubyid_report&#39;&gt;report&lt;/span&gt;&lt;span
2150
+ class=&#39;lbracket&#39;&gt;[&lt;/span&gt;&lt;span
2151
+ class=&#39;symbol&#39;&gt;:fitness&lt;/span&gt;&lt;span
2152
+ class=&#39;rbracket&#39;&gt;]&lt;/span&gt;&lt;span
2153
+ class=&#39;comma&#39;&gt;,&lt;/span&gt; &lt;span
2154
+ class=&#39;kw&#39;&gt;self&lt;/span&gt;&lt;span
2155
+ class=&#39;rparen&#39;&gt;)&lt;/span&gt; &lt;span
2156
+ class=&#39;kw&#39;&gt;unless&lt;/span&gt; &lt;span
2157
+ class=&#39;ivar&#39;&gt;@stop_on_fit_func&lt;/span&gt;&lt;span
2158
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier
2159
+ rubyid_nil?&#39;&gt;nil?&lt;/span&gt;</p>
2160
+
2161
+ <pre>&lt;span class=&#39;comment&#39;&gt;## Evolve population</pre>
2162
+
2163
+ <p>&lt;/span&gt; &lt;span class=&#39;ivar&#39;&gt;@population&lt;/span&gt;
2164
+ &lt;span class=&#39;op&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;id
2165
+ identifier rubyid_new_pop&#39;&gt;new_pop&lt;/span&gt;</p>
2166
+
2167
+ <pre>&lt;span class=&#39;comment&#39;&gt;## Finish up this run</pre>
2168
+
2169
+ <p>&lt;/span&gt; &lt;span
2170
+ class=&#39;ivar&#39;&gt;@end_run_func&lt;/span&gt;&lt;span
2171
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span
2172
+ class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span
2173
+ class=&#39;kw&#39;&gt;self&lt;/span&gt;&lt;span
2174
+ class=&#39;rparen&#39;&gt;)&lt;/span&gt; &lt;span
2175
+ class=&#39;kw&#39;&gt;unless&lt;/span&gt; &lt;span
2176
+ class=&#39;ivar&#39;&gt;@end_run_func&lt;/span&gt;&lt;span
2177
+ class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier
2178
+ rubyid_nil?&#39;&gt;nil?&lt;/span&gt;</p>
2179
+
2180
+ <pre>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;</pre>
2181
+
2182
+ <p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
2183
+
2184
+ <pre> &lt;/td&gt;
2185
+ &lt;/tr&gt;</pre>
2186
+
2187
+ <p>&lt;/table&gt; &lt;/div&gt;</p>
2188
+
2189
+ <pre>&lt;/div&gt;</pre>
2190
+
2191
+ <p>&lt;/div&gt;</p>
2192
+
2193
+ <pre> &lt;div id=&quot;footer&quot;&gt;
2194
+ Generated on Sun Mar 16 16:36:52 2014 by
2195
+ &lt;a href=&quot;http://yardoc.org&quot; title=&quot;Yay! A Ruby Documentation Tool&quot; target=&quot;_parent&quot;&gt;yard&lt;/a&gt;
2196
+ 0.8.7.3 (ruby-2.1.1).</pre>
2197
+
2198
+ <p>&lt;/div&gt;</p>
2199
+
2200
+ <pre>&lt;/body&gt;</pre>
2201
+
2202
+ <p>&lt;/html&gt;</p>
2203
+ </main>
2204
+
2205
+
2206
+
2207
+ <footer id="validator-badges" role="contentinfo">
2208
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
2209
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
2210
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
2211
+ </footer>
2212
+