rubyneat 0.3.5.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.directory +4 -0
- data/.gitignore.orig +20 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/dictionaries/trader.xml +3 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +5 -0
- data/.idea/modules.xml +9 -0
- data/.idea/rubyneat.iml +197 -0
- data/.idea/runConfigurations/invpend_neat.xml +26 -0
- data/.idea/runConfigurations/sigdebug_neat.xml +24 -0
- data/.idea/runConfigurations/xor_neat.xml +26 -0
- data/.idea/runConfigurations/xordebug_neat.xml +24 -0
- data/.idea/runConfigurations/xorsin_neat.xml +24 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/vcs.xml +7 -0
- data/.idea/workspace.xml +1124 -0
- data/.semver +5 -0
- data/.yardoc/checksums +11 -0
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/Gemfile +32 -0
- data/Gemfile.lock +135 -0
- data/Gemfile.lock.orig +147 -0
- data/Guardfile +8 -0
- data/Rakefile +61 -0
- data/bin/neat +83 -0
- data/config/application.rb +5 -0
- data/doc/ControllerPoint.html +125 -0
- data/doc/CuteA.html +286 -0
- data/doc/CuteB.html +297 -0
- data/doc/DSL.html +883 -0
- data/doc/NEAT/BasicNeuronTypes/BiasNeuron.html +518 -0
- data/doc/NEAT/BasicNeuronTypes/CosineNeuron.html +274 -0
- data/doc/NEAT/BasicNeuronTypes/InputNeuron.html +366 -0
- data/doc/NEAT/BasicNeuronTypes/SigmoidNeuron.html +275 -0
- data/doc/NEAT/BasicNeuronTypes/SineNeuron.html +274 -0
- data/doc/NEAT/BasicNeuronTypes/TanhNeuron.html +274 -0
- data/doc/NEAT/BasicNeuronTypes.html +136 -0
- data/doc/NEAT/Controller/NeatSettings.html +3985 -0
- data/doc/NEAT/Controller.html +2490 -0
- data/doc/NEAT/Critter/Genotype/Gene.html +979 -0
- data/doc/NEAT/Critter/Genotype.html +1601 -0
- data/doc/NEAT/Critter/Phenotype.html +603 -0
- data/doc/NEAT/Critter.html +1037 -0
- data/doc/NEAT/DSL.html +1255 -0
- data/doc/NEAT/Evaluator.html +420 -0
- data/doc/NEAT/Evolver/CritterOp.html +551 -0
- data/doc/NEAT/Evolver.html +602 -0
- data/doc/NEAT/Expressor.html +327 -0
- data/doc/NEAT/Graph/DependencyResolver.html +478 -0
- data/doc/NEAT/Graph/GraphException.html +123 -0
- data/doc/NEAT/Graph.html +402 -0
- data/doc/NEAT/NeatException.html +123 -0
- data/doc/NEAT/NeatOb.html +567 -0
- data/doc/NEAT/Neuron.html +1067 -0
- data/doc/NEAT/Operator.html +162 -0
- data/doc/NEAT/Population.html +1961 -0
- data/doc/NEAT/Trait.html +169 -0
- data/doc/NEAT.html +588 -0
- data/doc/_index.html +373 -0
- data/doc/class_list.html +54 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file_list.html +53 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +373 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +1415 -0
- data/doc/top-level-namespace.html +164 -0
- data/foo/foo_aquarium_example.rb +38 -0
- data/foo/foo_gosu.rb +99 -0
- data/foo/foo_rubygoo.rb +104 -0
- data/foo/foo_sdl.rb +34 -0
- data/foo/icon.png +0 -0
- data/lib/rubyneat/critter.rb +374 -0
- data/lib/rubyneat/default_neat.rb +10 -0
- data/lib/rubyneat/dsl.rb +130 -0
- data/lib/rubyneat/evaluator.rb +51 -0
- data/lib/rubyneat/evolver.rb +315 -0
- data/lib/rubyneat/expressor.rb +110 -0
- data/lib/rubyneat/graph.rb +95 -0
- data/lib/rubyneat/neuron.rb +152 -0
- data/lib/rubyneat/population.rb +227 -0
- data/lib/rubyneat/rubyneat.rb +429 -0
- data/lib/rubyneat.rb +8 -0
- data/neater/invpend_neat.rb +150 -0
- data/neater/rnlib/inverted_pendulum.rb +380 -0
- data/neater/rnlib/xor.rb +10 -0
- data/neater/sigdebug_neat.rb +136 -0
- data/neater/xor_neat.rb +137 -0
- data/neater/xoranalog_neat.rb +138 -0
- data/neater/xorsin_neat.rb +143 -0
- data/projectFilesBackup/.idea/rubyneat.iml +180 -0
- data/public/.directory +4 -0
- data/public/background.png +0 -0
- data/public/background.xcf +0 -0
- data/public/cart.png +0 -0
- data/public/cart.xcf +0 -0
- data/public/metalpoles_molton_ball_l.jpg +0 -0
- data/public/old_background.png +0 -0
- data/public/pointer.png +0 -0
- data/public/pointer.xcf +0 -0
- data/public/pole.kra +0 -0
- data/public/pole.png +0 -0
- data/public/pole.xcf +0 -0
- data/public/wheel-of-year-stone-DD-131-WOYS.jpg +0 -0
- data/public/wheel.png +0 -0
- data/public/wheel.xcf +0 -0
- data/public/wood-planks-texture.jpg +0 -0
- data/rdoc/ControllerPoint.html +116 -0
- data/rdoc/CuteA.html +177 -0
- data/rdoc/CuteB.html +178 -0
- data/rdoc/DSLSetup.html +177 -0
- data/rdoc/GameTestWindow.html +242 -0
- data/rdoc/GameWindow.html +292 -0
- data/rdoc/Gemfile.html +215 -0
- data/rdoc/Gemfile_lock.html +327 -0
- data/rdoc/GraphTest.html +210 -0
- data/rdoc/Guardfile.html +198 -0
- data/rdoc/InvertedPendulum/Cart.html +668 -0
- data/rdoc/InvertedPendulum/DSL.html +259 -0
- data/rdoc/InvertedPendulum/InvPendWindow.html +402 -0
- data/rdoc/InvertedPendulum.html +198 -0
- data/rdoc/Logger.html +98 -0
- data/rdoc/NEAT/BasicNeuronTypes/BiasNeuron.html +265 -0
- data/rdoc/NEAT/BasicNeuronTypes/CosineNeuron.html +162 -0
- data/rdoc/NEAT/BasicNeuronTypes/InputNeuron.html +206 -0
- data/rdoc/NEAT/BasicNeuronTypes/SigmoidNeuron.html +162 -0
- data/rdoc/NEAT/BasicNeuronTypes/SineNeuron.html +162 -0
- data/rdoc/NEAT/BasicNeuronTypes/TanhNeuron.html +161 -0
- data/rdoc/NEAT/BasicNeuronTypes.html +107 -0
- data/rdoc/NEAT/Controller/NeatSettings.html +880 -0
- data/rdoc/NEAT/Controller.html +729 -0
- data/rdoc/NEAT/Critter/Genotype/Gene.html +457 -0
- data/rdoc/NEAT/Critter/Genotype.html +735 -0
- data/rdoc/NEAT/Critter/Phenotype.html +330 -0
- data/rdoc/NEAT/Critter.html +489 -0
- data/rdoc/NEAT/DSL.html +729 -0
- data/rdoc/NEAT/Evaluator.html +256 -0
- data/rdoc/NEAT/Evolver/CritterOp.html +349 -0
- data/rdoc/NEAT/Evolver.html +891 -0
- data/rdoc/NEAT/Expressor.html +402 -0
- data/rdoc/NEAT/Graph/DependencyResolver.html +291 -0
- data/rdoc/NEAT/Graph/GraphException.html +105 -0
- data/rdoc/NEAT/Graph.html +263 -0
- data/rdoc/NEAT/NeatException.html +105 -0
- data/rdoc/NEAT/NeatOb.html +325 -0
- data/rdoc/NEAT/Neuron.html +481 -0
- data/rdoc/NEAT/Operator.html +109 -0
- data/rdoc/NEAT/Population.html +935 -0
- data/rdoc/NEAT/Trait.html +117 -0
- data/rdoc/NEAT.html +422 -0
- data/rdoc/Object.html +384 -0
- data/rdoc/Phi.html +98 -0
- data/rdoc/Player.html +383 -0
- data/rdoc/Rakefile.html +254 -0
- data/rdoc/RubyNEAT/Application.html +105 -0
- data/rdoc/RubyNEAT.html +98 -0
- data/rdoc/SDL/Event2.html +98 -0
- data/rdoc/SDL.html +98 -0
- data/rdoc/Vector.html +195 -0
- data/rdoc/created.rid +125 -0
- data/rdoc/doc/ControllerPoint_html.html +299 -0
- data/rdoc/doc/CuteA_html.html +438 -0
- data/rdoc/doc/CuteB_html.html +436 -0
- data/rdoc/doc/DSL_html.html +992 -0
- data/rdoc/doc/NEAT/BasicNeuronTypes/BiasNeuron_html.html +617 -0
- data/rdoc/doc/NEAT/BasicNeuronTypes/CosineNeuron_html.html +413 -0
- data/rdoc/doc/NEAT/BasicNeuronTypes/InputNeuron_html.html +498 -0
- data/rdoc/doc/NEAT/BasicNeuronTypes/SigmoidNeuron_html.html +413 -0
- data/rdoc/doc/NEAT/BasicNeuronTypes/SineNeuron_html.html +413 -0
- data/rdoc/doc/NEAT/BasicNeuronTypes/TanhNeuron_html.html +412 -0
- data/rdoc/doc/NEAT/BasicNeuronTypes_html.html +310 -0
- data/rdoc/doc/NEAT/Controller/NeatSettings_html.html +3324 -0
- data/rdoc/doc/NEAT/Controller_html.html +2212 -0
- data/rdoc/doc/NEAT/Critter/Genotype/Gene_html.html +997 -0
- data/rdoc/doc/NEAT/Critter/Genotype_html.html +1556 -0
- data/rdoc/doc/NEAT/Critter/Phenotype_html.html +687 -0
- data/rdoc/doc/NEAT/Critter_html.html +1037 -0
- data/rdoc/doc/NEAT/DSL_html.html +1349 -0
- data/rdoc/doc/NEAT/Evaluator_html.html +556 -0
- data/rdoc/doc/NEAT/Evolver/CritterOp_html.html +690 -0
- data/rdoc/doc/NEAT/Evolver_html.html +677 -0
- data/rdoc/doc/NEAT/Expressor_html.html +468 -0
- data/rdoc/doc/NEAT/Graph/DependencyResolver_html.html +598 -0
- data/rdoc/doc/NEAT/Graph/GraphException_html.html +299 -0
- data/rdoc/doc/NEAT/Graph_html.html +527 -0
- data/rdoc/doc/NEAT/NeatException_html.html +299 -0
- data/rdoc/doc/NEAT/NeatOb_html.html +671 -0
- data/rdoc/doc/NEAT/Neuron_html.html +1095 -0
- data/rdoc/doc/NEAT/Operator_html.html +337 -0
- data/rdoc/doc/NEAT/Population_html.html +1795 -0
- data/rdoc/doc/NEAT/Trait_html.html +344 -0
- data/rdoc/doc/NEAT_html.html +736 -0
- data/rdoc/doc/_index_html.html +559 -0
- data/rdoc/doc/class_list_html.html +369 -0
- data/rdoc/doc/css/common_css.html +188 -0
- data/rdoc/doc/css/full_list_css.html +243 -0
- data/rdoc/doc/css/style_css.html +530 -0
- data/rdoc/doc/file_list_html.html +240 -0
- data/rdoc/doc/frames_html.html +217 -0
- data/rdoc/doc/index_html.html +559 -0
- data/rdoc/doc/js/app_js.html +423 -0
- data/rdoc/doc/js/full_list_js.html +372 -0
- data/rdoc/doc/js/jquery_js.html +1536 -0
- data/rdoc/doc/method_list_html.html +1375 -0
- data/rdoc/doc/top-level-namespace_html.html +317 -0
- data/rdoc/fonts/Lato-Light.ttf +0 -0
- data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
- data/rdoc/fonts/Lato-Regular.ttf +0 -0
- data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/rdoc/fonts.css +167 -0
- data/rdoc/images/add.png +0 -0
- data/rdoc/images/arrow_up.png +0 -0
- data/rdoc/images/brick.png +0 -0
- data/rdoc/images/brick_link.png +0 -0
- data/rdoc/images/bug.png +0 -0
- data/rdoc/images/bullet_black.png +0 -0
- data/rdoc/images/bullet_toggle_minus.png +0 -0
- data/rdoc/images/bullet_toggle_plus.png +0 -0
- data/rdoc/images/date.png +0 -0
- data/rdoc/images/delete.png +0 -0
- data/rdoc/images/find.png +0 -0
- data/rdoc/images/loadingAnimation.gif +0 -0
- data/rdoc/images/macFFBgHack.png +0 -0
- data/rdoc/images/package.png +0 -0
- data/rdoc/images/page_green.png +0 -0
- data/rdoc/images/page_white_text.png +0 -0
- data/rdoc/images/page_white_width.png +0 -0
- data/rdoc/images/plugin.png +0 -0
- data/rdoc/images/ruby.png +0 -0
- data/rdoc/images/tag_blue.png +0 -0
- data/rdoc/images/tag_green.png +0 -0
- data/rdoc/images/transparent.png +0 -0
- data/rdoc/images/wrench.png +0 -0
- data/rdoc/images/wrench_orange.png +0 -0
- data/rdoc/images/zoom.png +0 -0
- data/rdoc/index.html +282 -0
- data/rdoc/js/darkfish.js +140 -0
- data/rdoc/js/jquery.js +18 -0
- data/rdoc/js/navigation.js +142 -0
- data/rdoc/js/search.js +109 -0
- data/rdoc/js/search_index.js +1 -0
- data/rdoc/js/searcher.js +228 -0
- data/rdoc/rdoc.css +580 -0
- data/rdoc/rubyneat_gemspec.html +387 -0
- data/rdoc/table_of_contents.html +2502 -0
- data/rdoc/xordebug_log.html +170598 -0
- data/rdoc/xorsin_log.html +22569 -0
- data/rubyneat.gemspec +347 -0
- data/rubyneat.gemspec.orig +375 -0
- data/spec/lib/rubyneat/rubyneat_spec.rb +132 -0
- metadata +555 -0
@@ -0,0 +1,880 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class NEAT::Controller::NeatSettings - 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="class">
|
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="class-metadata">
|
59
|
+
|
60
|
+
<div id="parent-class-section" class="nav-section">
|
61
|
+
<h3>Parent</h3>
|
62
|
+
|
63
|
+
|
64
|
+
<p class="link"><a href="../NeatOb.html">NEAT::NeatOb</a>
|
65
|
+
|
66
|
+
</div>
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<!-- Method Quickref -->
|
71
|
+
<div id="method-list-section" class="nav-section">
|
72
|
+
<h3>Methods</h3>
|
73
|
+
|
74
|
+
<ul class="link-list" role="directory">
|
75
|
+
|
76
|
+
<li class="calls-super" ><a href="#method-c-new">::new</a>
|
77
|
+
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
<main role="main" aria-labelledby="class-NEAT::Controller::NeatSettings">
|
85
|
+
<h1 id="class-NEAT::Controller::NeatSettings" class="class">
|
86
|
+
class NEAT::Controller::NeatSettings
|
87
|
+
</h1>
|
88
|
+
|
89
|
+
<section class="description">
|
90
|
+
|
91
|
+
<p>Various parameters affecting evolution. Based somewhat on the C version of
|
92
|
+
<a href="../../NEAT.html">NEAT</a>. TODO not all of these parameters are
|
93
|
+
implemented yet!!!</p>
|
94
|
+
|
95
|
+
</section>
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
<section class="attribute-method-details" class="method-section">
|
109
|
+
<header>
|
110
|
+
<h3>Attributes</h3>
|
111
|
+
</header>
|
112
|
+
|
113
|
+
|
114
|
+
<div id="attribute-i-age_significance" class="method-detail">
|
115
|
+
<div class="method-heading attribute-method-heading">
|
116
|
+
<span class="method-name">age_significance</span><span
|
117
|
+
class="attribute-access-type">[RW]</span>
|
118
|
+
</div>
|
119
|
+
|
120
|
+
<div class="method-description">
|
121
|
+
|
122
|
+
<p>based on the C version of <a href="../../NEAT.html">NEAT</a></p>
|
123
|
+
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
<div id="attribute-i-babies_stolen" class="method-detail">
|
128
|
+
<div class="method-heading attribute-method-heading">
|
129
|
+
<span class="method-name">babies_stolen</span><span
|
130
|
+
class="attribute-access-type">[RW]</span>
|
131
|
+
</div>
|
132
|
+
|
133
|
+
<div class="method-description">
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
</div>
|
138
|
+
</div>
|
139
|
+
|
140
|
+
<div id="attribute-i-compatibility_threshold" class="method-detail">
|
141
|
+
<div class="method-heading attribute-method-heading">
|
142
|
+
<span class="method-name">compatibility_threshold</span><span
|
143
|
+
class="attribute-access-type">[RW]</span>
|
144
|
+
</div>
|
145
|
+
|
146
|
+
<div class="method-description">
|
147
|
+
|
148
|
+
<p>Species compatability threshold</p>
|
149
|
+
|
150
|
+
</div>
|
151
|
+
</div>
|
152
|
+
|
153
|
+
<div id="attribute-i-disjoint_coefficient" class="method-detail">
|
154
|
+
<div class="method-heading attribute-method-heading">
|
155
|
+
<span class="method-name">disjoint_coefficient</span><span
|
156
|
+
class="attribute-access-type">[RW]</span>
|
157
|
+
</div>
|
158
|
+
|
159
|
+
<div class="method-description">
|
160
|
+
|
161
|
+
<p>Speciation coffficient</p>
|
162
|
+
|
163
|
+
</div>
|
164
|
+
</div>
|
165
|
+
|
166
|
+
<div id="attribute-i-dropoff_age" class="method-detail">
|
167
|
+
<div class="method-heading attribute-method-heading">
|
168
|
+
<span class="method-name">dropoff_age</span><span
|
169
|
+
class="attribute-access-type">[RW]</span>
|
170
|
+
</div>
|
171
|
+
|
172
|
+
<div class="method-description">
|
173
|
+
|
174
|
+
<p>Species Peality age for not making progress</p>
|
175
|
+
|
176
|
+
</div>
|
177
|
+
</div>
|
178
|
+
|
179
|
+
<div id="attribute-i-end_sequence_at" class="method-detail">
|
180
|
+
<div class="method-heading attribute-method-heading">
|
181
|
+
<span class="method-name">end_sequence_at</span><span
|
182
|
+
class="attribute-access-type">[RW]</span>
|
183
|
+
</div>
|
184
|
+
|
185
|
+
<div class="method-description">
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
</div>
|
190
|
+
</div>
|
191
|
+
|
192
|
+
<div id="attribute-i-evolved_substrate_switch" class="method-detail">
|
193
|
+
<div class="method-heading attribute-method-heading">
|
194
|
+
<span class="method-name">evolved_substrate_switch</span><span
|
195
|
+
class="attribute-access-type">[RW]</span>
|
196
|
+
</div>
|
197
|
+
|
198
|
+
<div class="method-description">
|
199
|
+
|
200
|
+
<p>Enable Evolved Substrate HyperNEAT. Meaningless unless <a
|
201
|
+
href="NeatSettings.html#attribute-i-hyper_switch">#hyper_switch</a> is also
|
202
|
+
enabled.</p>
|
203
|
+
|
204
|
+
</div>
|
205
|
+
</div>
|
206
|
+
|
207
|
+
<div id="attribute-i-excess_coefficient" class="method-detail">
|
208
|
+
<div class="method-heading attribute-method-heading">
|
209
|
+
<span class="method-name">excess_coefficient</span><span
|
210
|
+
class="attribute-access-type">[RW]</span>
|
211
|
+
</div>
|
212
|
+
|
213
|
+
<div class="method-description">
|
214
|
+
|
215
|
+
<p>Speciation coffficient</p>
|
216
|
+
|
217
|
+
</div>
|
218
|
+
</div>
|
219
|
+
|
220
|
+
<div id="attribute-i-feature_selection_switch" class="method-detail">
|
221
|
+
<div class="method-heading attribute-method-heading">
|
222
|
+
<span class="method-name">feature_selection_switch</span><span
|
223
|
+
class="attribute-access-type">[RW]</span>
|
224
|
+
</div>
|
225
|
+
|
226
|
+
<div class="method-description">
|
227
|
+
|
228
|
+
<p>Enable FS-NEAT</p>
|
229
|
+
|
230
|
+
</div>
|
231
|
+
</div>
|
232
|
+
|
233
|
+
<div id="attribute-i-fitness_cost_per_gene" class="method-detail">
|
234
|
+
<div class="method-heading attribute-method-heading">
|
235
|
+
<span class="method-name">fitness_cost_per_gene</span><span
|
236
|
+
class="attribute-access-type">[RW]</span>
|
237
|
+
</div>
|
238
|
+
|
239
|
+
<div class="method-description">
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
</div>
|
244
|
+
</div>
|
245
|
+
|
246
|
+
<div id="attribute-i-fitness_cost_per_neuron" class="method-detail">
|
247
|
+
<div class="method-heading attribute-method-heading">
|
248
|
+
<span class="method-name">fitness_cost_per_neuron</span><span
|
249
|
+
class="attribute-access-type">[RW]</span>
|
250
|
+
</div>
|
251
|
+
|
252
|
+
<div class="method-description">
|
253
|
+
|
254
|
+
<p>fitness costs, if given, use in the computation of fitness AFTER the
|
255
|
+
overall fitness for the applied stimuli have been caclulated.</p>
|
256
|
+
|
257
|
+
</div>
|
258
|
+
</div>
|
259
|
+
|
260
|
+
<div id="attribute-i-hash_on_fitness" class="method-detail">
|
261
|
+
<div class="method-heading attribute-method-heading">
|
262
|
+
<span class="method-name">hash_on_fitness</span><span
|
263
|
+
class="attribute-access-type">[RW]</span>
|
264
|
+
</div>
|
265
|
+
|
266
|
+
<div class="method-description">
|
267
|
+
|
268
|
+
<p>Set to true to returned named parameters as hashes to the fitness function
|
269
|
+
(the default is to do ordered arrays)</p>
|
270
|
+
|
271
|
+
</div>
|
272
|
+
</div>
|
273
|
+
|
274
|
+
<div id="attribute-i-hyper_switch" class="method-detail">
|
275
|
+
<div class="method-heading attribute-method-heading">
|
276
|
+
<span class="method-name">hyper_switch</span><span
|
277
|
+
class="attribute-access-type">[RW]</span>
|
278
|
+
</div>
|
279
|
+
|
280
|
+
<div class="method-description">
|
281
|
+
|
282
|
+
<p>Enable HyperNEAT. This will result in the critters being interpreted as
|
283
|
+
CPPNs for substrate weights. Additional setup will be necessary.</p>
|
284
|
+
|
285
|
+
</div>
|
286
|
+
</div>
|
287
|
+
|
288
|
+
<div id="attribute-i-interspecies_mate_rate" class="method-detail">
|
289
|
+
<div class="method-heading attribute-method-heading">
|
290
|
+
<span class="method-name">interspecies_mate_rate</span><span
|
291
|
+
class="attribute-access-type">[RW]</span>
|
292
|
+
</div>
|
293
|
+
|
294
|
+
<div class="method-description">
|
295
|
+
|
296
|
+
<p>Ratio of mating are actually interspecies</p>
|
297
|
+
|
298
|
+
</div>
|
299
|
+
</div>
|
300
|
+
|
301
|
+
<div id="attribute-i-linktrait_mutation_sig" class="method-detail">
|
302
|
+
<div class="method-heading attribute-method-heading">
|
303
|
+
<span class="method-name">linktrait_mutation_sig</span><span
|
304
|
+
class="attribute-access-type">[RW]</span>
|
305
|
+
</div>
|
306
|
+
|
307
|
+
<div class="method-description">
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
</div>
|
312
|
+
</div>
|
313
|
+
|
314
|
+
<div id="attribute-i-mate_multipoint_avg_prob" class="method-detail">
|
315
|
+
<div class="method-heading attribute-method-heading">
|
316
|
+
<span class="method-name">mate_multipoint_avg_prob</span><span
|
317
|
+
class="attribute-access-type">[RW]</span>
|
318
|
+
</div>
|
319
|
+
|
320
|
+
<div class="method-description">
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
</div>
|
325
|
+
</div>
|
326
|
+
|
327
|
+
<div id="attribute-i-mate_multipoint_prob" class="method-detail">
|
328
|
+
<div class="method-heading attribute-method-heading">
|
329
|
+
<span class="method-name">mate_multipoint_prob</span><span
|
330
|
+
class="attribute-access-type">[RW]</span>
|
331
|
+
</div>
|
332
|
+
|
333
|
+
<div class="method-description">
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
</div>
|
338
|
+
</div>
|
339
|
+
|
340
|
+
<div id="attribute-i-mate_only_prob" class="method-detail">
|
341
|
+
<div class="method-heading attribute-method-heading">
|
342
|
+
<span class="method-name">mate_only_prob</span><span
|
343
|
+
class="attribute-access-type">[RW]</span>
|
344
|
+
</div>
|
345
|
+
|
346
|
+
<div class="method-description">
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
</div>
|
351
|
+
</div>
|
352
|
+
|
353
|
+
<div id="attribute-i-mate_singlepoint_prob" class="method-detail">
|
354
|
+
<div class="method-heading attribute-method-heading">
|
355
|
+
<span class="method-name">mate_singlepoint_prob</span><span
|
356
|
+
class="attribute-access-type">[RW]</span>
|
357
|
+
</div>
|
358
|
+
|
359
|
+
<div class="method-description">
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
</div>
|
364
|
+
</div>
|
365
|
+
|
366
|
+
<div id="attribute-i-max_generations" class="method-detail">
|
367
|
+
<div class="method-heading attribute-method-heading">
|
368
|
+
<span class="method-name">max_generations</span><span
|
369
|
+
class="attribute-access-type">[RW]</span>
|
370
|
+
</div>
|
371
|
+
|
372
|
+
<div class="method-description">
|
373
|
+
|
374
|
+
<p>Maximum number of generations to run, if given.</p>
|
375
|
+
|
376
|
+
</div>
|
377
|
+
</div>
|
378
|
+
|
379
|
+
<div id="attribute-i-max_population_history" class="method-detail">
|
380
|
+
<div class="method-heading attribute-method-heading">
|
381
|
+
<span class="method-name">max_population_history</span><span
|
382
|
+
class="attribute-access-type">[RW]</span>
|
383
|
+
</div>
|
384
|
+
|
385
|
+
<div class="method-description">
|
386
|
+
|
387
|
+
<p>Maximun number of populations to maintain in the history buffer.</p>
|
388
|
+
|
389
|
+
</div>
|
390
|
+
</div>
|
391
|
+
|
392
|
+
<div id="attribute-i-max_species" class="method-detail">
|
393
|
+
<div class="method-heading attribute-method-heading">
|
394
|
+
<span class="method-name">max_species</span><span
|
395
|
+
class="attribute-access-type">[RW]</span>
|
396
|
+
</div>
|
397
|
+
|
398
|
+
<div class="method-description">
|
399
|
+
|
400
|
+
<p>Max target number of species (will result in the compatability_coeifficient
|
401
|
+
being adjusted automatically</p>
|
402
|
+
|
403
|
+
</div>
|
404
|
+
</div>
|
405
|
+
|
406
|
+
<div id="attribute-i-mutate_add_gene_prob" class="method-detail">
|
407
|
+
<div class="method-heading attribute-method-heading">
|
408
|
+
<span class="method-name">mutate_add_gene_prob</span><span
|
409
|
+
class="attribute-access-type">[RW]</span>
|
410
|
+
</div>
|
411
|
+
|
412
|
+
<div class="method-description">
|
413
|
+
|
414
|
+
|
415
|
+
|
416
|
+
</div>
|
417
|
+
</div>
|
418
|
+
|
419
|
+
<div id="attribute-i-mutate_add_neuron_prob" class="method-detail">
|
420
|
+
<div class="method-heading attribute-method-heading">
|
421
|
+
<span class="method-name">mutate_add_neuron_prob</span><span
|
422
|
+
class="attribute-access-type">[RW]</span>
|
423
|
+
</div>
|
424
|
+
|
425
|
+
<div class="method-description">
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
</div>
|
430
|
+
</div>
|
431
|
+
|
432
|
+
<div id="attribute-i-mutate_change_gene_weights_prob" class="method-detail">
|
433
|
+
<div class="method-heading attribute-method-heading">
|
434
|
+
<span class="method-name">mutate_change_gene_weights_prob</span><span
|
435
|
+
class="attribute-access-type">[RW]</span>
|
436
|
+
</div>
|
437
|
+
|
438
|
+
<div class="method-description">
|
439
|
+
|
440
|
+
<p>For gene weights perturbations and changes (complete overwrites)</p>
|
441
|
+
|
442
|
+
</div>
|
443
|
+
</div>
|
444
|
+
|
445
|
+
<div id="attribute-i-mutate_change_gene_weights_sd" class="method-detail">
|
446
|
+
<div class="method-heading attribute-method-heading">
|
447
|
+
<span class="method-name">mutate_change_gene_weights_sd</span><span
|
448
|
+
class="attribute-access-type">[RW]</span>
|
449
|
+
</div>
|
450
|
+
|
451
|
+
<div class="method-description">
|
452
|
+
|
453
|
+
<p>For gene weights perturbations and changes (complete overwrites)</p>
|
454
|
+
|
455
|
+
</div>
|
456
|
+
</div>
|
457
|
+
|
458
|
+
<div id="attribute-i-mutate_gene_disable_prob" class="method-detail">
|
459
|
+
<div class="method-heading attribute-method-heading">
|
460
|
+
<span class="method-name">mutate_gene_disable_prob</span><span
|
461
|
+
class="attribute-access-type">[RW]</span>
|
462
|
+
</div>
|
463
|
+
|
464
|
+
<div class="method-description">
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
</div>
|
469
|
+
</div>
|
470
|
+
|
471
|
+
<div id="attribute-i-mutate_gene_reenable_prob" class="method-detail">
|
472
|
+
<div class="method-heading attribute-method-heading">
|
473
|
+
<span class="method-name">mutate_gene_reenable_prob</span><span
|
474
|
+
class="attribute-access-type">[RW]</span>
|
475
|
+
</div>
|
476
|
+
|
477
|
+
<div class="method-description">
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
</div>
|
482
|
+
</div>
|
483
|
+
|
484
|
+
<div id="attribute-i-mutate_gene_trait_prob" class="method-detail">
|
485
|
+
<div class="method-heading attribute-method-heading">
|
486
|
+
<span class="method-name">mutate_gene_trait_prob</span><span
|
487
|
+
class="attribute-access-type">[RW]</span>
|
488
|
+
</div>
|
489
|
+
|
490
|
+
<div class="method-description">
|
491
|
+
|
492
|
+
|
493
|
+
|
494
|
+
</div>
|
495
|
+
</div>
|
496
|
+
|
497
|
+
<div id="attribute-i-mutate_neuron_trait_prob" class="method-detail">
|
498
|
+
<div class="method-heading attribute-method-heading">
|
499
|
+
<span class="method-name">mutate_neuron_trait_prob</span><span
|
500
|
+
class="attribute-access-type">[RW]</span>
|
501
|
+
</div>
|
502
|
+
|
503
|
+
<div class="method-description">
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
</div>
|
508
|
+
</div>
|
509
|
+
|
510
|
+
<div id="attribute-i-mutate_only_prob" class="method-detail">
|
511
|
+
<div class="method-heading attribute-method-heading">
|
512
|
+
<span class="method-name">mutate_only_prob</span><span
|
513
|
+
class="attribute-access-type">[RW]</span>
|
514
|
+
</div>
|
515
|
+
|
516
|
+
<div class="method-description">
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
</div>
|
521
|
+
</div>
|
522
|
+
|
523
|
+
<div id="attribute-i-mutate_perturb_gene_weights_prob" class="method-detail">
|
524
|
+
<div class="method-heading attribute-method-heading">
|
525
|
+
<span class="method-name">mutate_perturb_gene_weights_prob</span><span
|
526
|
+
class="attribute-access-type">[RW]</span>
|
527
|
+
</div>
|
528
|
+
|
529
|
+
<div class="method-description">
|
530
|
+
|
531
|
+
<p>For gene weights perturbations and changes (complete overwrites)</p>
|
532
|
+
|
533
|
+
</div>
|
534
|
+
</div>
|
535
|
+
|
536
|
+
<div id="attribute-i-mutate_perturb_gene_weights_sd" class="method-detail">
|
537
|
+
<div class="method-heading attribute-method-heading">
|
538
|
+
<span class="method-name">mutate_perturb_gene_weights_sd</span><span
|
539
|
+
class="attribute-access-type">[RW]</span>
|
540
|
+
</div>
|
541
|
+
|
542
|
+
<div class="method-description">
|
543
|
+
|
544
|
+
<p>For gene weights perturbations and changes (complete overwrites)</p>
|
545
|
+
|
546
|
+
</div>
|
547
|
+
</div>
|
548
|
+
|
549
|
+
<div id="attribute-i-mutate_random_trait_prob" class="method-detail">
|
550
|
+
<div class="method-heading attribute-method-heading">
|
551
|
+
<span class="method-name">mutate_random_trait_prob</span><span
|
552
|
+
class="attribute-access-type">[RW]</span>
|
553
|
+
</div>
|
554
|
+
|
555
|
+
<div class="method-description">
|
556
|
+
|
557
|
+
|
558
|
+
|
559
|
+
</div>
|
560
|
+
</div>
|
561
|
+
|
562
|
+
<div id="attribute-i-mutate_toggle_enable_prob" class="method-detail">
|
563
|
+
<div class="method-heading attribute-method-heading">
|
564
|
+
<span class="method-name">mutate_toggle_enable_prob</span><span
|
565
|
+
class="attribute-access-type">[RW]</span>
|
566
|
+
</div>
|
567
|
+
|
568
|
+
<div class="method-description">
|
569
|
+
|
570
|
+
|
571
|
+
|
572
|
+
</div>
|
573
|
+
</div>
|
574
|
+
|
575
|
+
<div id="attribute-i-mutdiff_coefficient" class="method-detail">
|
576
|
+
<div class="method-heading attribute-method-heading">
|
577
|
+
<span class="method-name">mutdiff_coefficient</span><span
|
578
|
+
class="attribute-access-type">[RW]</span>
|
579
|
+
</div>
|
580
|
+
|
581
|
+
<div class="method-description">
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
</div>
|
586
|
+
</div>
|
587
|
+
|
588
|
+
<div id="attribute-i-neuron_trait_mut_sig" class="method-detail">
|
589
|
+
<div class="method-heading attribute-method-heading">
|
590
|
+
<span class="method-name">neuron_trait_mut_sig</span><span
|
591
|
+
class="attribute-access-type">[RW]</span>
|
592
|
+
</div>
|
593
|
+
|
594
|
+
<div class="method-description">
|
595
|
+
|
596
|
+
|
597
|
+
|
598
|
+
</div>
|
599
|
+
</div>
|
600
|
+
|
601
|
+
<div id="attribute-i-newlink_tries" class="method-detail">
|
602
|
+
<div class="method-heading attribute-method-heading">
|
603
|
+
<span class="method-name">newlink_tries</span><span
|
604
|
+
class="attribute-access-type">[RW]</span>
|
605
|
+
</div>
|
606
|
+
|
607
|
+
<div class="method-description">
|
608
|
+
|
609
|
+
|
610
|
+
|
611
|
+
</div>
|
612
|
+
</div>
|
613
|
+
|
614
|
+
<div id="attribute-i-population_size" class="method-detail">
|
615
|
+
<div class="method-heading attribute-method-heading">
|
616
|
+
<span class="method-name">population_size</span><span
|
617
|
+
class="attribute-access-type">[RW]</span>
|
618
|
+
</div>
|
619
|
+
|
620
|
+
<div class="method-description">
|
621
|
+
|
622
|
+
<p>If set, will start off at the specified size and grow to the bigger
|
623
|
+
population size</p>
|
624
|
+
|
625
|
+
</div>
|
626
|
+
</div>
|
627
|
+
|
628
|
+
<div id="attribute-i-print_every" class="method-detail">
|
629
|
+
<div class="method-heading attribute-method-heading">
|
630
|
+
<span class="method-name">print_every</span><span
|
631
|
+
class="attribute-access-type">[RW]</span>
|
632
|
+
</div>
|
633
|
+
|
634
|
+
<div class="method-description">
|
635
|
+
|
636
|
+
|
637
|
+
|
638
|
+
</div>
|
639
|
+
</div>
|
640
|
+
|
641
|
+
<div id="attribute-i-real_time_switch" class="method-detail">
|
642
|
+
<div class="method-heading attribute-method-heading">
|
643
|
+
<span class="method-name">real_time_switch</span><span
|
644
|
+
class="attribute-access-type">[RW]</span>
|
645
|
+
</div>
|
646
|
+
|
647
|
+
<div class="method-description">
|
648
|
+
|
649
|
+
<p>Enable RT-NEAT, for gradual evolution suitable for games and other
|
650
|
+
human-interactive systems.</p>
|
651
|
+
|
652
|
+
</div>
|
653
|
+
</div>
|
654
|
+
|
655
|
+
<div id="attribute-i-recur_only_prob" class="method-detail">
|
656
|
+
<div class="method-heading attribute-method-heading">
|
657
|
+
<span class="method-name">recur_only_prob</span><span
|
658
|
+
class="attribute-access-type">[RW]</span>
|
659
|
+
</div>
|
660
|
+
|
661
|
+
<div class="method-description">
|
662
|
+
|
663
|
+
|
664
|
+
|
665
|
+
</div>
|
666
|
+
</div>
|
667
|
+
|
668
|
+
<div id="attribute-i-recur_prob" class="method-detail">
|
669
|
+
<div class="method-heading attribute-method-heading">
|
670
|
+
<span class="method-name">recur_prob</span><span
|
671
|
+
class="attribute-access-type">[RW]</span>
|
672
|
+
</div>
|
673
|
+
|
674
|
+
<div class="method-description">
|
675
|
+
|
676
|
+
|
677
|
+
|
678
|
+
</div>
|
679
|
+
</div>
|
680
|
+
|
681
|
+
<div id="attribute-i-recurrency_switch" class="method-detail">
|
682
|
+
<div class="method-heading attribute-method-heading">
|
683
|
+
<span class="method-name">recurrency_switch</span><span
|
684
|
+
class="attribute-access-type">[RW]</span>
|
685
|
+
</div>
|
686
|
+
|
687
|
+
<div class="method-description">
|
688
|
+
|
689
|
+
<p>If true, allow for recurrent networks.</p>
|
690
|
+
|
691
|
+
</div>
|
692
|
+
</div>
|
693
|
+
|
694
|
+
<div id="attribute-i-smallest_species" class="method-detail">
|
695
|
+
<div class="method-heading attribute-method-heading">
|
696
|
+
<span class="method-name">smallest_species</span><span
|
697
|
+
class="attribute-access-type">[RW]</span>
|
698
|
+
</div>
|
699
|
+
|
700
|
+
<div class="method-description">
|
701
|
+
|
702
|
+
<p>Species smallest population allowed (coalse smaller species into one)</p>
|
703
|
+
|
704
|
+
</div>
|
705
|
+
</div>
|
706
|
+
|
707
|
+
<div id="attribute-i-start_population_size" class="method-detail">
|
708
|
+
<div class="method-heading attribute-method-heading">
|
709
|
+
<span class="method-name">start_population_size</span><span
|
710
|
+
class="attribute-access-type">[RW]</span>
|
711
|
+
</div>
|
712
|
+
|
713
|
+
<div class="method-description">
|
714
|
+
|
715
|
+
<p>If set, will start off at the specified size and grow to the bigger
|
716
|
+
population size</p>
|
717
|
+
|
718
|
+
</div>
|
719
|
+
</div>
|
720
|
+
|
721
|
+
<div id="attribute-i-start_sequence_at" class="method-detail">
|
722
|
+
<div class="method-heading attribute-method-heading">
|
723
|
+
<span class="method-name">start_sequence_at</span><span
|
724
|
+
class="attribute-access-type">[RW]</span>
|
725
|
+
</div>
|
726
|
+
|
727
|
+
<div class="method-description">
|
728
|
+
|
729
|
+
|
730
|
+
|
731
|
+
</div>
|
732
|
+
</div>
|
733
|
+
|
734
|
+
<div id="attribute-i-survival_mininum_per_species" class="method-detail">
|
735
|
+
<div class="method-heading attribute-method-heading">
|
736
|
+
<span class="method-name">survival_mininum_per_species</span><span
|
737
|
+
class="attribute-access-type">[RW]</span>
|
738
|
+
</div>
|
739
|
+
|
740
|
+
<div class="method-description">
|
741
|
+
|
742
|
+
|
743
|
+
|
744
|
+
</div>
|
745
|
+
</div>
|
746
|
+
|
747
|
+
<div id="attribute-i-survival_threshold" class="method-detail">
|
748
|
+
<div class="method-heading attribute-method-heading">
|
749
|
+
<span class="method-name">survival_threshold</span><span
|
750
|
+
class="attribute-access-type">[RW]</span>
|
751
|
+
</div>
|
752
|
+
|
753
|
+
<div class="method-description">
|
754
|
+
|
755
|
+
<p>factor (0 to 1) of the top percentage of the species that's allowed to
|
756
|
+
mate.</p>
|
757
|
+
|
758
|
+
</div>
|
759
|
+
</div>
|
760
|
+
|
761
|
+
<div id="attribute-i-trait_mutation_power" class="method-detail">
|
762
|
+
<div class="method-heading attribute-method-heading">
|
763
|
+
<span class="method-name">trait_mutation_power</span><span
|
764
|
+
class="attribute-access-type">[RW]</span>
|
765
|
+
</div>
|
766
|
+
|
767
|
+
<div class="method-description">
|
768
|
+
|
769
|
+
|
770
|
+
|
771
|
+
</div>
|
772
|
+
</div>
|
773
|
+
|
774
|
+
<div id="attribute-i-trait_param_mut_prob" class="method-detail">
|
775
|
+
<div class="method-heading attribute-method-heading">
|
776
|
+
<span class="method-name">trait_param_mut_prob</span><span
|
777
|
+
class="attribute-access-type">[RW]</span>
|
778
|
+
</div>
|
779
|
+
|
780
|
+
<div class="method-description">
|
781
|
+
|
782
|
+
|
783
|
+
|
784
|
+
</div>
|
785
|
+
</div>
|
786
|
+
|
787
|
+
<div id="attribute-i-weigh_mut_power" class="method-detail">
|
788
|
+
<div class="method-heading attribute-method-heading">
|
789
|
+
<span class="method-name">weigh_mut_power</span><span
|
790
|
+
class="attribute-access-type">[RW]</span>
|
791
|
+
</div>
|
792
|
+
|
793
|
+
<div class="method-description">
|
794
|
+
|
795
|
+
|
796
|
+
|
797
|
+
</div>
|
798
|
+
</div>
|
799
|
+
|
800
|
+
<div id="attribute-i-weight_coefficient" class="method-detail">
|
801
|
+
<div class="method-heading attribute-method-heading">
|
802
|
+
<span class="method-name">weight_coefficient</span><span
|
803
|
+
class="attribute-access-type">[RW]</span>
|
804
|
+
</div>
|
805
|
+
|
806
|
+
<div class="method-description">
|
807
|
+
|
808
|
+
<p>Speciation coffficient</p>
|
809
|
+
|
810
|
+
</div>
|
811
|
+
</div>
|
812
|
+
|
813
|
+
</section>
|
814
|
+
|
815
|
+
|
816
|
+
|
817
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
818
|
+
<header>
|
819
|
+
<h3>Public Class Methods</h3>
|
820
|
+
</header>
|
821
|
+
|
822
|
+
|
823
|
+
<div id="method-c-new" class="method-detail ">
|
824
|
+
|
825
|
+
<div class="method-heading">
|
826
|
+
<span class="method-name">new</span><span
|
827
|
+
class="method-args">()</span>
|
828
|
+
|
829
|
+
<span class="method-click-advice">click to toggle source</span>
|
830
|
+
|
831
|
+
</div>
|
832
|
+
|
833
|
+
|
834
|
+
<div class="method-description">
|
835
|
+
|
836
|
+
<p>Set up defaults for mandatory entries.</p>
|
837
|
+
|
838
|
+
|
839
|
+
<div class="method-calls-super">
|
840
|
+
Calls superclass method
|
841
|
+
<a href="../NeatOb.html#method-c-new">NEAT::NeatOb.new</a>
|
842
|
+
</div>
|
843
|
+
|
844
|
+
|
845
|
+
|
846
|
+
<div class="method-source-code" id="new-source">
|
847
|
+
<pre><span class="ruby-comment"># File lib/rubyneat/rubyneat.rb, line 318</span>
|
848
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>
|
849
|
+
<span class="ruby-keyword">super</span>
|
850
|
+
<span class="ruby-ivar">@start_sequence_at</span> = <span class="ruby-value">0</span>
|
851
|
+
<span class="ruby-ivar">@end_sequence_at</span> = <span class="ruby-value">100</span>
|
852
|
+
<span class="ruby-ivar">@max_generations</span> = <span class="ruby-value">1000</span>
|
853
|
+
|
854
|
+
<span class="ruby-comment"># Default operators</span>
|
855
|
+
<span class="ruby-ivar">@evaluator</span> = <span class="ruby-constant">Evaluator</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword">self</span>
|
856
|
+
<span class="ruby-ivar">@expressor</span> = <span class="ruby-constant">Expressor</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword">self</span>
|
857
|
+
<span class="ruby-ivar">@evolver</span> = <span class="ruby-constant">Evolver</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword">self</span>
|
858
|
+
<span class="ruby-keyword">end</span></pre>
|
859
|
+
</div>
|
860
|
+
|
861
|
+
</div>
|
862
|
+
|
863
|
+
|
864
|
+
|
865
|
+
|
866
|
+
</div>
|
867
|
+
|
868
|
+
|
869
|
+
</section>
|
870
|
+
|
871
|
+
</section>
|
872
|
+
</main>
|
873
|
+
|
874
|
+
|
875
|
+
<footer id="validator-badges" role="contentinfo">
|
876
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
877
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
|
878
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
879
|
+
</footer>
|
880
|
+
|