rubyneat 0.3.5.alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,3324 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
|
|
7
|
+
<title>NeatSettings.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/NeatSettings.html">
|
|
177
|
+
|
|
178
|
+
<p><!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”</p>
|
|
179
|
+
|
|
180
|
+
<pre>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></pre>
|
|
181
|
+
|
|
182
|
+
<p><html xmlns=“<a
|
|
183
|
+
href="http://www.w3.org/1999/xhtml">www.w3.org/1999/xhtml</a>”
|
|
184
|
+
xml:lang=“en” lang=“en”></p>
|
|
185
|
+
|
|
186
|
+
<pre><head>
|
|
187
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></pre>
|
|
188
|
+
|
|
189
|
+
<p><title></p>
|
|
190
|
+
|
|
191
|
+
<pre>Class: NEAT::Controller::NeatSettings
|
|
192
|
+
|
|
193
|
+
&mdash; Documentation by YARD 0.8.7.3</pre>
|
|
194
|
+
|
|
195
|
+
<p></title></p>
|
|
196
|
+
|
|
197
|
+
<pre><link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
|
198
|
+
|
|
199
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" /></pre>
|
|
200
|
+
|
|
201
|
+
<p><script type=“text/javascript” charset=“utf-8”></p>
|
|
202
|
+
|
|
203
|
+
<pre>hasFrames = window.top.frames.main ? true : false;
|
|
204
|
+
relpath = '../../';
|
|
205
|
+
framesUrl = "../../frames.html#!" + escape(window.location.href);</pre>
|
|
206
|
+
|
|
207
|
+
<p></script></p>
|
|
208
|
+
|
|
209
|
+
<pre><script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
|
210
|
+
|
|
211
|
+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
|
212
|
+
|
|
213
|
+
</head>
|
|
214
|
+
<body>
|
|
215
|
+
<div id="header">
|
|
216
|
+
<div id="menu">
|
|
217
|
+
|
|
218
|
+
<a href="../../_index.html">Index (N)</a> &raquo;
|
|
219
|
+
<span class='title'><span class='object_link'><a href="../../NEAT.html" title="NEAT (module)">NEAT</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Controller.html" title="NEAT::Controller (class)">Controller</a></span></span>
|
|
220
|
+
&raquo;
|
|
221
|
+
<span class="title">NeatSettings</span>
|
|
222
|
+
|
|
223
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div></pre>
|
|
224
|
+
|
|
225
|
+
<p></div></p>
|
|
226
|
+
|
|
227
|
+
<pre> <div id="search">
|
|
228
|
+
|
|
229
|
+
<a class="full_list_link" id="class_list_link"
|
|
230
|
+
href="../../class_list.html">
|
|
231
|
+
Class List
|
|
232
|
+
</a>
|
|
233
|
+
|
|
234
|
+
<a class="full_list_link" id="method_list_link"
|
|
235
|
+
href="../../method_list.html">
|
|
236
|
+
Method List
|
|
237
|
+
</a>
|
|
238
|
+
|
|
239
|
+
<a class="full_list_link" id="file_list_link"
|
|
240
|
+
href="../../file_list.html">
|
|
241
|
+
File List
|
|
242
|
+
</a></pre>
|
|
243
|
+
|
|
244
|
+
<p></div></p>
|
|
245
|
+
|
|
246
|
+
<pre> <div class="clear"></div>
|
|
247
|
+
</div>
|
|
248
|
+
|
|
249
|
+
<iframe id="search_frame"></iframe>
|
|
250
|
+
|
|
251
|
+
<div id="content"><h1>Class: NEAT::Controller::NeatSettings</pre>
|
|
252
|
+
|
|
253
|
+
<p></h1></p>
|
|
254
|
+
|
|
255
|
+
<p><dl class=“box”></p>
|
|
256
|
+
|
|
257
|
+
<pre><dt class="r1">Inherits:</dt>
|
|
258
|
+
<dd class="r1">
|
|
259
|
+
<span class="inheritName"><span class='object_link'><a href="../NeatOb.html" title="NEAT::NeatOb (class)">NeatOb</a></span></span>
|
|
260
|
+
|
|
261
|
+
<ul class="fullTree">
|
|
262
|
+
<li>Object</li>
|
|
263
|
+
|
|
264
|
+
<li class="next"><span class='object_link'><a href="../NeatOb.html" title="NEAT::NeatOb (class)">NeatOb</a></span></li>
|
|
265
|
+
|
|
266
|
+
<li class="next">NEAT::Controller::NeatSettings</li>
|
|
267
|
+
|
|
268
|
+
</ul>
|
|
269
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
270
|
+
|
|
271
|
+
</dd>
|
|
272
|
+
|
|
273
|
+
<dt class="r2 last">Defined in:</dt>
|
|
274
|
+
<dd class="r2 last">lib/rubyneat/rubyneat.rb</dd></pre>
|
|
275
|
+
|
|
276
|
+
<p></dl> <div class=“clear”></div></p>
|
|
277
|
+
|
|
278
|
+
<p><h2>Overview</h2><div class=“docstring”></p>
|
|
279
|
+
|
|
280
|
+
<pre><div class="discussion"></pre>
|
|
281
|
+
|
|
282
|
+
<p><p>Various parameters affecting evolution. Based somewhat on the C
|
|
283
|
+
version of <a href="../../../NEAT.html">NEAT</a>. TODO not all of these
|
|
284
|
+
parameters are implemented yet!!!</p></p>
|
|
285
|
+
|
|
286
|
+
<pre></div></pre>
|
|
287
|
+
|
|
288
|
+
<p></div> <div class=“tags”></p>
|
|
289
|
+
|
|
290
|
+
<p></div></p>
|
|
291
|
+
|
|
292
|
+
<pre><h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
293
|
+
<ul class="summary">
|
|
294
|
+
|
|
295
|
+
<li class="public ">
|
|
296
|
+
<span class="summary_signature">
|
|
297
|
+
|
|
298
|
+
<a href="#age_significance-instance_method" title="#age_significance (instance method)">- (Object) <strong>age_significance</strong> </a>
|
|
299
|
+
|
|
300
|
+
</span>
|
|
301
|
+
|
|
302
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
303
|
+
|
|
304
|
+
<p><p>based on the C version of <a
|
|
305
|
+
href="../../../NEAT.html">NEAT</a>.</p> </div></span></p>
|
|
306
|
+
|
|
307
|
+
<p></li></p>
|
|
308
|
+
|
|
309
|
+
<pre> <li class="public ">
|
|
310
|
+
<span class="summary_signature">
|
|
311
|
+
|
|
312
|
+
<a href="#babies_stolen-instance_method" title="#babies_stolen (instance method)">- (Object) <strong>babies_stolen</strong> </a>
|
|
313
|
+
|
|
314
|
+
</span>
|
|
315
|
+
|
|
316
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
317
|
+
|
|
318
|
+
<p><p>Returns the value of attribute babies_stolen.</p>
|
|
319
|
+
</div></span></p>
|
|
320
|
+
|
|
321
|
+
<p></li></p>
|
|
322
|
+
|
|
323
|
+
<pre> <li class="public ">
|
|
324
|
+
<span class="summary_signature">
|
|
325
|
+
|
|
326
|
+
<a href="#compatibility_threshold-instance_method" title="#compatibility_threshold (instance method)">- (Object) <strong>compatibility_threshold</strong> </a>
|
|
327
|
+
|
|
328
|
+
</span>
|
|
329
|
+
|
|
330
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
331
|
+
|
|
332
|
+
<p><p>Species compatability threshold.</p>
|
|
333
|
+
</div></span></p>
|
|
334
|
+
|
|
335
|
+
<p></li></p>
|
|
336
|
+
|
|
337
|
+
<pre> <li class="public ">
|
|
338
|
+
<span class="summary_signature">
|
|
339
|
+
|
|
340
|
+
<a href="#disjoint_coefficient-instance_method" title="#disjoint_coefficient (instance method)">- (Object) <strong>disjoint_coefficient</strong> </a>
|
|
341
|
+
|
|
342
|
+
</span>
|
|
343
|
+
|
|
344
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
345
|
+
|
|
346
|
+
<p><p>Speciation coffficient.</p> </div></span></p>
|
|
347
|
+
|
|
348
|
+
<p></li></p>
|
|
349
|
+
|
|
350
|
+
<pre> <li class="public ">
|
|
351
|
+
<span class="summary_signature">
|
|
352
|
+
|
|
353
|
+
<a href="#dropoff_age-instance_method" title="#dropoff_age (instance method)">- (Object) <strong>dropoff_age</strong> </a>
|
|
354
|
+
|
|
355
|
+
</span>
|
|
356
|
+
|
|
357
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
358
|
+
|
|
359
|
+
<p><p>Species Peality age for not making progress.</p>
|
|
360
|
+
</div></span></p>
|
|
361
|
+
|
|
362
|
+
<p></li></p>
|
|
363
|
+
|
|
364
|
+
<pre> <li class="public ">
|
|
365
|
+
<span class="summary_signature">
|
|
366
|
+
|
|
367
|
+
<a href="#end_sequence_at-instance_method" title="#end_sequence_at (instance method)">- (Object) <strong>end_sequence_at</strong> </a>
|
|
368
|
+
|
|
369
|
+
</span>
|
|
370
|
+
|
|
371
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
372
|
+
|
|
373
|
+
<p><p>Returns the value of attribute end_sequence_at.</p>
|
|
374
|
+
</div></span></p>
|
|
375
|
+
|
|
376
|
+
<p></li></p>
|
|
377
|
+
|
|
378
|
+
<pre> <li class="public ">
|
|
379
|
+
<span class="summary_signature">
|
|
380
|
+
|
|
381
|
+
<a href="#evolved_substrate_switch-instance_method" title="#evolved_substrate_switch (instance method)">- (Object) <strong>evolved_substrate_switch</strong> </a>
|
|
382
|
+
|
|
383
|
+
</span>
|
|
384
|
+
|
|
385
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
386
|
+
|
|
387
|
+
<p><p>Enable Evolved Substrate HyperNEAT.</p>
|
|
388
|
+
</div></span></p>
|
|
389
|
+
|
|
390
|
+
<p></li></p>
|
|
391
|
+
|
|
392
|
+
<pre> <li class="public ">
|
|
393
|
+
<span class="summary_signature">
|
|
394
|
+
|
|
395
|
+
<a href="#excess_coefficient-instance_method" title="#excess_coefficient (instance method)">- (Object) <strong>excess_coefficient</strong> </a>
|
|
396
|
+
|
|
397
|
+
</span>
|
|
398
|
+
|
|
399
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
400
|
+
|
|
401
|
+
<p><p>Speciation coffficient.</p> </div></span></p>
|
|
402
|
+
|
|
403
|
+
<p></li></p>
|
|
404
|
+
|
|
405
|
+
<pre> <li class="public ">
|
|
406
|
+
<span class="summary_signature">
|
|
407
|
+
|
|
408
|
+
<a href="#feature_selection_switch-instance_method" title="#feature_selection_switch (instance method)">- (Object) <strong>feature_selection_switch</strong> </a>
|
|
409
|
+
|
|
410
|
+
</span>
|
|
411
|
+
|
|
412
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
413
|
+
|
|
414
|
+
<p><p>Enable FS-NEAT.</p> </div></span></p>
|
|
415
|
+
|
|
416
|
+
<p></li></p>
|
|
417
|
+
|
|
418
|
+
<pre> <li class="public ">
|
|
419
|
+
<span class="summary_signature">
|
|
420
|
+
|
|
421
|
+
<a href="#fitness_cost_per_gene-instance_method" title="#fitness_cost_per_gene (instance method)">- (Object) <strong>fitness_cost_per_gene</strong> </a>
|
|
422
|
+
|
|
423
|
+
</span>
|
|
424
|
+
|
|
425
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
426
|
+
|
|
427
|
+
<p><p>Returns the value of attribute fitness_cost_per_gene.</p>
|
|
428
|
+
</div></span></p>
|
|
429
|
+
|
|
430
|
+
<p></li></p>
|
|
431
|
+
|
|
432
|
+
<pre> <li class="public ">
|
|
433
|
+
<span class="summary_signature">
|
|
434
|
+
|
|
435
|
+
<a href="#fitness_cost_per_neuron-instance_method" title="#fitness_cost_per_neuron (instance method)">- (Object) <strong>fitness_cost_per_neuron</strong> </a>
|
|
436
|
+
|
|
437
|
+
</span>
|
|
438
|
+
|
|
439
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
440
|
+
|
|
441
|
+
<p><p>fitness costs, if given, use in the computation of fitness AFTER
|
|
442
|
+
the overall fitness for the applied stimuli have been caclulated.</p>
|
|
443
|
+
</div></span></p>
|
|
444
|
+
|
|
445
|
+
<p></li></p>
|
|
446
|
+
|
|
447
|
+
<pre> <li class="public ">
|
|
448
|
+
<span class="summary_signature">
|
|
449
|
+
|
|
450
|
+
<a href="#hash_on_fitness-instance_method" title="#hash_on_fitness (instance method)">- (Object) <strong>hash_on_fitness</strong> </a>
|
|
451
|
+
|
|
452
|
+
</span>
|
|
453
|
+
|
|
454
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
455
|
+
|
|
456
|
+
<p><p>Set to true to returned named parameters as hashes to the fitness
|
|
457
|
+
function (the default is to do ordered arrays).</p>
|
|
458
|
+
</div></span></p>
|
|
459
|
+
|
|
460
|
+
<p></li></p>
|
|
461
|
+
|
|
462
|
+
<pre> <li class="public ">
|
|
463
|
+
<span class="summary_signature">
|
|
464
|
+
|
|
465
|
+
<a href="#hyper_switch-instance_method" title="#hyper_switch (instance method)">- (Object) <strong>hyper_switch</strong> </a>
|
|
466
|
+
|
|
467
|
+
</span>
|
|
468
|
+
|
|
469
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
470
|
+
|
|
471
|
+
<p><p>Enable HyperNEAT.</p> </div></span></p>
|
|
472
|
+
|
|
473
|
+
<p></li></p>
|
|
474
|
+
|
|
475
|
+
<pre> <li class="public ">
|
|
476
|
+
<span class="summary_signature">
|
|
477
|
+
|
|
478
|
+
<a href="#interspecies_mate_rate-instance_method" title="#interspecies_mate_rate (instance method)">- (Object) <strong>interspecies_mate_rate</strong> </a>
|
|
479
|
+
|
|
480
|
+
</span>
|
|
481
|
+
|
|
482
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
483
|
+
|
|
484
|
+
<p><p>Ratio of mating are actually interspecies.</p>
|
|
485
|
+
</div></span></p>
|
|
486
|
+
|
|
487
|
+
<p></li></p>
|
|
488
|
+
|
|
489
|
+
<pre> <li class="public ">
|
|
490
|
+
<span class="summary_signature">
|
|
491
|
+
|
|
492
|
+
<a href="#linktrait_mutation_sig-instance_method" title="#linktrait_mutation_sig (instance method)">- (Object) <strong>linktrait_mutation_sig</strong> </a>
|
|
493
|
+
|
|
494
|
+
</span>
|
|
495
|
+
|
|
496
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
497
|
+
|
|
498
|
+
<p><p>Returns the value of attribute linktrait_mutation_sig.</p>
|
|
499
|
+
</div></span></p>
|
|
500
|
+
|
|
501
|
+
<p></li></p>
|
|
502
|
+
|
|
503
|
+
<pre> <li class="public ">
|
|
504
|
+
<span class="summary_signature">
|
|
505
|
+
|
|
506
|
+
<a href="#mate_multipoint_avg_prob-instance_method" title="#mate_multipoint_avg_prob (instance method)">- (Object) <strong>mate_multipoint_avg_prob</strong> </a>
|
|
507
|
+
|
|
508
|
+
</span>
|
|
509
|
+
|
|
510
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
511
|
+
|
|
512
|
+
<p><p>Returns the value of attribute mate_multipoint_avg_prob.</p>
|
|
513
|
+
</div></span></p>
|
|
514
|
+
|
|
515
|
+
<p></li></p>
|
|
516
|
+
|
|
517
|
+
<pre> <li class="public ">
|
|
518
|
+
<span class="summary_signature">
|
|
519
|
+
|
|
520
|
+
<a href="#mate_multipoint_prob-instance_method" title="#mate_multipoint_prob (instance method)">- (Object) <strong>mate_multipoint_prob</strong> </a>
|
|
521
|
+
|
|
522
|
+
</span>
|
|
523
|
+
|
|
524
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
525
|
+
|
|
526
|
+
<p><p>Returns the value of attribute mate_multipoint_prob.</p>
|
|
527
|
+
</div></span></p>
|
|
528
|
+
|
|
529
|
+
<p></li></p>
|
|
530
|
+
|
|
531
|
+
<pre> <li class="public ">
|
|
532
|
+
<span class="summary_signature">
|
|
533
|
+
|
|
534
|
+
<a href="#mate_only_prob-instance_method" title="#mate_only_prob (instance method)">- (Object) <strong>mate_only_prob</strong> </a>
|
|
535
|
+
|
|
536
|
+
</span>
|
|
537
|
+
|
|
538
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
539
|
+
|
|
540
|
+
<p><p>Returns the value of attribute mate_only_prob.</p>
|
|
541
|
+
</div></span></p>
|
|
542
|
+
|
|
543
|
+
<p></li></p>
|
|
544
|
+
|
|
545
|
+
<pre> <li class="public ">
|
|
546
|
+
<span class="summary_signature">
|
|
547
|
+
|
|
548
|
+
<a href="#mate_singlepoint_prob-instance_method" title="#mate_singlepoint_prob (instance method)">- (Object) <strong>mate_singlepoint_prob</strong> </a>
|
|
549
|
+
|
|
550
|
+
</span>
|
|
551
|
+
|
|
552
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
553
|
+
|
|
554
|
+
<p><p>Returns the value of attribute mate_singlepoint_prob.</p>
|
|
555
|
+
</div></span></p>
|
|
556
|
+
|
|
557
|
+
<p></li></p>
|
|
558
|
+
|
|
559
|
+
<pre> <li class="public ">
|
|
560
|
+
<span class="summary_signature">
|
|
561
|
+
|
|
562
|
+
<a href="#max_generations-instance_method" title="#max_generations (instance method)">- (Object) <strong>max_generations</strong> </a>
|
|
563
|
+
|
|
564
|
+
</span>
|
|
565
|
+
|
|
566
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
567
|
+
|
|
568
|
+
<p><p>Maximum number of generations to run, if given.</p>
|
|
569
|
+
</div></span></p>
|
|
570
|
+
|
|
571
|
+
<p></li></p>
|
|
572
|
+
|
|
573
|
+
<pre> <li class="public ">
|
|
574
|
+
<span class="summary_signature">
|
|
575
|
+
|
|
576
|
+
<a href="#max_population_history-instance_method" title="#max_population_history (instance method)">- (Object) <strong>max_population_history</strong> </a>
|
|
577
|
+
|
|
578
|
+
</span>
|
|
579
|
+
|
|
580
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
581
|
+
|
|
582
|
+
<p><p>Maximun number of populations to maintain in the history
|
|
583
|
+
buffer.</p> </div></span></p>
|
|
584
|
+
|
|
585
|
+
<p></li></p>
|
|
586
|
+
|
|
587
|
+
<pre> <li class="public ">
|
|
588
|
+
<span class="summary_signature">
|
|
589
|
+
|
|
590
|
+
<a href="#max_species-instance_method" title="#max_species (instance method)">- (Object) <strong>max_species</strong> </a>
|
|
591
|
+
|
|
592
|
+
</span>
|
|
593
|
+
|
|
594
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
595
|
+
|
|
596
|
+
<p><p>Max target number of species (will result in the
|
|
597
|
+
compatability_coeifficient being adjusted automatically.</p>
|
|
598
|
+
</div></span></p>
|
|
599
|
+
|
|
600
|
+
<p></li></p>
|
|
601
|
+
|
|
602
|
+
<pre> <li class="public ">
|
|
603
|
+
<span class="summary_signature">
|
|
604
|
+
|
|
605
|
+
<a href="#mutate_add_gene_prob-instance_method" title="#mutate_add_gene_prob (instance method)">- (Object) <strong>mutate_add_gene_prob</strong> </a>
|
|
606
|
+
|
|
607
|
+
</span>
|
|
608
|
+
|
|
609
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
610
|
+
|
|
611
|
+
<p><p>Returns the value of attribute mutate_add_gene_prob.</p>
|
|
612
|
+
</div></span></p>
|
|
613
|
+
|
|
614
|
+
<p></li></p>
|
|
615
|
+
|
|
616
|
+
<pre> <li class="public ">
|
|
617
|
+
<span class="summary_signature">
|
|
618
|
+
|
|
619
|
+
<a href="#mutate_add_neuron_prob-instance_method" title="#mutate_add_neuron_prob (instance method)">- (Object) <strong>mutate_add_neuron_prob</strong> </a>
|
|
620
|
+
|
|
621
|
+
</span>
|
|
622
|
+
|
|
623
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
624
|
+
|
|
625
|
+
<p><p>Returns the value of attribute mutate_add_neuron_prob.</p>
|
|
626
|
+
</div></span></p>
|
|
627
|
+
|
|
628
|
+
<p></li></p>
|
|
629
|
+
|
|
630
|
+
<pre> <li class="public ">
|
|
631
|
+
<span class="summary_signature">
|
|
632
|
+
|
|
633
|
+
<a href="#mutate_change_gene_weights_prob-instance_method" title="#mutate_change_gene_weights_prob (instance method)">- (Object) <strong>mutate_change_gene_weights_prob</strong> </a>
|
|
634
|
+
|
|
635
|
+
</span>
|
|
636
|
+
|
|
637
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
638
|
+
|
|
639
|
+
<p><p>For gene weights perturbations and changes (complete
|
|
640
|
+
overwrites).</p> </div></span></p>
|
|
641
|
+
|
|
642
|
+
<p></li></p>
|
|
643
|
+
|
|
644
|
+
<pre> <li class="public ">
|
|
645
|
+
<span class="summary_signature">
|
|
646
|
+
|
|
647
|
+
<a href="#mutate_change_gene_weights_sd-instance_method" title="#mutate_change_gene_weights_sd (instance method)">- (Object) <strong>mutate_change_gene_weights_sd</strong> </a>
|
|
648
|
+
|
|
649
|
+
</span>
|
|
650
|
+
|
|
651
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
652
|
+
|
|
653
|
+
<p><p>For gene weights perturbations and changes (complete
|
|
654
|
+
overwrites).</p> </div></span></p>
|
|
655
|
+
|
|
656
|
+
<p></li></p>
|
|
657
|
+
|
|
658
|
+
<pre> <li class="public ">
|
|
659
|
+
<span class="summary_signature">
|
|
660
|
+
|
|
661
|
+
<a href="#mutate_gene_disable_prob-instance_method" title="#mutate_gene_disable_prob (instance method)">- (Object) <strong>mutate_gene_disable_prob</strong> </a>
|
|
662
|
+
|
|
663
|
+
</span>
|
|
664
|
+
|
|
665
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
666
|
+
|
|
667
|
+
<p><p>Returns the value of attribute mutate_gene_disable_prob.</p>
|
|
668
|
+
</div></span></p>
|
|
669
|
+
|
|
670
|
+
<p></li></p>
|
|
671
|
+
|
|
672
|
+
<pre> <li class="public ">
|
|
673
|
+
<span class="summary_signature">
|
|
674
|
+
|
|
675
|
+
<a href="#mutate_gene_reenable_prob-instance_method" title="#mutate_gene_reenable_prob (instance method)">- (Object) <strong>mutate_gene_reenable_prob</strong> </a>
|
|
676
|
+
|
|
677
|
+
</span>
|
|
678
|
+
|
|
679
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
680
|
+
|
|
681
|
+
<p><p>Returns the value of attribute
|
|
682
|
+
mutate_gene_reenable_prob.</p> </div></span></p>
|
|
683
|
+
|
|
684
|
+
<p></li></p>
|
|
685
|
+
|
|
686
|
+
<pre> <li class="public ">
|
|
687
|
+
<span class="summary_signature">
|
|
688
|
+
|
|
689
|
+
<a href="#mutate_gene_trait_prob-instance_method" title="#mutate_gene_trait_prob (instance method)">- (Object) <strong>mutate_gene_trait_prob</strong> </a>
|
|
690
|
+
|
|
691
|
+
</span>
|
|
692
|
+
|
|
693
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
694
|
+
|
|
695
|
+
<p><p>Returns the value of attribute mutate_gene_trait_prob.</p>
|
|
696
|
+
</div></span></p>
|
|
697
|
+
|
|
698
|
+
<p></li></p>
|
|
699
|
+
|
|
700
|
+
<pre> <li class="public ">
|
|
701
|
+
<span class="summary_signature">
|
|
702
|
+
|
|
703
|
+
<a href="#mutate_neuron_trait_prob-instance_method" title="#mutate_neuron_trait_prob (instance method)">- (Object) <strong>mutate_neuron_trait_prob</strong> </a>
|
|
704
|
+
|
|
705
|
+
</span>
|
|
706
|
+
|
|
707
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
708
|
+
|
|
709
|
+
<p><p>Returns the value of attribute mutate_neuron_trait_prob.</p>
|
|
710
|
+
</div></span></p>
|
|
711
|
+
|
|
712
|
+
<p></li></p>
|
|
713
|
+
|
|
714
|
+
<pre> <li class="public ">
|
|
715
|
+
<span class="summary_signature">
|
|
716
|
+
|
|
717
|
+
<a href="#mutate_only_prob-instance_method" title="#mutate_only_prob (instance method)">- (Object) <strong>mutate_only_prob</strong> </a>
|
|
718
|
+
|
|
719
|
+
</span>
|
|
720
|
+
|
|
721
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
722
|
+
|
|
723
|
+
<p><p>Returns the value of attribute mutate_only_prob.</p>
|
|
724
|
+
</div></span></p>
|
|
725
|
+
|
|
726
|
+
<p></li></p>
|
|
727
|
+
|
|
728
|
+
<pre> <li class="public ">
|
|
729
|
+
<span class="summary_signature">
|
|
730
|
+
|
|
731
|
+
<a href="#mutate_perturb_gene_weights_prob-instance_method" title="#mutate_perturb_gene_weights_prob (instance method)">- (Object) <strong>mutate_perturb_gene_weights_prob</strong> </a>
|
|
732
|
+
|
|
733
|
+
</span>
|
|
734
|
+
|
|
735
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
736
|
+
|
|
737
|
+
<p><p>For gene weights perturbations and changes (complete
|
|
738
|
+
overwrites).</p> </div></span></p>
|
|
739
|
+
|
|
740
|
+
<p></li></p>
|
|
741
|
+
|
|
742
|
+
<pre> <li class="public ">
|
|
743
|
+
<span class="summary_signature">
|
|
744
|
+
|
|
745
|
+
<a href="#mutate_perturb_gene_weights_sd-instance_method" title="#mutate_perturb_gene_weights_sd (instance method)">- (Object) <strong>mutate_perturb_gene_weights_sd</strong> </a>
|
|
746
|
+
|
|
747
|
+
</span>
|
|
748
|
+
|
|
749
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
750
|
+
|
|
751
|
+
<p><p>For gene weights perturbations and changes (complete
|
|
752
|
+
overwrites).</p> </div></span></p>
|
|
753
|
+
|
|
754
|
+
<p></li></p>
|
|
755
|
+
|
|
756
|
+
<pre> <li class="public ">
|
|
757
|
+
<span class="summary_signature">
|
|
758
|
+
|
|
759
|
+
<a href="#mutate_random_trait_prob-instance_method" title="#mutate_random_trait_prob (instance method)">- (Object) <strong>mutate_random_trait_prob</strong> </a>
|
|
760
|
+
|
|
761
|
+
</span>
|
|
762
|
+
|
|
763
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
764
|
+
|
|
765
|
+
<p><p>Returns the value of attribute mutate_random_trait_prob.</p>
|
|
766
|
+
</div></span></p>
|
|
767
|
+
|
|
768
|
+
<p></li></p>
|
|
769
|
+
|
|
770
|
+
<pre> <li class="public ">
|
|
771
|
+
<span class="summary_signature">
|
|
772
|
+
|
|
773
|
+
<a href="#mutate_toggle_enable_prob-instance_method" title="#mutate_toggle_enable_prob (instance method)">- (Object) <strong>mutate_toggle_enable_prob</strong> </a>
|
|
774
|
+
|
|
775
|
+
</span>
|
|
776
|
+
|
|
777
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
778
|
+
|
|
779
|
+
<p><p>Returns the value of attribute
|
|
780
|
+
mutate_toggle_enable_prob.</p> </div></span></p>
|
|
781
|
+
|
|
782
|
+
<p></li></p>
|
|
783
|
+
|
|
784
|
+
<pre> <li class="public ">
|
|
785
|
+
<span class="summary_signature">
|
|
786
|
+
|
|
787
|
+
<a href="#mutdiff_coefficient-instance_method" title="#mutdiff_coefficient (instance method)">- (Object) <strong>mutdiff_coefficient</strong> </a>
|
|
788
|
+
|
|
789
|
+
</span>
|
|
790
|
+
|
|
791
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
792
|
+
|
|
793
|
+
<p><p>Returns the value of attribute mutdiff_coefficient.</p>
|
|
794
|
+
</div></span></p>
|
|
795
|
+
|
|
796
|
+
<p></li></p>
|
|
797
|
+
|
|
798
|
+
<pre> <li class="public ">
|
|
799
|
+
<span class="summary_signature">
|
|
800
|
+
|
|
801
|
+
<a href="#neuron_trait_mut_sig-instance_method" title="#neuron_trait_mut_sig (instance method)">- (Object) <strong>neuron_trait_mut_sig</strong> </a>
|
|
802
|
+
|
|
803
|
+
</span>
|
|
804
|
+
|
|
805
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
806
|
+
|
|
807
|
+
<p><p>Returns the value of attribute neuron_trait_mut_sig.</p>
|
|
808
|
+
</div></span></p>
|
|
809
|
+
|
|
810
|
+
<p></li></p>
|
|
811
|
+
|
|
812
|
+
<pre> <li class="public ">
|
|
813
|
+
<span class="summary_signature">
|
|
814
|
+
|
|
815
|
+
<a href="#newlink_tries-instance_method" title="#newlink_tries (instance method)">- (Object) <strong>newlink_tries</strong> </a>
|
|
816
|
+
|
|
817
|
+
</span>
|
|
818
|
+
|
|
819
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
820
|
+
|
|
821
|
+
<p><p>Returns the value of attribute newlink_tries.</p>
|
|
822
|
+
</div></span></p>
|
|
823
|
+
|
|
824
|
+
<p></li></p>
|
|
825
|
+
|
|
826
|
+
<pre> <li class="public ">
|
|
827
|
+
<span class="summary_signature">
|
|
828
|
+
|
|
829
|
+
<a href="#population_size-instance_method" title="#population_size (instance method)">- (Object) <strong>population_size</strong> </a>
|
|
830
|
+
|
|
831
|
+
</span>
|
|
832
|
+
|
|
833
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
834
|
+
|
|
835
|
+
<p><p>If set, will start off at the specified size and grow to the
|
|
836
|
+
bigger population size.</p> </div></span></p>
|
|
837
|
+
|
|
838
|
+
<p></li></p>
|
|
839
|
+
|
|
840
|
+
<pre> <li class="public ">
|
|
841
|
+
<span class="summary_signature">
|
|
842
|
+
|
|
843
|
+
<a href="#print_every-instance_method" title="#print_every (instance method)">- (Object) <strong>print_every</strong> </a>
|
|
844
|
+
|
|
845
|
+
</span>
|
|
846
|
+
|
|
847
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
848
|
+
|
|
849
|
+
<p><p>Returns the value of attribute print_every.</p>
|
|
850
|
+
</div></span></p>
|
|
851
|
+
|
|
852
|
+
<p></li></p>
|
|
853
|
+
|
|
854
|
+
<pre> <li class="public ">
|
|
855
|
+
<span class="summary_signature">
|
|
856
|
+
|
|
857
|
+
<a href="#real_time_switch-instance_method" title="#real_time_switch (instance method)">- (Object) <strong>real_time_switch</strong> </a>
|
|
858
|
+
|
|
859
|
+
</span>
|
|
860
|
+
|
|
861
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
862
|
+
|
|
863
|
+
<p><p>Enable RT-NEAT, for gradual evolution suitable for games and other
|
|
864
|
+
human-interactive systems.</p> </div></span></p>
|
|
865
|
+
|
|
866
|
+
<p></li></p>
|
|
867
|
+
|
|
868
|
+
<pre> <li class="public ">
|
|
869
|
+
<span class="summary_signature">
|
|
870
|
+
|
|
871
|
+
<a href="#recur_only_prob-instance_method" title="#recur_only_prob (instance method)">- (Object) <strong>recur_only_prob</strong> </a>
|
|
872
|
+
|
|
873
|
+
</span>
|
|
874
|
+
|
|
875
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
876
|
+
|
|
877
|
+
<p><p>Returns the value of attribute recur_only_prob.</p>
|
|
878
|
+
</div></span></p>
|
|
879
|
+
|
|
880
|
+
<p></li></p>
|
|
881
|
+
|
|
882
|
+
<pre> <li class="public ">
|
|
883
|
+
<span class="summary_signature">
|
|
884
|
+
|
|
885
|
+
<a href="#recur_prob-instance_method" title="#recur_prob (instance method)">- (Object) <strong>recur_prob</strong> </a>
|
|
886
|
+
|
|
887
|
+
</span>
|
|
888
|
+
|
|
889
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
890
|
+
|
|
891
|
+
<p><p>Returns the value of attribute recur_prob.</p>
|
|
892
|
+
</div></span></p>
|
|
893
|
+
|
|
894
|
+
<p></li></p>
|
|
895
|
+
|
|
896
|
+
<pre> <li class="public ">
|
|
897
|
+
<span class="summary_signature">
|
|
898
|
+
|
|
899
|
+
<a href="#recurrency_switch-instance_method" title="#recurrency_switch (instance method)">- (Object) <strong>recurrency_switch</strong> </a>
|
|
900
|
+
|
|
901
|
+
</span>
|
|
902
|
+
|
|
903
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
904
|
+
|
|
905
|
+
<p><p>If true, allow for recurrent networks.</p>
|
|
906
|
+
</div></span></p>
|
|
907
|
+
|
|
908
|
+
<p></li></p>
|
|
909
|
+
|
|
910
|
+
<pre> <li class="public ">
|
|
911
|
+
<span class="summary_signature">
|
|
912
|
+
|
|
913
|
+
<a href="#smallest_species-instance_method" title="#smallest_species (instance method)">- (Object) <strong>smallest_species</strong> </a>
|
|
914
|
+
|
|
915
|
+
</span>
|
|
916
|
+
|
|
917
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
918
|
+
|
|
919
|
+
<p><p>Species smallest population allowed (coalse smaller species into
|
|
920
|
+
one).</p> </div></span></p>
|
|
921
|
+
|
|
922
|
+
<p></li></p>
|
|
923
|
+
|
|
924
|
+
<pre> <li class="public ">
|
|
925
|
+
<span class="summary_signature">
|
|
926
|
+
|
|
927
|
+
<a href="#start_population_size-instance_method" title="#start_population_size (instance method)">- (Object) <strong>start_population_size</strong> </a>
|
|
928
|
+
|
|
929
|
+
</span>
|
|
930
|
+
|
|
931
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
932
|
+
|
|
933
|
+
<p><p>If set, will start off at the specified size and grow to the
|
|
934
|
+
bigger population size.</p> </div></span></p>
|
|
935
|
+
|
|
936
|
+
<p></li></p>
|
|
937
|
+
|
|
938
|
+
<pre> <li class="public ">
|
|
939
|
+
<span class="summary_signature">
|
|
940
|
+
|
|
941
|
+
<a href="#start_sequence_at-instance_method" title="#start_sequence_at (instance method)">- (Object) <strong>start_sequence_at</strong> </a>
|
|
942
|
+
|
|
943
|
+
</span>
|
|
944
|
+
|
|
945
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
946
|
+
|
|
947
|
+
<p><p>Returns the value of attribute start_sequence_at.</p>
|
|
948
|
+
</div></span></p>
|
|
949
|
+
|
|
950
|
+
<p></li></p>
|
|
951
|
+
|
|
952
|
+
<pre> <li class="public ">
|
|
953
|
+
<span class="summary_signature">
|
|
954
|
+
|
|
955
|
+
<a href="#survival_mininum_per_species-instance_method" title="#survival_mininum_per_species (instance method)">- (Object) <strong>survival_mininum_per_species</strong> </a>
|
|
956
|
+
|
|
957
|
+
</span>
|
|
958
|
+
|
|
959
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
960
|
+
|
|
961
|
+
<p><p>Returns the value of attribute
|
|
962
|
+
survival_mininum_per_species.</p> </div></span></p>
|
|
963
|
+
|
|
964
|
+
<p></li></p>
|
|
965
|
+
|
|
966
|
+
<pre> <li class="public ">
|
|
967
|
+
<span class="summary_signature">
|
|
968
|
+
|
|
969
|
+
<a href="#survival_threshold-instance_method" title="#survival_threshold (instance method)">- (Object) <strong>survival_threshold</strong> </a>
|
|
970
|
+
|
|
971
|
+
</span>
|
|
972
|
+
|
|
973
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
974
|
+
|
|
975
|
+
<p><p>factor (0 to 1) of the top percentage of the species
|
|
976
|
+
that&#39;s allowed to mate.</p> </div></span></p>
|
|
977
|
+
|
|
978
|
+
<p></li></p>
|
|
979
|
+
|
|
980
|
+
<pre> <li class="public ">
|
|
981
|
+
<span class="summary_signature">
|
|
982
|
+
|
|
983
|
+
<a href="#trait_mutation_power-instance_method" title="#trait_mutation_power (instance method)">- (Object) <strong>trait_mutation_power</strong> </a>
|
|
984
|
+
|
|
985
|
+
</span>
|
|
986
|
+
|
|
987
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
988
|
+
|
|
989
|
+
<p><p>Returns the value of attribute trait_mutation_power.</p>
|
|
990
|
+
</div></span></p>
|
|
991
|
+
|
|
992
|
+
<p></li></p>
|
|
993
|
+
|
|
994
|
+
<pre> <li class="public ">
|
|
995
|
+
<span class="summary_signature">
|
|
996
|
+
|
|
997
|
+
<a href="#trait_param_mut_prob-instance_method" title="#trait_param_mut_prob (instance method)">- (Object) <strong>trait_param_mut_prob</strong> </a>
|
|
998
|
+
|
|
999
|
+
</span>
|
|
1000
|
+
|
|
1001
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
1002
|
+
|
|
1003
|
+
<p><p>Returns the value of attribute trait_param_mut_prob.</p>
|
|
1004
|
+
</div></span></p>
|
|
1005
|
+
|
|
1006
|
+
<p></li></p>
|
|
1007
|
+
|
|
1008
|
+
<pre> <li class="public ">
|
|
1009
|
+
<span class="summary_signature">
|
|
1010
|
+
|
|
1011
|
+
<a href="#weigh_mut_power-instance_method" title="#weigh_mut_power (instance method)">- (Object) <strong>weigh_mut_power</strong> </a>
|
|
1012
|
+
|
|
1013
|
+
</span>
|
|
1014
|
+
|
|
1015
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
1016
|
+
|
|
1017
|
+
<p><p>Returns the value of attribute weigh_mut_power.</p>
|
|
1018
|
+
</div></span></p>
|
|
1019
|
+
|
|
1020
|
+
<p></li></p>
|
|
1021
|
+
|
|
1022
|
+
<pre> <li class="public ">
|
|
1023
|
+
<span class="summary_signature">
|
|
1024
|
+
|
|
1025
|
+
<a href="#weight_coefficient-instance_method" title="#weight_coefficient (instance method)">- (Object) <strong>weight_coefficient</strong> </a>
|
|
1026
|
+
|
|
1027
|
+
</span>
|
|
1028
|
+
|
|
1029
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
1030
|
+
|
|
1031
|
+
<p><p>Speciation coffficient.</p> </div></span></p>
|
|
1032
|
+
|
|
1033
|
+
<p></li></p>
|
|
1034
|
+
|
|
1035
|
+
<pre></ul>
|
|
1036
|
+
|
|
1037
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../NeatOb.html" title="NEAT::NeatOb (class)">NeatOb</a></span></h3>
|
|
1038
|
+
<p class="inherited"><span class='object_link'><a href="../NeatOb.html#controller-instance_method" title="NEAT::NeatOb#controller (method)">#controller</a></span>, <span class='object_link'><a href="../NeatOb.html#name-instance_method" title="NEAT::NeatOb#name (method)">#name</a></span></p>
|
|
1039
|
+
|
|
1040
|
+
<h2>
|
|
1041
|
+
Instance Method Summary
|
|
1042
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
1043
|
+
</h2>
|
|
1044
|
+
|
|
1045
|
+
<ul class="summary">
|
|
1046
|
+
|
|
1047
|
+
<li class="public ">
|
|
1048
|
+
<span class="summary_signature">
|
|
1049
|
+
|
|
1050
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (NeatSettings) <strong>initialize</strong> </a>
|
|
1051
|
+
|
|
1052
|
+
</span>
|
|
1053
|
+
|
|
1054
|
+
<span class="note title constructor">constructor</span>
|
|
1055
|
+
|
|
1056
|
+
<span class="summary_desc"><div class='inline'></pre>
|
|
1057
|
+
|
|
1058
|
+
<p><p>Set up defaults for mandatory entries.</p>
|
|
1059
|
+
</div></span></p>
|
|
1060
|
+
|
|
1061
|
+
<p></li></p>
|
|
1062
|
+
|
|
1063
|
+
<pre> </ul>
|
|
1064
|
+
|
|
1065
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../NeatOb.html" title="NEAT::NeatOb (class)">NeatOb</a></span></h3>
|
|
1066
|
+
<p class="inherited"><span class='object_link'><a href="../NeatOb.html#log-instance_method" title="NEAT::NeatOb#log (method)">#log</a></span>, <span class='object_link'><a href="../NeatOb.html#log-class_method" title="NEAT::NeatOb.log (method)">log</a></span>, <span class='object_link'><a href="../NeatOb.html#to_s-instance_method" title="NEAT::NeatOb#to_s (method)">#to_s</a></span></p>
|
|
1067
|
+
|
|
1068
|
+
<div id="constructor_details" class="method_details_list">
|
|
1069
|
+
<h2>Constructor Details</h2>
|
|
1070
|
+
|
|
1071
|
+
<div class="method_details first">
|
|
1072
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
1073
|
+
|
|
1074
|
+
- (<tt><span class='object_link'><a href="" title="NEAT::Controller::NeatSettings (class)">NeatSettings</a></span></tt>) <strong>initialize</strong></pre>
|
|
1075
|
+
|
|
1076
|
+
<p></h3><div class=“docstring”></p>
|
|
1077
|
+
|
|
1078
|
+
<pre><div class="discussion"></pre>
|
|
1079
|
+
|
|
1080
|
+
<p><p>Set up defaults for mandatory entries.</p></p>
|
|
1081
|
+
|
|
1082
|
+
<pre></div></pre>
|
|
1083
|
+
|
|
1084
|
+
<p></div> <div class=“tags”></p>
|
|
1085
|
+
|
|
1086
|
+
<p></div><table class=“source_code”></p>
|
|
1087
|
+
|
|
1088
|
+
<pre><tr>
|
|
1089
|
+
<td>
|
|
1090
|
+
<pre class="lines"></pre>
|
|
1091
|
+
|
|
1092
|
+
<p>318 319 320 321 322 323 324 325 326 327 328</pre></p>
|
|
1093
|
+
|
|
1094
|
+
<pre></td>
|
|
1095
|
+
<td>
|
|
1096
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 318</span></pre>
|
|
1097
|
+
|
|
1098
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1099
|
+
identifier rubyid_initialize'>initialize</span></p>
|
|
1100
|
+
|
|
1101
|
+
<pre><span class='kw'>super</span>
|
|
1102
|
+
<span class='ivar'>@start_sequence_at</span> <span class='op'>=</span> <span class='int'>0</span>
|
|
1103
|
+
<span class='ivar'>@end_sequence_at</span> <span class='op'>=</span> <span class='int'>100</span>
|
|
1104
|
+
<span class='ivar'>@max_generations</span> <span class='op'>=</span> <span class='int'>1000</span>
|
|
1105
|
+
|
|
1106
|
+
<span class='comment'># Default operators</pre>
|
|
1107
|
+
|
|
1108
|
+
<p></span> <span class='ivar'>@evaluator</span>
|
|
1109
|
+
<span class='op'>=</span> <span
|
|
1110
|
+
class='const'>Evaluator</span><span
|
|
1111
|
+
class='period'>.</span><span class='id identifier
|
|
1112
|
+
rubyid_new'>new</span> <span
|
|
1113
|
+
class='kw'>self</span></p>
|
|
1114
|
+
|
|
1115
|
+
<pre><span class='ivar'>@expressor</span> <span class='op'>=</span> <span class='const'>Expressor</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>self</span>
|
|
1116
|
+
<span class='ivar'>@evolver</span> <span class='op'>=</span> <span class='const'>Evolver</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>self</span></pre>
|
|
1117
|
+
|
|
1118
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1119
|
+
|
|
1120
|
+
<pre> </td>
|
|
1121
|
+
</tr></pre>
|
|
1122
|
+
|
|
1123
|
+
<p></table> </div></p>
|
|
1124
|
+
|
|
1125
|
+
<p></div></p>
|
|
1126
|
+
|
|
1127
|
+
<pre><div id="instance_attr_details" class="attr_details">
|
|
1128
|
+
<h2>Instance Attribute Details</h2>
|
|
1129
|
+
|
|
1130
|
+
<span id="age_significance=-instance_method"></span>
|
|
1131
|
+
<div class="method_details first">
|
|
1132
|
+
<h3 class="signature first" id="age_significance-instance_method">
|
|
1133
|
+
|
|
1134
|
+
- (<tt>Object</tt>) <strong>age_significance</strong></pre>
|
|
1135
|
+
|
|
1136
|
+
<p></h3><div class=“docstring”></p>
|
|
1137
|
+
|
|
1138
|
+
<pre><div class="discussion"></pre>
|
|
1139
|
+
|
|
1140
|
+
<p><p>based on the C version of <a
|
|
1141
|
+
href="../../../NEAT.html">NEAT</a></p></p>
|
|
1142
|
+
|
|
1143
|
+
<pre></div></pre>
|
|
1144
|
+
|
|
1145
|
+
<p></div> <div class=“tags”></p>
|
|
1146
|
+
|
|
1147
|
+
<p></div><table class=“source_code”></p>
|
|
1148
|
+
|
|
1149
|
+
<pre><tr>
|
|
1150
|
+
<td>
|
|
1151
|
+
<pre class="lines"></pre>
|
|
1152
|
+
|
|
1153
|
+
<p>217 218 219</pre></p>
|
|
1154
|
+
|
|
1155
|
+
<pre></td>
|
|
1156
|
+
<td>
|
|
1157
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 217</span></pre>
|
|
1158
|
+
|
|
1159
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1160
|
+
identifier rubyid_age_significance'>age_significance</span></p>
|
|
1161
|
+
|
|
1162
|
+
<pre><span class='ivar'>@age_significance</span></pre>
|
|
1163
|
+
|
|
1164
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1165
|
+
|
|
1166
|
+
<pre> </td>
|
|
1167
|
+
</tr></pre>
|
|
1168
|
+
|
|
1169
|
+
<p></table> </div></p>
|
|
1170
|
+
|
|
1171
|
+
<pre> <span id="babies_stolen=-instance_method"></span>
|
|
1172
|
+
<div class="method_details ">
|
|
1173
|
+
<h3 class="signature " id="babies_stolen-instance_method">
|
|
1174
|
+
|
|
1175
|
+
- (<tt>Object</tt>) <strong>babies_stolen</strong></pre>
|
|
1176
|
+
|
|
1177
|
+
<p></h3><div class=“docstring”></p>
|
|
1178
|
+
|
|
1179
|
+
<pre><div class="discussion"></pre>
|
|
1180
|
+
|
|
1181
|
+
<p><p>Returns the value of attribute babies_stolen</p></p>
|
|
1182
|
+
|
|
1183
|
+
<pre></div></pre>
|
|
1184
|
+
|
|
1185
|
+
<p></div> <div class=“tags”></p>
|
|
1186
|
+
|
|
1187
|
+
<p></div><table class=“source_code”></p>
|
|
1188
|
+
|
|
1189
|
+
<pre><tr>
|
|
1190
|
+
<td>
|
|
1191
|
+
<pre class="lines"></pre>
|
|
1192
|
+
|
|
1193
|
+
<p>218 219 220</pre></p>
|
|
1194
|
+
|
|
1195
|
+
<pre></td>
|
|
1196
|
+
<td>
|
|
1197
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 218</span></pre>
|
|
1198
|
+
|
|
1199
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1200
|
+
identifier rubyid_babies_stolen'>babies_stolen</span></p>
|
|
1201
|
+
|
|
1202
|
+
<pre><span class='ivar'>@babies_stolen</span></pre>
|
|
1203
|
+
|
|
1204
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1205
|
+
|
|
1206
|
+
<pre> </td>
|
|
1207
|
+
</tr></pre>
|
|
1208
|
+
|
|
1209
|
+
<p></table> </div></p>
|
|
1210
|
+
|
|
1211
|
+
<pre> <span id="compatibility_threshold=-instance_method"></span>
|
|
1212
|
+
<div class="method_details ">
|
|
1213
|
+
<h3 class="signature " id="compatibility_threshold-instance_method">
|
|
1214
|
+
|
|
1215
|
+
- (<tt>Object</tt>) <strong>compatibility_threshold</strong></pre>
|
|
1216
|
+
|
|
1217
|
+
<p></h3><div class=“docstring”></p>
|
|
1218
|
+
|
|
1219
|
+
<pre><div class="discussion"></pre>
|
|
1220
|
+
|
|
1221
|
+
<p><p>Species compatability threshold</p></p>
|
|
1222
|
+
|
|
1223
|
+
<pre></div></pre>
|
|
1224
|
+
|
|
1225
|
+
<p></div> <div class=“tags”></p>
|
|
1226
|
+
|
|
1227
|
+
<p></div><table class=“source_code”></p>
|
|
1228
|
+
|
|
1229
|
+
<pre><tr>
|
|
1230
|
+
<td>
|
|
1231
|
+
<pre class="lines"></pre>
|
|
1232
|
+
|
|
1233
|
+
<p>221 222 223</pre></p>
|
|
1234
|
+
|
|
1235
|
+
<pre></td>
|
|
1236
|
+
<td>
|
|
1237
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 221</span></pre>
|
|
1238
|
+
|
|
1239
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1240
|
+
identifier
|
|
1241
|
+
rubyid_compatibility_threshold'>compatibility_threshold</span></p>
|
|
1242
|
+
|
|
1243
|
+
<pre><span class='ivar'>@compatibility_threshold</span></pre>
|
|
1244
|
+
|
|
1245
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1246
|
+
|
|
1247
|
+
<pre> </td>
|
|
1248
|
+
</tr></pre>
|
|
1249
|
+
|
|
1250
|
+
<p></table> </div></p>
|
|
1251
|
+
|
|
1252
|
+
<pre> <span id="disjoint_coefficient=-instance_method"></span>
|
|
1253
|
+
<div class="method_details ">
|
|
1254
|
+
<h3 class="signature " id="disjoint_coefficient-instance_method">
|
|
1255
|
+
|
|
1256
|
+
- (<tt>Object</tt>) <strong>disjoint_coefficient</strong></pre>
|
|
1257
|
+
|
|
1258
|
+
<p></h3><div class=“docstring”></p>
|
|
1259
|
+
|
|
1260
|
+
<pre><div class="discussion"></pre>
|
|
1261
|
+
|
|
1262
|
+
<p><p>Speciation coffficient</p></p>
|
|
1263
|
+
|
|
1264
|
+
<pre></div></pre>
|
|
1265
|
+
|
|
1266
|
+
<p></div> <div class=“tags”></p>
|
|
1267
|
+
|
|
1268
|
+
<p></div><table class=“source_code”></p>
|
|
1269
|
+
|
|
1270
|
+
<pre><tr>
|
|
1271
|
+
<td>
|
|
1272
|
+
<pre class="lines"></pre>
|
|
1273
|
+
|
|
1274
|
+
<p>224 225 226</pre></p>
|
|
1275
|
+
|
|
1276
|
+
<pre></td>
|
|
1277
|
+
<td>
|
|
1278
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 224</span></pre>
|
|
1279
|
+
|
|
1280
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1281
|
+
identifier
|
|
1282
|
+
rubyid_disjoint_coefficient'>disjoint_coefficient</span></p>
|
|
1283
|
+
|
|
1284
|
+
<pre><span class='ivar'>@disjoint_coefficient</span></pre>
|
|
1285
|
+
|
|
1286
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1287
|
+
|
|
1288
|
+
<pre> </td>
|
|
1289
|
+
</tr></pre>
|
|
1290
|
+
|
|
1291
|
+
<p></table> </div></p>
|
|
1292
|
+
|
|
1293
|
+
<pre> <span id="dropoff_age=-instance_method"></span>
|
|
1294
|
+
<div class="method_details ">
|
|
1295
|
+
<h3 class="signature " id="dropoff_age-instance_method">
|
|
1296
|
+
|
|
1297
|
+
- (<tt>Object</tt>) <strong>dropoff_age</strong></pre>
|
|
1298
|
+
|
|
1299
|
+
<p></h3><div class=“docstring”></p>
|
|
1300
|
+
|
|
1301
|
+
<pre><div class="discussion"></pre>
|
|
1302
|
+
|
|
1303
|
+
<p><p>Species Peality age for not making progress</p></p>
|
|
1304
|
+
|
|
1305
|
+
<pre></div></pre>
|
|
1306
|
+
|
|
1307
|
+
<p></div> <div class=“tags”></p>
|
|
1308
|
+
|
|
1309
|
+
<p></div><table class=“source_code”></p>
|
|
1310
|
+
|
|
1311
|
+
<pre><tr>
|
|
1312
|
+
<td>
|
|
1313
|
+
<pre class="lines"></pre>
|
|
1314
|
+
|
|
1315
|
+
<p>231 232 233</pre></p>
|
|
1316
|
+
|
|
1317
|
+
<pre></td>
|
|
1318
|
+
<td>
|
|
1319
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 231</span></pre>
|
|
1320
|
+
|
|
1321
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1322
|
+
identifier rubyid_dropoff_age'>dropoff_age</span></p>
|
|
1323
|
+
|
|
1324
|
+
<pre><span class='ivar'>@dropoff_age</span></pre>
|
|
1325
|
+
|
|
1326
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1327
|
+
|
|
1328
|
+
<pre> </td>
|
|
1329
|
+
</tr></pre>
|
|
1330
|
+
|
|
1331
|
+
<p></table> </div></p>
|
|
1332
|
+
|
|
1333
|
+
<pre> <span id="end_sequence_at=-instance_method"></span>
|
|
1334
|
+
<div class="method_details ">
|
|
1335
|
+
<h3 class="signature " id="end_sequence_at-instance_method">
|
|
1336
|
+
|
|
1337
|
+
- (<tt>Object</tt>) <strong>end_sequence_at</strong></pre>
|
|
1338
|
+
|
|
1339
|
+
<p></h3><div class=“docstring”></p>
|
|
1340
|
+
|
|
1341
|
+
<pre><div class="discussion"></pre>
|
|
1342
|
+
|
|
1343
|
+
<p><p>Returns the value of attribute end_sequence_at</p></p>
|
|
1344
|
+
|
|
1345
|
+
<pre></div></pre>
|
|
1346
|
+
|
|
1347
|
+
<p></div> <div class=“tags”></p>
|
|
1348
|
+
|
|
1349
|
+
<p></div><table class=“source_code”></p>
|
|
1350
|
+
|
|
1351
|
+
<pre><tr>
|
|
1352
|
+
<td>
|
|
1353
|
+
<pre class="lines"></pre>
|
|
1354
|
+
|
|
1355
|
+
<p>283 284 285</pre></p>
|
|
1356
|
+
|
|
1357
|
+
<pre></td>
|
|
1358
|
+
<td>
|
|
1359
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 283</span></pre>
|
|
1360
|
+
|
|
1361
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1362
|
+
identifier rubyid_end_sequence_at'>end_sequence_at</span></p>
|
|
1363
|
+
|
|
1364
|
+
<pre><span class='ivar'>@end_sequence_at</span></pre>
|
|
1365
|
+
|
|
1366
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1367
|
+
|
|
1368
|
+
<pre> </td>
|
|
1369
|
+
</tr></pre>
|
|
1370
|
+
|
|
1371
|
+
<p></table> </div></p>
|
|
1372
|
+
|
|
1373
|
+
<pre> <span id="evolved_substrate_switch=-instance_method"></span>
|
|
1374
|
+
<div class="method_details ">
|
|
1375
|
+
<h3 class="signature " id="evolved_substrate_switch-instance_method">
|
|
1376
|
+
|
|
1377
|
+
- (<tt>Object</tt>) <strong>evolved_substrate_switch</strong></pre>
|
|
1378
|
+
|
|
1379
|
+
<p></h3><div class=“docstring”></p>
|
|
1380
|
+
|
|
1381
|
+
<pre><div class="discussion"></pre>
|
|
1382
|
+
|
|
1383
|
+
<p><p>Enable Evolved Substrate HyperNEAT. Meaningless unless
|
|
1384
|
+
hyper_switch is also enabled.</p></p>
|
|
1385
|
+
|
|
1386
|
+
<pre></div></pre>
|
|
1387
|
+
|
|
1388
|
+
<p></div> <div class=“tags”></p>
|
|
1389
|
+
|
|
1390
|
+
<p></div><table class=“source_code”></p>
|
|
1391
|
+
|
|
1392
|
+
<pre><tr>
|
|
1393
|
+
<td>
|
|
1394
|
+
<pre class="lines"></pre>
|
|
1395
|
+
|
|
1396
|
+
<p>308 309 310</pre></p>
|
|
1397
|
+
|
|
1398
|
+
<pre></td>
|
|
1399
|
+
<td>
|
|
1400
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 308</span></pre>
|
|
1401
|
+
|
|
1402
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1403
|
+
identifier
|
|
1404
|
+
rubyid_evolved_substrate_switch'>evolved_substrate_switch</span></p>
|
|
1405
|
+
|
|
1406
|
+
<pre><span class='ivar'>@evolved_substrate_switch</span></pre>
|
|
1407
|
+
|
|
1408
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1409
|
+
|
|
1410
|
+
<pre> </td>
|
|
1411
|
+
</tr></pre>
|
|
1412
|
+
|
|
1413
|
+
<p></table> </div></p>
|
|
1414
|
+
|
|
1415
|
+
<pre> <span id="excess_coefficient=-instance_method"></span>
|
|
1416
|
+
<div class="method_details ">
|
|
1417
|
+
<h3 class="signature " id="excess_coefficient-instance_method">
|
|
1418
|
+
|
|
1419
|
+
- (<tt>Object</tt>) <strong>excess_coefficient</strong></pre>
|
|
1420
|
+
|
|
1421
|
+
<p></h3><div class=“docstring”></p>
|
|
1422
|
+
|
|
1423
|
+
<pre><div class="discussion"></pre>
|
|
1424
|
+
|
|
1425
|
+
<p><p>Speciation coffficient</p></p>
|
|
1426
|
+
|
|
1427
|
+
<pre></div></pre>
|
|
1428
|
+
|
|
1429
|
+
<p></div> <div class=“tags”></p>
|
|
1430
|
+
|
|
1431
|
+
<p></div><table class=“source_code”></p>
|
|
1432
|
+
|
|
1433
|
+
<pre><tr>
|
|
1434
|
+
<td>
|
|
1435
|
+
<pre class="lines"></pre>
|
|
1436
|
+
|
|
1437
|
+
<p>224 225 226</pre></p>
|
|
1438
|
+
|
|
1439
|
+
<pre></td>
|
|
1440
|
+
<td>
|
|
1441
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 224</span></pre>
|
|
1442
|
+
|
|
1443
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1444
|
+
identifier
|
|
1445
|
+
rubyid_excess_coefficient'>excess_coefficient</span></p>
|
|
1446
|
+
|
|
1447
|
+
<pre><span class='ivar'>@excess_coefficient</span></pre>
|
|
1448
|
+
|
|
1449
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1450
|
+
|
|
1451
|
+
<pre> </td>
|
|
1452
|
+
</tr></pre>
|
|
1453
|
+
|
|
1454
|
+
<p></table> </div></p>
|
|
1455
|
+
|
|
1456
|
+
<pre> <span id="feature_selection_switch=-instance_method"></span>
|
|
1457
|
+
<div class="method_details ">
|
|
1458
|
+
<h3 class="signature " id="feature_selection_switch-instance_method">
|
|
1459
|
+
|
|
1460
|
+
- (<tt>Object</tt>) <strong>feature_selection_switch</strong></pre>
|
|
1461
|
+
|
|
1462
|
+
<p></h3><div class=“docstring”></p>
|
|
1463
|
+
|
|
1464
|
+
<pre><div class="discussion"></pre>
|
|
1465
|
+
|
|
1466
|
+
<p><p>Enable FS-NEAT</p></p>
|
|
1467
|
+
|
|
1468
|
+
<pre></div></pre>
|
|
1469
|
+
|
|
1470
|
+
<p></div> <div class=“tags”></p>
|
|
1471
|
+
|
|
1472
|
+
<p></div><table class=“source_code”></p>
|
|
1473
|
+
|
|
1474
|
+
<pre><tr>
|
|
1475
|
+
<td>
|
|
1476
|
+
<pre class="lines"></pre>
|
|
1477
|
+
|
|
1478
|
+
<p>299 300 301</pre></p>
|
|
1479
|
+
|
|
1480
|
+
<pre></td>
|
|
1481
|
+
<td>
|
|
1482
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 299</span></pre>
|
|
1483
|
+
|
|
1484
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1485
|
+
identifier
|
|
1486
|
+
rubyid_feature_selection_switch'>feature_selection_switch</span></p>
|
|
1487
|
+
|
|
1488
|
+
<pre><span class='ivar'>@feature_selection_switch</span></pre>
|
|
1489
|
+
|
|
1490
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1491
|
+
|
|
1492
|
+
<pre> </td>
|
|
1493
|
+
</tr></pre>
|
|
1494
|
+
|
|
1495
|
+
<p></table> </div></p>
|
|
1496
|
+
|
|
1497
|
+
<pre> <span id="fitness_cost_per_gene=-instance_method"></span>
|
|
1498
|
+
<div class="method_details ">
|
|
1499
|
+
<h3 class="signature " id="fitness_cost_per_gene-instance_method">
|
|
1500
|
+
|
|
1501
|
+
- (<tt>Object</tt>) <strong>fitness_cost_per_gene</strong></pre>
|
|
1502
|
+
|
|
1503
|
+
<p></h3><div class=“docstring”></p>
|
|
1504
|
+
|
|
1505
|
+
<pre><div class="discussion"></pre>
|
|
1506
|
+
|
|
1507
|
+
<p><p>Returns the value of attribute fitness_cost_per_gene</p></p>
|
|
1508
|
+
|
|
1509
|
+
<pre></div></pre>
|
|
1510
|
+
|
|
1511
|
+
<p></div> <div class=“tags”></p>
|
|
1512
|
+
|
|
1513
|
+
<p></div><table class=“source_code”></p>
|
|
1514
|
+
|
|
1515
|
+
<pre><tr>
|
|
1516
|
+
<td>
|
|
1517
|
+
<pre class="lines"></pre>
|
|
1518
|
+
|
|
1519
|
+
<p>277 278 279</pre></p>
|
|
1520
|
+
|
|
1521
|
+
<pre></td>
|
|
1522
|
+
<td>
|
|
1523
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 277</span></pre>
|
|
1524
|
+
|
|
1525
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1526
|
+
identifier
|
|
1527
|
+
rubyid_fitness_cost_per_gene'>fitness_cost_per_gene</span></p>
|
|
1528
|
+
|
|
1529
|
+
<pre><span class='ivar'>@fitness_cost_per_gene</span></pre>
|
|
1530
|
+
|
|
1531
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1532
|
+
|
|
1533
|
+
<pre> </td>
|
|
1534
|
+
</tr></pre>
|
|
1535
|
+
|
|
1536
|
+
<p></table> </div></p>
|
|
1537
|
+
|
|
1538
|
+
<pre> <span id="fitness_cost_per_neuron=-instance_method"></span>
|
|
1539
|
+
<div class="method_details ">
|
|
1540
|
+
<h3 class="signature " id="fitness_cost_per_neuron-instance_method">
|
|
1541
|
+
|
|
1542
|
+
- (<tt>Object</tt>) <strong>fitness_cost_per_neuron</strong></pre>
|
|
1543
|
+
|
|
1544
|
+
<p></h3><div class=“docstring”></p>
|
|
1545
|
+
|
|
1546
|
+
<pre><div class="discussion"></pre>
|
|
1547
|
+
|
|
1548
|
+
<p><p>fitness costs, if given, use in the computation of fitness AFTER
|
|
1549
|
+
the overall fitness for the applied stimuli have been caclulated.</p></p>
|
|
1550
|
+
|
|
1551
|
+
<pre></div></pre>
|
|
1552
|
+
|
|
1553
|
+
<p></div> <div class=“tags”></p>
|
|
1554
|
+
|
|
1555
|
+
<p></div><table class=“source_code”></p>
|
|
1556
|
+
|
|
1557
|
+
<pre><tr>
|
|
1558
|
+
<td>
|
|
1559
|
+
<pre class="lines"></pre>
|
|
1560
|
+
|
|
1561
|
+
<p>276 277 278</pre></p>
|
|
1562
|
+
|
|
1563
|
+
<pre></td>
|
|
1564
|
+
<td>
|
|
1565
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 276</span></pre>
|
|
1566
|
+
|
|
1567
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1568
|
+
identifier
|
|
1569
|
+
rubyid_fitness_cost_per_neuron'>fitness_cost_per_neuron</span></p>
|
|
1570
|
+
|
|
1571
|
+
<pre><span class='ivar'>@fitness_cost_per_neuron</span></pre>
|
|
1572
|
+
|
|
1573
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1574
|
+
|
|
1575
|
+
<pre> </td>
|
|
1576
|
+
</tr></pre>
|
|
1577
|
+
|
|
1578
|
+
<p></table> </div></p>
|
|
1579
|
+
|
|
1580
|
+
<pre> <span id="hash_on_fitness=-instance_method"></span>
|
|
1581
|
+
<div class="method_details ">
|
|
1582
|
+
<h3 class="signature " id="hash_on_fitness-instance_method">
|
|
1583
|
+
|
|
1584
|
+
- (<tt>Object</tt>) <strong>hash_on_fitness</strong></pre>
|
|
1585
|
+
|
|
1586
|
+
<p></h3><div class=“docstring”></p>
|
|
1587
|
+
|
|
1588
|
+
<pre><div class="discussion"></pre>
|
|
1589
|
+
|
|
1590
|
+
<p><p>Set to true to returned named parameters as hashes to the fitness
|
|
1591
|
+
function (the default is to do ordered arrays)</p></p>
|
|
1592
|
+
|
|
1593
|
+
<pre></div></pre>
|
|
1594
|
+
|
|
1595
|
+
<p></div> <div class=“tags”></p>
|
|
1596
|
+
|
|
1597
|
+
<p></div><table class=“source_code”></p>
|
|
1598
|
+
|
|
1599
|
+
<pre><tr>
|
|
1600
|
+
<td>
|
|
1601
|
+
<pre class="lines"></pre>
|
|
1602
|
+
|
|
1603
|
+
<p>214 215 216</pre></p>
|
|
1604
|
+
|
|
1605
|
+
<pre></td>
|
|
1606
|
+
<td>
|
|
1607
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 214</span></pre>
|
|
1608
|
+
|
|
1609
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1610
|
+
identifier rubyid_hash_on_fitness'>hash_on_fitness</span></p>
|
|
1611
|
+
|
|
1612
|
+
<pre><span class='ivar'>@hash_on_fitness</span></pre>
|
|
1613
|
+
|
|
1614
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1615
|
+
|
|
1616
|
+
<pre> </td>
|
|
1617
|
+
</tr></pre>
|
|
1618
|
+
|
|
1619
|
+
<p></table> </div></p>
|
|
1620
|
+
|
|
1621
|
+
<pre> <span id="hyper_switch=-instance_method"></span>
|
|
1622
|
+
<div class="method_details ">
|
|
1623
|
+
<h3 class="signature " id="hyper_switch-instance_method">
|
|
1624
|
+
|
|
1625
|
+
- (<tt>Object</tt>) <strong>hyper_switch</strong></pre>
|
|
1626
|
+
|
|
1627
|
+
<p></h3><div class=“docstring”></p>
|
|
1628
|
+
|
|
1629
|
+
<pre><div class="discussion"></pre>
|
|
1630
|
+
|
|
1631
|
+
<p><p>Enable HyperNEAT. This will result in the critters being
|
|
1632
|
+
interpreted as CPPNs for substrate weights. Additional setup will be
|
|
1633
|
+
necessary.</p></p>
|
|
1634
|
+
|
|
1635
|
+
<pre></div></pre>
|
|
1636
|
+
|
|
1637
|
+
<p></div> <div class=“tags”></p>
|
|
1638
|
+
|
|
1639
|
+
<p></div><table class=“source_code”></p>
|
|
1640
|
+
|
|
1641
|
+
<pre><tr>
|
|
1642
|
+
<td>
|
|
1643
|
+
<pre class="lines"></pre>
|
|
1644
|
+
|
|
1645
|
+
<p>304 305 306</pre></p>
|
|
1646
|
+
|
|
1647
|
+
<pre></td>
|
|
1648
|
+
<td>
|
|
1649
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 304</span></pre>
|
|
1650
|
+
|
|
1651
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1652
|
+
identifier rubyid_hyper_switch'>hyper_switch</span></p>
|
|
1653
|
+
|
|
1654
|
+
<pre><span class='ivar'>@hyper_switch</span></pre>
|
|
1655
|
+
|
|
1656
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1657
|
+
|
|
1658
|
+
<pre> </td>
|
|
1659
|
+
</tr></pre>
|
|
1660
|
+
|
|
1661
|
+
<p></table> </div></p>
|
|
1662
|
+
|
|
1663
|
+
<pre> <span id="interspecies_mate_rate=-instance_method"></span>
|
|
1664
|
+
<div class="method_details ">
|
|
1665
|
+
<h3 class="signature " id="interspecies_mate_rate-instance_method">
|
|
1666
|
+
|
|
1667
|
+
- (<tt>Object</tt>) <strong>interspecies_mate_rate</strong></pre>
|
|
1668
|
+
|
|
1669
|
+
<p></h3><div class=“docstring”></p>
|
|
1670
|
+
|
|
1671
|
+
<pre><div class="discussion"></pre>
|
|
1672
|
+
|
|
1673
|
+
<p><p>Ratio of mating are actually interspecies</p></p>
|
|
1674
|
+
|
|
1675
|
+
<pre></div></pre>
|
|
1676
|
+
|
|
1677
|
+
<p></div> <div class=“tags”></p>
|
|
1678
|
+
|
|
1679
|
+
<p></div><table class=“source_code”></p>
|
|
1680
|
+
|
|
1681
|
+
<pre><tr>
|
|
1682
|
+
<td>
|
|
1683
|
+
<pre class="lines"></pre>
|
|
1684
|
+
|
|
1685
|
+
<p>237 238 239</pre></p>
|
|
1686
|
+
|
|
1687
|
+
<pre></td>
|
|
1688
|
+
<td>
|
|
1689
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 237</span></pre>
|
|
1690
|
+
|
|
1691
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1692
|
+
identifier
|
|
1693
|
+
rubyid_interspecies_mate_rate'>interspecies_mate_rate</span></p>
|
|
1694
|
+
|
|
1695
|
+
<pre><span class='ivar'>@interspecies_mate_rate</span></pre>
|
|
1696
|
+
|
|
1697
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1698
|
+
|
|
1699
|
+
<pre> </td>
|
|
1700
|
+
</tr></pre>
|
|
1701
|
+
|
|
1702
|
+
<p></table> </div></p>
|
|
1703
|
+
|
|
1704
|
+
<pre> <span id="linktrait_mutation_sig=-instance_method"></span>
|
|
1705
|
+
<div class="method_details ">
|
|
1706
|
+
<h3 class="signature " id="linktrait_mutation_sig-instance_method">
|
|
1707
|
+
|
|
1708
|
+
- (<tt>Object</tt>) <strong>linktrait_mutation_sig</strong></pre>
|
|
1709
|
+
|
|
1710
|
+
<p></h3><div class=“docstring”></p>
|
|
1711
|
+
|
|
1712
|
+
<pre><div class="discussion"></pre>
|
|
1713
|
+
|
|
1714
|
+
<p><p>Returns the value of attribute linktrait_mutation_sig</p></p>
|
|
1715
|
+
|
|
1716
|
+
<pre></div></pre>
|
|
1717
|
+
|
|
1718
|
+
<p></div> <div class=“tags”></p>
|
|
1719
|
+
|
|
1720
|
+
<p></div><table class=“source_code”></p>
|
|
1721
|
+
|
|
1722
|
+
<pre><tr>
|
|
1723
|
+
<td>
|
|
1724
|
+
<pre class="lines"></pre>
|
|
1725
|
+
|
|
1726
|
+
<p>239 240 241</pre></p>
|
|
1727
|
+
|
|
1728
|
+
<pre></td>
|
|
1729
|
+
<td>
|
|
1730
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 239</span></pre>
|
|
1731
|
+
|
|
1732
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1733
|
+
identifier
|
|
1734
|
+
rubyid_linktrait_mutation_sig'>linktrait_mutation_sig</span></p>
|
|
1735
|
+
|
|
1736
|
+
<pre><span class='ivar'>@linktrait_mutation_sig</span></pre>
|
|
1737
|
+
|
|
1738
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1739
|
+
|
|
1740
|
+
<pre> </td>
|
|
1741
|
+
</tr></pre>
|
|
1742
|
+
|
|
1743
|
+
<p></table> </div></p>
|
|
1744
|
+
|
|
1745
|
+
<pre> <span id="mate_multipoint_avg_prob=-instance_method"></span>
|
|
1746
|
+
<div class="method_details ">
|
|
1747
|
+
<h3 class="signature " id="mate_multipoint_avg_prob-instance_method">
|
|
1748
|
+
|
|
1749
|
+
- (<tt>Object</tt>) <strong>mate_multipoint_avg_prob</strong></pre>
|
|
1750
|
+
|
|
1751
|
+
<p></h3><div class=“docstring”></p>
|
|
1752
|
+
|
|
1753
|
+
<pre><div class="discussion"></pre>
|
|
1754
|
+
|
|
1755
|
+
<p><p>Returns the value of attribute mate_multipoint_avg_prob</p></p>
|
|
1756
|
+
|
|
1757
|
+
<pre></div></pre>
|
|
1758
|
+
|
|
1759
|
+
<p></div> <div class=“tags”></p>
|
|
1760
|
+
|
|
1761
|
+
<p></div><table class=“source_code”></p>
|
|
1762
|
+
|
|
1763
|
+
<pre><tr>
|
|
1764
|
+
<td>
|
|
1765
|
+
<pre class="lines"></pre>
|
|
1766
|
+
|
|
1767
|
+
<p>240 241 242</pre></p>
|
|
1768
|
+
|
|
1769
|
+
<pre></td>
|
|
1770
|
+
<td>
|
|
1771
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 240</span></pre>
|
|
1772
|
+
|
|
1773
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1774
|
+
identifier
|
|
1775
|
+
rubyid_mate_multipoint_avg_prob'>mate_multipoint_avg_prob</span></p>
|
|
1776
|
+
|
|
1777
|
+
<pre><span class='ivar'>@mate_multipoint_avg_prob</span></pre>
|
|
1778
|
+
|
|
1779
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1780
|
+
|
|
1781
|
+
<pre> </td>
|
|
1782
|
+
</tr></pre>
|
|
1783
|
+
|
|
1784
|
+
<p></table> </div></p>
|
|
1785
|
+
|
|
1786
|
+
<pre> <span id="mate_multipoint_prob=-instance_method"></span>
|
|
1787
|
+
<div class="method_details ">
|
|
1788
|
+
<h3 class="signature " id="mate_multipoint_prob-instance_method">
|
|
1789
|
+
|
|
1790
|
+
- (<tt>Object</tt>) <strong>mate_multipoint_prob</strong></pre>
|
|
1791
|
+
|
|
1792
|
+
<p></h3><div class=“docstring”></p>
|
|
1793
|
+
|
|
1794
|
+
<pre><div class="discussion"></pre>
|
|
1795
|
+
|
|
1796
|
+
<p><p>Returns the value of attribute mate_multipoint_prob</p></p>
|
|
1797
|
+
|
|
1798
|
+
<pre></div></pre>
|
|
1799
|
+
|
|
1800
|
+
<p></div> <div class=“tags”></p>
|
|
1801
|
+
|
|
1802
|
+
<p></div><table class=“source_code”></p>
|
|
1803
|
+
|
|
1804
|
+
<pre><tr>
|
|
1805
|
+
<td>
|
|
1806
|
+
<pre class="lines"></pre>
|
|
1807
|
+
|
|
1808
|
+
<p>241 242 243</pre></p>
|
|
1809
|
+
|
|
1810
|
+
<pre></td>
|
|
1811
|
+
<td>
|
|
1812
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 241</span></pre>
|
|
1813
|
+
|
|
1814
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1815
|
+
identifier
|
|
1816
|
+
rubyid_mate_multipoint_prob'>mate_multipoint_prob</span></p>
|
|
1817
|
+
|
|
1818
|
+
<pre><span class='ivar'>@mate_multipoint_prob</span></pre>
|
|
1819
|
+
|
|
1820
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1821
|
+
|
|
1822
|
+
<pre> </td>
|
|
1823
|
+
</tr></pre>
|
|
1824
|
+
|
|
1825
|
+
<p></table> </div></p>
|
|
1826
|
+
|
|
1827
|
+
<pre> <span id="mate_only_prob=-instance_method"></span>
|
|
1828
|
+
<div class="method_details ">
|
|
1829
|
+
<h3 class="signature " id="mate_only_prob-instance_method">
|
|
1830
|
+
|
|
1831
|
+
- (<tt>Object</tt>) <strong>mate_only_prob</strong></pre>
|
|
1832
|
+
|
|
1833
|
+
<p></h3><div class=“docstring”></p>
|
|
1834
|
+
|
|
1835
|
+
<pre><div class="discussion"></pre>
|
|
1836
|
+
|
|
1837
|
+
<p><p>Returns the value of attribute mate_only_prob</p></p>
|
|
1838
|
+
|
|
1839
|
+
<pre></div></pre>
|
|
1840
|
+
|
|
1841
|
+
<p></div> <div class=“tags”></p>
|
|
1842
|
+
|
|
1843
|
+
<p></div><table class=“source_code”></p>
|
|
1844
|
+
|
|
1845
|
+
<pre><tr>
|
|
1846
|
+
<td>
|
|
1847
|
+
<pre class="lines"></pre>
|
|
1848
|
+
|
|
1849
|
+
<p>242 243 244</pre></p>
|
|
1850
|
+
|
|
1851
|
+
<pre></td>
|
|
1852
|
+
<td>
|
|
1853
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 242</span></pre>
|
|
1854
|
+
|
|
1855
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1856
|
+
identifier rubyid_mate_only_prob'>mate_only_prob</span></p>
|
|
1857
|
+
|
|
1858
|
+
<pre><span class='ivar'>@mate_only_prob</span></pre>
|
|
1859
|
+
|
|
1860
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1861
|
+
|
|
1862
|
+
<pre> </td>
|
|
1863
|
+
</tr></pre>
|
|
1864
|
+
|
|
1865
|
+
<p></table> </div></p>
|
|
1866
|
+
|
|
1867
|
+
<pre> <span id="mate_singlepoint_prob=-instance_method"></span>
|
|
1868
|
+
<div class="method_details ">
|
|
1869
|
+
<h3 class="signature " id="mate_singlepoint_prob-instance_method">
|
|
1870
|
+
|
|
1871
|
+
- (<tt>Object</tt>) <strong>mate_singlepoint_prob</strong></pre>
|
|
1872
|
+
|
|
1873
|
+
<p></h3><div class=“docstring”></p>
|
|
1874
|
+
|
|
1875
|
+
<pre><div class="discussion"></pre>
|
|
1876
|
+
|
|
1877
|
+
<p><p>Returns the value of attribute mate_singlepoint_prob</p></p>
|
|
1878
|
+
|
|
1879
|
+
<pre></div></pre>
|
|
1880
|
+
|
|
1881
|
+
<p></div> <div class=“tags”></p>
|
|
1882
|
+
|
|
1883
|
+
<p></div><table class=“source_code”></p>
|
|
1884
|
+
|
|
1885
|
+
<pre><tr>
|
|
1886
|
+
<td>
|
|
1887
|
+
<pre class="lines"></pre>
|
|
1888
|
+
|
|
1889
|
+
<p>243 244 245</pre></p>
|
|
1890
|
+
|
|
1891
|
+
<pre></td>
|
|
1892
|
+
<td>
|
|
1893
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 243</span></pre>
|
|
1894
|
+
|
|
1895
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1896
|
+
identifier
|
|
1897
|
+
rubyid_mate_singlepoint_prob'>mate_singlepoint_prob</span></p>
|
|
1898
|
+
|
|
1899
|
+
<pre><span class='ivar'>@mate_singlepoint_prob</span></pre>
|
|
1900
|
+
|
|
1901
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1902
|
+
|
|
1903
|
+
<pre> </td>
|
|
1904
|
+
</tr></pre>
|
|
1905
|
+
|
|
1906
|
+
<p></table> </div></p>
|
|
1907
|
+
|
|
1908
|
+
<pre> <span id="max_generations=-instance_method"></span>
|
|
1909
|
+
<div class="method_details ">
|
|
1910
|
+
<h3 class="signature " id="max_generations-instance_method">
|
|
1911
|
+
|
|
1912
|
+
- (<tt>Object</tt>) <strong>max_generations</strong></pre>
|
|
1913
|
+
|
|
1914
|
+
<p></h3><div class=“docstring”></p>
|
|
1915
|
+
|
|
1916
|
+
<pre><div class="discussion"></pre>
|
|
1917
|
+
|
|
1918
|
+
<p><p>Maximum number of generations to run, if given.</p></p>
|
|
1919
|
+
|
|
1920
|
+
<pre></div></pre>
|
|
1921
|
+
|
|
1922
|
+
<p></div> <div class=“tags”></p>
|
|
1923
|
+
|
|
1924
|
+
<p></div><table class=“source_code”></p>
|
|
1925
|
+
|
|
1926
|
+
<pre><tr>
|
|
1927
|
+
<td>
|
|
1928
|
+
<pre class="lines"></pre>
|
|
1929
|
+
|
|
1930
|
+
<p>246 247 248</pre></p>
|
|
1931
|
+
|
|
1932
|
+
<pre></td>
|
|
1933
|
+
<td>
|
|
1934
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 246</span></pre>
|
|
1935
|
+
|
|
1936
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1937
|
+
identifier rubyid_max_generations'>max_generations</span></p>
|
|
1938
|
+
|
|
1939
|
+
<pre><span class='ivar'>@max_generations</span></pre>
|
|
1940
|
+
|
|
1941
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1942
|
+
|
|
1943
|
+
<pre> </td>
|
|
1944
|
+
</tr></pre>
|
|
1945
|
+
|
|
1946
|
+
<p></table> </div></p>
|
|
1947
|
+
|
|
1948
|
+
<pre> <span id="max_population_history=-instance_method"></span>
|
|
1949
|
+
<div class="method_details ">
|
|
1950
|
+
<h3 class="signature " id="max_population_history-instance_method">
|
|
1951
|
+
|
|
1952
|
+
- (<tt>Object</tt>) <strong>max_population_history</strong></pre>
|
|
1953
|
+
|
|
1954
|
+
<p></h3><div class=“docstring”></p>
|
|
1955
|
+
|
|
1956
|
+
<pre><div class="discussion"></pre>
|
|
1957
|
+
|
|
1958
|
+
<p><p>Maximun number of populations to maintain in the history
|
|
1959
|
+
buffer.</p></p>
|
|
1960
|
+
|
|
1961
|
+
<pre></div></pre>
|
|
1962
|
+
|
|
1963
|
+
<p></div> <div class=“tags”></p>
|
|
1964
|
+
|
|
1965
|
+
<p></div><table class=“source_code”></p>
|
|
1966
|
+
|
|
1967
|
+
<pre><tr>
|
|
1968
|
+
<td>
|
|
1969
|
+
<pre class="lines"></pre>
|
|
1970
|
+
|
|
1971
|
+
<p>249 250 251</pre></p>
|
|
1972
|
+
|
|
1973
|
+
<pre></td>
|
|
1974
|
+
<td>
|
|
1975
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 249</span></pre>
|
|
1976
|
+
|
|
1977
|
+
<p><span class='kw'>def</span> <span class='id
|
|
1978
|
+
identifier
|
|
1979
|
+
rubyid_max_population_history'>max_population_history</span></p>
|
|
1980
|
+
|
|
1981
|
+
<pre><span class='ivar'>@max_population_history</span></pre>
|
|
1982
|
+
|
|
1983
|
+
<p><span class='kw'>end</span></pre></p>
|
|
1984
|
+
|
|
1985
|
+
<pre> </td>
|
|
1986
|
+
</tr></pre>
|
|
1987
|
+
|
|
1988
|
+
<p></table> </div></p>
|
|
1989
|
+
|
|
1990
|
+
<pre> <span id="max_species=-instance_method"></span>
|
|
1991
|
+
<div class="method_details ">
|
|
1992
|
+
<h3 class="signature " id="max_species-instance_method">
|
|
1993
|
+
|
|
1994
|
+
- (<tt>Object</tt>) <strong>max_species</strong></pre>
|
|
1995
|
+
|
|
1996
|
+
<p></h3><div class=“docstring”></p>
|
|
1997
|
+
|
|
1998
|
+
<pre><div class="discussion"></pre>
|
|
1999
|
+
|
|
2000
|
+
<p><p>Max target number of species (will result in the
|
|
2001
|
+
compatability_coeifficient being adjusted automatically</p></p>
|
|
2002
|
+
|
|
2003
|
+
<pre></div></pre>
|
|
2004
|
+
|
|
2005
|
+
<p></div> <div class=“tags”></p>
|
|
2006
|
+
|
|
2007
|
+
<p></div><table class=“source_code”></p>
|
|
2008
|
+
|
|
2009
|
+
<pre><tr>
|
|
2010
|
+
<td>
|
|
2011
|
+
<pre class="lines"></pre>
|
|
2012
|
+
|
|
2013
|
+
<p>228 229 230</pre></p>
|
|
2014
|
+
|
|
2015
|
+
<pre></td>
|
|
2016
|
+
<td>
|
|
2017
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 228</span></pre>
|
|
2018
|
+
|
|
2019
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2020
|
+
identifier rubyid_max_species'>max_species</span></p>
|
|
2021
|
+
|
|
2022
|
+
<pre><span class='ivar'>@max_species</span></pre>
|
|
2023
|
+
|
|
2024
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2025
|
+
|
|
2026
|
+
<pre> </td>
|
|
2027
|
+
</tr></pre>
|
|
2028
|
+
|
|
2029
|
+
<p></table> </div></p>
|
|
2030
|
+
|
|
2031
|
+
<pre> <span id="mutate_add_gene_prob=-instance_method"></span>
|
|
2032
|
+
<div class="method_details ">
|
|
2033
|
+
<h3 class="signature " id="mutate_add_gene_prob-instance_method">
|
|
2034
|
+
|
|
2035
|
+
- (<tt>Object</tt>) <strong>mutate_add_gene_prob</strong></pre>
|
|
2036
|
+
|
|
2037
|
+
<p></h3><div class=“docstring”></p>
|
|
2038
|
+
|
|
2039
|
+
<pre><div class="discussion"></pre>
|
|
2040
|
+
|
|
2041
|
+
<p><p>Returns the value of attribute mutate_add_gene_prob</p></p>
|
|
2042
|
+
|
|
2043
|
+
<pre></div></pre>
|
|
2044
|
+
|
|
2045
|
+
<p></div> <div class=“tags”></p>
|
|
2046
|
+
|
|
2047
|
+
<p></div><table class=“source_code”></p>
|
|
2048
|
+
|
|
2049
|
+
<pre><tr>
|
|
2050
|
+
<td>
|
|
2051
|
+
<pre class="lines"></pre>
|
|
2052
|
+
|
|
2053
|
+
<p>251 252 253</pre></p>
|
|
2054
|
+
|
|
2055
|
+
<pre></td>
|
|
2056
|
+
<td>
|
|
2057
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 251</span></pre>
|
|
2058
|
+
|
|
2059
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2060
|
+
identifier
|
|
2061
|
+
rubyid_mutate_add_gene_prob'>mutate_add_gene_prob</span></p>
|
|
2062
|
+
|
|
2063
|
+
<pre><span class='ivar'>@mutate_add_gene_prob</span></pre>
|
|
2064
|
+
|
|
2065
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2066
|
+
|
|
2067
|
+
<pre> </td>
|
|
2068
|
+
</tr></pre>
|
|
2069
|
+
|
|
2070
|
+
<p></table> </div></p>
|
|
2071
|
+
|
|
2072
|
+
<pre> <span id="mutate_add_neuron_prob=-instance_method"></span>
|
|
2073
|
+
<div class="method_details ">
|
|
2074
|
+
<h3 class="signature " id="mutate_add_neuron_prob-instance_method">
|
|
2075
|
+
|
|
2076
|
+
- (<tt>Object</tt>) <strong>mutate_add_neuron_prob</strong></pre>
|
|
2077
|
+
|
|
2078
|
+
<p></h3><div class=“docstring”></p>
|
|
2079
|
+
|
|
2080
|
+
<pre><div class="discussion"></pre>
|
|
2081
|
+
|
|
2082
|
+
<p><p>Returns the value of attribute mutate_add_neuron_prob</p></p>
|
|
2083
|
+
|
|
2084
|
+
<pre></div></pre>
|
|
2085
|
+
|
|
2086
|
+
<p></div> <div class=“tags”></p>
|
|
2087
|
+
|
|
2088
|
+
<p></div><table class=“source_code”></p>
|
|
2089
|
+
|
|
2090
|
+
<pre><tr>
|
|
2091
|
+
<td>
|
|
2092
|
+
<pre class="lines"></pre>
|
|
2093
|
+
|
|
2094
|
+
<p>252 253 254</pre></p>
|
|
2095
|
+
|
|
2096
|
+
<pre></td>
|
|
2097
|
+
<td>
|
|
2098
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 252</span></pre>
|
|
2099
|
+
|
|
2100
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2101
|
+
identifier
|
|
2102
|
+
rubyid_mutate_add_neuron_prob'>mutate_add_neuron_prob</span></p>
|
|
2103
|
+
|
|
2104
|
+
<pre><span class='ivar'>@mutate_add_neuron_prob</span></pre>
|
|
2105
|
+
|
|
2106
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2107
|
+
|
|
2108
|
+
<pre> </td>
|
|
2109
|
+
</tr></pre>
|
|
2110
|
+
|
|
2111
|
+
<p></table> </div></p>
|
|
2112
|
+
|
|
2113
|
+
<pre> <span id="mutate_change_gene_weights_prob=-instance_method"></span>
|
|
2114
|
+
<div class="method_details ">
|
|
2115
|
+
<h3 class="signature " id="mutate_change_gene_weights_prob-instance_method">
|
|
2116
|
+
|
|
2117
|
+
- (<tt>Object</tt>) <strong>mutate_change_gene_weights_prob</strong></pre>
|
|
2118
|
+
|
|
2119
|
+
<p></h3><div class=“docstring”></p>
|
|
2120
|
+
|
|
2121
|
+
<pre><div class="discussion"></pre>
|
|
2122
|
+
|
|
2123
|
+
<p><p>For gene weights perturbations and changes (complete
|
|
2124
|
+
overwrites)</p></p>
|
|
2125
|
+
|
|
2126
|
+
<pre></div></pre>
|
|
2127
|
+
|
|
2128
|
+
<p></div> <div class=“tags”></p>
|
|
2129
|
+
|
|
2130
|
+
<p></div><table class=“source_code”></p>
|
|
2131
|
+
|
|
2132
|
+
<pre><tr>
|
|
2133
|
+
<td>
|
|
2134
|
+
<pre class="lines"></pre>
|
|
2135
|
+
|
|
2136
|
+
<p>260 261 262</pre></p>
|
|
2137
|
+
|
|
2138
|
+
<pre></td>
|
|
2139
|
+
<td>
|
|
2140
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 260</span></pre>
|
|
2141
|
+
|
|
2142
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2143
|
+
identifier
|
|
2144
|
+
rubyid_mutate_change_gene_weights_prob'>mutate_change_gene_weights_prob</span></p>
|
|
2145
|
+
|
|
2146
|
+
<pre><span class='ivar'>@mutate_change_gene_weights_prob</span></pre>
|
|
2147
|
+
|
|
2148
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2149
|
+
|
|
2150
|
+
<pre> </td>
|
|
2151
|
+
</tr></pre>
|
|
2152
|
+
|
|
2153
|
+
<p></table> </div></p>
|
|
2154
|
+
|
|
2155
|
+
<pre> <span id="mutate_change_gene_weights_sd=-instance_method"></span>
|
|
2156
|
+
<div class="method_details ">
|
|
2157
|
+
<h3 class="signature " id="mutate_change_gene_weights_sd-instance_method">
|
|
2158
|
+
|
|
2159
|
+
- (<tt>Object</tt>) <strong>mutate_change_gene_weights_sd</strong></pre>
|
|
2160
|
+
|
|
2161
|
+
<p></h3><div class=“docstring”></p>
|
|
2162
|
+
|
|
2163
|
+
<pre><div class="discussion"></pre>
|
|
2164
|
+
|
|
2165
|
+
<p><p>For gene weights perturbations and changes (complete
|
|
2166
|
+
overwrites)</p></p>
|
|
2167
|
+
|
|
2168
|
+
<pre></div></pre>
|
|
2169
|
+
|
|
2170
|
+
<p></div> <div class=“tags”></p>
|
|
2171
|
+
|
|
2172
|
+
<p></div><table class=“source_code”></p>
|
|
2173
|
+
|
|
2174
|
+
<pre><tr>
|
|
2175
|
+
<td>
|
|
2176
|
+
<pre class="lines"></pre>
|
|
2177
|
+
|
|
2178
|
+
<p>260 261 262</pre></p>
|
|
2179
|
+
|
|
2180
|
+
<pre></td>
|
|
2181
|
+
<td>
|
|
2182
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 260</span></pre>
|
|
2183
|
+
|
|
2184
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2185
|
+
identifier
|
|
2186
|
+
rubyid_mutate_change_gene_weights_sd'>mutate_change_gene_weights_sd</span></p>
|
|
2187
|
+
|
|
2188
|
+
<pre><span class='ivar'>@mutate_change_gene_weights_sd</span></pre>
|
|
2189
|
+
|
|
2190
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2191
|
+
|
|
2192
|
+
<pre> </td>
|
|
2193
|
+
</tr></pre>
|
|
2194
|
+
|
|
2195
|
+
<p></table> </div></p>
|
|
2196
|
+
|
|
2197
|
+
<pre> <span id="mutate_gene_disable_prob=-instance_method"></span>
|
|
2198
|
+
<div class="method_details ">
|
|
2199
|
+
<h3 class="signature " id="mutate_gene_disable_prob-instance_method">
|
|
2200
|
+
|
|
2201
|
+
- (<tt>Object</tt>) <strong>mutate_gene_disable_prob</strong></pre>
|
|
2202
|
+
|
|
2203
|
+
<p></h3><div class=“docstring”></p>
|
|
2204
|
+
|
|
2205
|
+
<pre><div class="discussion"></pre>
|
|
2206
|
+
|
|
2207
|
+
<p><p>Returns the value of attribute mutate_gene_disable_prob</p></p>
|
|
2208
|
+
|
|
2209
|
+
<pre></div></pre>
|
|
2210
|
+
|
|
2211
|
+
<p></div> <div class=“tags”></p>
|
|
2212
|
+
|
|
2213
|
+
<p></div><table class=“source_code”></p>
|
|
2214
|
+
|
|
2215
|
+
<pre><tr>
|
|
2216
|
+
<td>
|
|
2217
|
+
<pre class="lines"></pre>
|
|
2218
|
+
|
|
2219
|
+
<p>254 255 256</pre></p>
|
|
2220
|
+
|
|
2221
|
+
<pre></td>
|
|
2222
|
+
<td>
|
|
2223
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 254</span></pre>
|
|
2224
|
+
|
|
2225
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2226
|
+
identifier
|
|
2227
|
+
rubyid_mutate_gene_disable_prob'>mutate_gene_disable_prob</span></p>
|
|
2228
|
+
|
|
2229
|
+
<pre><span class='ivar'>@mutate_gene_disable_prob</span></pre>
|
|
2230
|
+
|
|
2231
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2232
|
+
|
|
2233
|
+
<pre> </td>
|
|
2234
|
+
</tr></pre>
|
|
2235
|
+
|
|
2236
|
+
<p></table> </div></p>
|
|
2237
|
+
|
|
2238
|
+
<pre> <span id="mutate_gene_reenable_prob=-instance_method"></span>
|
|
2239
|
+
<div class="method_details ">
|
|
2240
|
+
<h3 class="signature " id="mutate_gene_reenable_prob-instance_method">
|
|
2241
|
+
|
|
2242
|
+
- (<tt>Object</tt>) <strong>mutate_gene_reenable_prob</strong></pre>
|
|
2243
|
+
|
|
2244
|
+
<p></h3><div class=“docstring”></p>
|
|
2245
|
+
|
|
2246
|
+
<pre><div class="discussion"></pre>
|
|
2247
|
+
|
|
2248
|
+
<p><p>Returns the value of attribute mutate_gene_reenable_prob</p></p>
|
|
2249
|
+
|
|
2250
|
+
<pre></div></pre>
|
|
2251
|
+
|
|
2252
|
+
<p></div> <div class=“tags”></p>
|
|
2253
|
+
|
|
2254
|
+
<p></div><table class=“source_code”></p>
|
|
2255
|
+
|
|
2256
|
+
<pre><tr>
|
|
2257
|
+
<td>
|
|
2258
|
+
<pre class="lines"></pre>
|
|
2259
|
+
|
|
2260
|
+
<p>255 256 257</pre></p>
|
|
2261
|
+
|
|
2262
|
+
<pre></td>
|
|
2263
|
+
<td>
|
|
2264
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 255</span></pre>
|
|
2265
|
+
|
|
2266
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2267
|
+
identifier
|
|
2268
|
+
rubyid_mutate_gene_reenable_prob'>mutate_gene_reenable_prob</span></p>
|
|
2269
|
+
|
|
2270
|
+
<pre><span class='ivar'>@mutate_gene_reenable_prob</span></pre>
|
|
2271
|
+
|
|
2272
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2273
|
+
|
|
2274
|
+
<pre> </td>
|
|
2275
|
+
</tr></pre>
|
|
2276
|
+
|
|
2277
|
+
<p></table> </div></p>
|
|
2278
|
+
|
|
2279
|
+
<pre> <span id="mutate_gene_trait_prob=-instance_method"></span>
|
|
2280
|
+
<div class="method_details ">
|
|
2281
|
+
<h3 class="signature " id="mutate_gene_trait_prob-instance_method">
|
|
2282
|
+
|
|
2283
|
+
- (<tt>Object</tt>) <strong>mutate_gene_trait_prob</strong></pre>
|
|
2284
|
+
|
|
2285
|
+
<p></h3><div class=“docstring”></p>
|
|
2286
|
+
|
|
2287
|
+
<pre><div class="discussion"></pre>
|
|
2288
|
+
|
|
2289
|
+
<p><p>Returns the value of attribute mutate_gene_trait_prob</p></p>
|
|
2290
|
+
|
|
2291
|
+
<pre></div></pre>
|
|
2292
|
+
|
|
2293
|
+
<p></div> <div class=“tags”></p>
|
|
2294
|
+
|
|
2295
|
+
<p></div><table class=“source_code”></p>
|
|
2296
|
+
|
|
2297
|
+
<pre><tr>
|
|
2298
|
+
<td>
|
|
2299
|
+
<pre class="lines"></pre>
|
|
2300
|
+
|
|
2301
|
+
<p>257 258 259</pre></p>
|
|
2302
|
+
|
|
2303
|
+
<pre></td>
|
|
2304
|
+
<td>
|
|
2305
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 257</span></pre>
|
|
2306
|
+
|
|
2307
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2308
|
+
identifier
|
|
2309
|
+
rubyid_mutate_gene_trait_prob'>mutate_gene_trait_prob</span></p>
|
|
2310
|
+
|
|
2311
|
+
<pre><span class='ivar'>@mutate_gene_trait_prob</span></pre>
|
|
2312
|
+
|
|
2313
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2314
|
+
|
|
2315
|
+
<pre> </td>
|
|
2316
|
+
</tr></pre>
|
|
2317
|
+
|
|
2318
|
+
<p></table> </div></p>
|
|
2319
|
+
|
|
2320
|
+
<pre> <span id="mutate_neuron_trait_prob=-instance_method"></span>
|
|
2321
|
+
<div class="method_details ">
|
|
2322
|
+
<h3 class="signature " id="mutate_neuron_trait_prob-instance_method">
|
|
2323
|
+
|
|
2324
|
+
- (<tt>Object</tt>) <strong>mutate_neuron_trait_prob</strong></pre>
|
|
2325
|
+
|
|
2326
|
+
<p></h3><div class=“docstring”></p>
|
|
2327
|
+
|
|
2328
|
+
<pre><div class="discussion"></pre>
|
|
2329
|
+
|
|
2330
|
+
<p><p>Returns the value of attribute mutate_neuron_trait_prob</p></p>
|
|
2331
|
+
|
|
2332
|
+
<pre></div></pre>
|
|
2333
|
+
|
|
2334
|
+
<p></div> <div class=“tags”></p>
|
|
2335
|
+
|
|
2336
|
+
<p></div><table class=“source_code”></p>
|
|
2337
|
+
|
|
2338
|
+
<pre><tr>
|
|
2339
|
+
<td>
|
|
2340
|
+
<pre class="lines"></pre>
|
|
2341
|
+
|
|
2342
|
+
<p>265 266 267</pre></p>
|
|
2343
|
+
|
|
2344
|
+
<pre></td>
|
|
2345
|
+
<td>
|
|
2346
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 265</span></pre>
|
|
2347
|
+
|
|
2348
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2349
|
+
identifier
|
|
2350
|
+
rubyid_mutate_neuron_trait_prob'>mutate_neuron_trait_prob</span></p>
|
|
2351
|
+
|
|
2352
|
+
<pre><span class='ivar'>@mutate_neuron_trait_prob</span></pre>
|
|
2353
|
+
|
|
2354
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2355
|
+
|
|
2356
|
+
<pre> </td>
|
|
2357
|
+
</tr></pre>
|
|
2358
|
+
|
|
2359
|
+
<p></table> </div></p>
|
|
2360
|
+
|
|
2361
|
+
<pre> <span id="mutate_only_prob=-instance_method"></span>
|
|
2362
|
+
<div class="method_details ">
|
|
2363
|
+
<h3 class="signature " id="mutate_only_prob-instance_method">
|
|
2364
|
+
|
|
2365
|
+
- (<tt>Object</tt>) <strong>mutate_only_prob</strong></pre>
|
|
2366
|
+
|
|
2367
|
+
<p></h3><div class=“docstring”></p>
|
|
2368
|
+
|
|
2369
|
+
<pre><div class="discussion"></pre>
|
|
2370
|
+
|
|
2371
|
+
<p><p>Returns the value of attribute mutate_only_prob</p></p>
|
|
2372
|
+
|
|
2373
|
+
<pre></div></pre>
|
|
2374
|
+
|
|
2375
|
+
<p></div> <div class=“tags”></p>
|
|
2376
|
+
|
|
2377
|
+
<p></div><table class=“source_code”></p>
|
|
2378
|
+
|
|
2379
|
+
<pre><tr>
|
|
2380
|
+
<td>
|
|
2381
|
+
<pre class="lines"></pre>
|
|
2382
|
+
|
|
2383
|
+
<p>266 267 268</pre></p>
|
|
2384
|
+
|
|
2385
|
+
<pre></td>
|
|
2386
|
+
<td>
|
|
2387
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 266</span></pre>
|
|
2388
|
+
|
|
2389
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2390
|
+
identifier rubyid_mutate_only_prob'>mutate_only_prob</span></p>
|
|
2391
|
+
|
|
2392
|
+
<pre><span class='ivar'>@mutate_only_prob</span></pre>
|
|
2393
|
+
|
|
2394
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2395
|
+
|
|
2396
|
+
<pre> </td>
|
|
2397
|
+
</tr></pre>
|
|
2398
|
+
|
|
2399
|
+
<p></table> </div></p>
|
|
2400
|
+
|
|
2401
|
+
<pre> <span id="mutate_perturb_gene_weights_prob=-instance_method"></span>
|
|
2402
|
+
<div class="method_details ">
|
|
2403
|
+
<h3 class="signature " id="mutate_perturb_gene_weights_prob-instance_method">
|
|
2404
|
+
|
|
2405
|
+
- (<tt>Object</tt>) <strong>mutate_perturb_gene_weights_prob</strong></pre>
|
|
2406
|
+
|
|
2407
|
+
<p></h3><div class=“docstring”></p>
|
|
2408
|
+
|
|
2409
|
+
<pre><div class="discussion"></pre>
|
|
2410
|
+
|
|
2411
|
+
<p><p>For gene weights perturbations and changes (complete
|
|
2412
|
+
overwrites)</p></p>
|
|
2413
|
+
|
|
2414
|
+
<pre></div></pre>
|
|
2415
|
+
|
|
2416
|
+
<p></div> <div class=“tags”></p>
|
|
2417
|
+
|
|
2418
|
+
<p></div><table class=“source_code”></p>
|
|
2419
|
+
|
|
2420
|
+
<pre><tr>
|
|
2421
|
+
<td>
|
|
2422
|
+
<pre class="lines"></pre>
|
|
2423
|
+
|
|
2424
|
+
<p>260 261 262</pre></p>
|
|
2425
|
+
|
|
2426
|
+
<pre></td>
|
|
2427
|
+
<td>
|
|
2428
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 260</span></pre>
|
|
2429
|
+
|
|
2430
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2431
|
+
identifier
|
|
2432
|
+
rubyid_mutate_perturb_gene_weights_prob'>mutate_perturb_gene_weights_prob</span></p>
|
|
2433
|
+
|
|
2434
|
+
<pre><span class='ivar'>@mutate_perturb_gene_weights_prob</span></pre>
|
|
2435
|
+
|
|
2436
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2437
|
+
|
|
2438
|
+
<pre> </td>
|
|
2439
|
+
</tr></pre>
|
|
2440
|
+
|
|
2441
|
+
<p></table> </div></p>
|
|
2442
|
+
|
|
2443
|
+
<pre> <span id="mutate_perturb_gene_weights_sd=-instance_method"></span>
|
|
2444
|
+
<div class="method_details ">
|
|
2445
|
+
<h3 class="signature " id="mutate_perturb_gene_weights_sd-instance_method">
|
|
2446
|
+
|
|
2447
|
+
- (<tt>Object</tt>) <strong>mutate_perturb_gene_weights_sd</strong></pre>
|
|
2448
|
+
|
|
2449
|
+
<p></h3><div class=“docstring”></p>
|
|
2450
|
+
|
|
2451
|
+
<pre><div class="discussion"></pre>
|
|
2452
|
+
|
|
2453
|
+
<p><p>For gene weights perturbations and changes (complete
|
|
2454
|
+
overwrites)</p></p>
|
|
2455
|
+
|
|
2456
|
+
<pre></div></pre>
|
|
2457
|
+
|
|
2458
|
+
<p></div> <div class=“tags”></p>
|
|
2459
|
+
|
|
2460
|
+
<p></div><table class=“source_code”></p>
|
|
2461
|
+
|
|
2462
|
+
<pre><tr>
|
|
2463
|
+
<td>
|
|
2464
|
+
<pre class="lines"></pre>
|
|
2465
|
+
|
|
2466
|
+
<p>260 261 262</pre></p>
|
|
2467
|
+
|
|
2468
|
+
<pre></td>
|
|
2469
|
+
<td>
|
|
2470
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 260</span></pre>
|
|
2471
|
+
|
|
2472
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2473
|
+
identifier
|
|
2474
|
+
rubyid_mutate_perturb_gene_weights_sd'>mutate_perturb_gene_weights_sd</span></p>
|
|
2475
|
+
|
|
2476
|
+
<pre><span class='ivar'>@mutate_perturb_gene_weights_sd</span></pre>
|
|
2477
|
+
|
|
2478
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2479
|
+
|
|
2480
|
+
<pre> </td>
|
|
2481
|
+
</tr></pre>
|
|
2482
|
+
|
|
2483
|
+
<p></table> </div></p>
|
|
2484
|
+
|
|
2485
|
+
<pre> <span id="mutate_random_trait_prob=-instance_method"></span>
|
|
2486
|
+
<div class="method_details ">
|
|
2487
|
+
<h3 class="signature " id="mutate_random_trait_prob-instance_method">
|
|
2488
|
+
|
|
2489
|
+
- (<tt>Object</tt>) <strong>mutate_random_trait_prob</strong></pre>
|
|
2490
|
+
|
|
2491
|
+
<p></h3><div class=“docstring”></p>
|
|
2492
|
+
|
|
2493
|
+
<pre><div class="discussion"></pre>
|
|
2494
|
+
|
|
2495
|
+
<p><p>Returns the value of attribute mutate_random_trait_prob</p></p>
|
|
2496
|
+
|
|
2497
|
+
<pre></div></pre>
|
|
2498
|
+
|
|
2499
|
+
<p></div> <div class=“tags”></p>
|
|
2500
|
+
|
|
2501
|
+
<p></div><table class=“source_code”></p>
|
|
2502
|
+
|
|
2503
|
+
<pre><tr>
|
|
2504
|
+
<td>
|
|
2505
|
+
<pre class="lines"></pre>
|
|
2506
|
+
|
|
2507
|
+
<p>267 268 269</pre></p>
|
|
2508
|
+
|
|
2509
|
+
<pre></td>
|
|
2510
|
+
<td>
|
|
2511
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 267</span></pre>
|
|
2512
|
+
|
|
2513
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2514
|
+
identifier
|
|
2515
|
+
rubyid_mutate_random_trait_prob'>mutate_random_trait_prob</span></p>
|
|
2516
|
+
|
|
2517
|
+
<pre><span class='ivar'>@mutate_random_trait_prob</span></pre>
|
|
2518
|
+
|
|
2519
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2520
|
+
|
|
2521
|
+
<pre> </td>
|
|
2522
|
+
</tr></pre>
|
|
2523
|
+
|
|
2524
|
+
<p></table> </div></p>
|
|
2525
|
+
|
|
2526
|
+
<pre> <span id="mutate_toggle_enable_prob=-instance_method"></span>
|
|
2527
|
+
<div class="method_details ">
|
|
2528
|
+
<h3 class="signature " id="mutate_toggle_enable_prob-instance_method">
|
|
2529
|
+
|
|
2530
|
+
- (<tt>Object</tt>) <strong>mutate_toggle_enable_prob</strong></pre>
|
|
2531
|
+
|
|
2532
|
+
<p></h3><div class=“docstring”></p>
|
|
2533
|
+
|
|
2534
|
+
<pre><div class="discussion"></pre>
|
|
2535
|
+
|
|
2536
|
+
<p><p>Returns the value of attribute mutate_toggle_enable_prob</p></p>
|
|
2537
|
+
|
|
2538
|
+
<pre></div></pre>
|
|
2539
|
+
|
|
2540
|
+
<p></div> <div class=“tags”></p>
|
|
2541
|
+
|
|
2542
|
+
<p></div><table class=“source_code”></p>
|
|
2543
|
+
|
|
2544
|
+
<pre><tr>
|
|
2545
|
+
<td>
|
|
2546
|
+
<pre class="lines"></pre>
|
|
2547
|
+
|
|
2548
|
+
<p>268 269 270</pre></p>
|
|
2549
|
+
|
|
2550
|
+
<pre></td>
|
|
2551
|
+
<td>
|
|
2552
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 268</span></pre>
|
|
2553
|
+
|
|
2554
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2555
|
+
identifier
|
|
2556
|
+
rubyid_mutate_toggle_enable_prob'>mutate_toggle_enable_prob</span></p>
|
|
2557
|
+
|
|
2558
|
+
<pre><span class='ivar'>@mutate_toggle_enable_prob</span></pre>
|
|
2559
|
+
|
|
2560
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2561
|
+
|
|
2562
|
+
<pre> </td>
|
|
2563
|
+
</tr></pre>
|
|
2564
|
+
|
|
2565
|
+
<p></table> </div></p>
|
|
2566
|
+
|
|
2567
|
+
<pre> <span id="mutdiff_coefficient=-instance_method"></span>
|
|
2568
|
+
<div class="method_details ">
|
|
2569
|
+
<h3 class="signature " id="mutdiff_coefficient-instance_method">
|
|
2570
|
+
|
|
2571
|
+
- (<tt>Object</tt>) <strong>mutdiff_coefficient</strong></pre>
|
|
2572
|
+
|
|
2573
|
+
<p></h3><div class=“docstring”></p>
|
|
2574
|
+
|
|
2575
|
+
<pre><div class="discussion"></pre>
|
|
2576
|
+
|
|
2577
|
+
<p><p>Returns the value of attribute mutdiff_coefficient</p></p>
|
|
2578
|
+
|
|
2579
|
+
<pre></div></pre>
|
|
2580
|
+
|
|
2581
|
+
<p></div> <div class=“tags”></p>
|
|
2582
|
+
|
|
2583
|
+
<p></div><table class=“source_code”></p>
|
|
2584
|
+
|
|
2585
|
+
<pre><tr>
|
|
2586
|
+
<td>
|
|
2587
|
+
<pre class="lines"></pre>
|
|
2588
|
+
|
|
2589
|
+
<p>269 270 271</pre></p>
|
|
2590
|
+
|
|
2591
|
+
<pre></td>
|
|
2592
|
+
<td>
|
|
2593
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 269</span></pre>
|
|
2594
|
+
|
|
2595
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2596
|
+
identifier
|
|
2597
|
+
rubyid_mutdiff_coefficient'>mutdiff_coefficient</span></p>
|
|
2598
|
+
|
|
2599
|
+
<pre><span class='ivar'>@mutdiff_coefficient</span></pre>
|
|
2600
|
+
|
|
2601
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2602
|
+
|
|
2603
|
+
<pre> </td>
|
|
2604
|
+
</tr></pre>
|
|
2605
|
+
|
|
2606
|
+
<p></table> </div></p>
|
|
2607
|
+
|
|
2608
|
+
<pre> <span id="neuron_trait_mut_sig=-instance_method"></span>
|
|
2609
|
+
<div class="method_details ">
|
|
2610
|
+
<h3 class="signature " id="neuron_trait_mut_sig-instance_method">
|
|
2611
|
+
|
|
2612
|
+
- (<tt>Object</tt>) <strong>neuron_trait_mut_sig</strong></pre>
|
|
2613
|
+
|
|
2614
|
+
<p></h3><div class=“docstring”></p>
|
|
2615
|
+
|
|
2616
|
+
<pre><div class="discussion"></pre>
|
|
2617
|
+
|
|
2618
|
+
<p><p>Returns the value of attribute neuron_trait_mut_sig</p></p>
|
|
2619
|
+
|
|
2620
|
+
<pre></div></pre>
|
|
2621
|
+
|
|
2622
|
+
<p></div> <div class=“tags”></p>
|
|
2623
|
+
|
|
2624
|
+
<p></div><table class=“source_code”></p>
|
|
2625
|
+
|
|
2626
|
+
<pre><tr>
|
|
2627
|
+
<td>
|
|
2628
|
+
<pre class="lines"></pre>
|
|
2629
|
+
|
|
2630
|
+
<p>271 272 273</pre></p>
|
|
2631
|
+
|
|
2632
|
+
<pre></td>
|
|
2633
|
+
<td>
|
|
2634
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 271</span></pre>
|
|
2635
|
+
|
|
2636
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2637
|
+
identifier
|
|
2638
|
+
rubyid_neuron_trait_mut_sig'>neuron_trait_mut_sig</span></p>
|
|
2639
|
+
|
|
2640
|
+
<pre><span class='ivar'>@neuron_trait_mut_sig</span></pre>
|
|
2641
|
+
|
|
2642
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2643
|
+
|
|
2644
|
+
<pre> </td>
|
|
2645
|
+
</tr></pre>
|
|
2646
|
+
|
|
2647
|
+
<p></table> </div></p>
|
|
2648
|
+
|
|
2649
|
+
<pre> <span id="newlink_tries=-instance_method"></span>
|
|
2650
|
+
<div class="method_details ">
|
|
2651
|
+
<h3 class="signature " id="newlink_tries-instance_method">
|
|
2652
|
+
|
|
2653
|
+
- (<tt>Object</tt>) <strong>newlink_tries</strong></pre>
|
|
2654
|
+
|
|
2655
|
+
<p></h3><div class=“docstring”></p>
|
|
2656
|
+
|
|
2657
|
+
<pre><div class="discussion"></pre>
|
|
2658
|
+
|
|
2659
|
+
<p><p>Returns the value of attribute newlink_tries</p></p>
|
|
2660
|
+
|
|
2661
|
+
<pre></div></pre>
|
|
2662
|
+
|
|
2663
|
+
<p></div> <div class=“tags”></p>
|
|
2664
|
+
|
|
2665
|
+
<p></div><table class=“source_code”></p>
|
|
2666
|
+
|
|
2667
|
+
<pre><tr>
|
|
2668
|
+
<td>
|
|
2669
|
+
<pre class="lines"></pre>
|
|
2670
|
+
|
|
2671
|
+
<p>270 271 272</pre></p>
|
|
2672
|
+
|
|
2673
|
+
<pre></td>
|
|
2674
|
+
<td>
|
|
2675
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 270</span></pre>
|
|
2676
|
+
|
|
2677
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2678
|
+
identifier rubyid_newlink_tries'>newlink_tries</span></p>
|
|
2679
|
+
|
|
2680
|
+
<pre><span class='ivar'>@newlink_tries</span></pre>
|
|
2681
|
+
|
|
2682
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2683
|
+
|
|
2684
|
+
<pre> </td>
|
|
2685
|
+
</tr></pre>
|
|
2686
|
+
|
|
2687
|
+
<p></table> </div></p>
|
|
2688
|
+
|
|
2689
|
+
<pre> <span id="population_size=-instance_method"></span>
|
|
2690
|
+
<div class="method_details ">
|
|
2691
|
+
<h3 class="signature " id="population_size-instance_method">
|
|
2692
|
+
|
|
2693
|
+
- (<tt>Object</tt>) <strong>population_size</strong></pre>
|
|
2694
|
+
|
|
2695
|
+
<p></h3><div class=“docstring”></p>
|
|
2696
|
+
|
|
2697
|
+
<pre><div class="discussion"></pre>
|
|
2698
|
+
|
|
2699
|
+
<p><p>If set, will start off at the specified size and grow to the
|
|
2700
|
+
bigger population size</p></p>
|
|
2701
|
+
|
|
2702
|
+
<pre></div></pre>
|
|
2703
|
+
|
|
2704
|
+
<p></div> <div class=“tags”></p>
|
|
2705
|
+
|
|
2706
|
+
<p></div><table class=“source_code”></p>
|
|
2707
|
+
|
|
2708
|
+
<pre><tr>
|
|
2709
|
+
<td>
|
|
2710
|
+
<pre class="lines"></pre>
|
|
2711
|
+
|
|
2712
|
+
<p>281 282 283</pre></p>
|
|
2713
|
+
|
|
2714
|
+
<pre></td>
|
|
2715
|
+
<td>
|
|
2716
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 281</span></pre>
|
|
2717
|
+
|
|
2718
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2719
|
+
identifier rubyid_population_size'>population_size</span></p>
|
|
2720
|
+
|
|
2721
|
+
<pre><span class='ivar'>@population_size</span></pre>
|
|
2722
|
+
|
|
2723
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2724
|
+
|
|
2725
|
+
<pre> </td>
|
|
2726
|
+
</tr></pre>
|
|
2727
|
+
|
|
2728
|
+
<p></table> </div></p>
|
|
2729
|
+
|
|
2730
|
+
<pre> <span id="print_every=-instance_method"></span>
|
|
2731
|
+
<div class="method_details ">
|
|
2732
|
+
<h3 class="signature " id="print_every-instance_method">
|
|
2733
|
+
|
|
2734
|
+
- (<tt>Object</tt>) <strong>print_every</strong></pre>
|
|
2735
|
+
|
|
2736
|
+
<p></h3><div class=“docstring”></p>
|
|
2737
|
+
|
|
2738
|
+
<pre><div class="discussion"></pre>
|
|
2739
|
+
|
|
2740
|
+
<p><p>Returns the value of attribute print_every</p></p>
|
|
2741
|
+
|
|
2742
|
+
<pre></div></pre>
|
|
2743
|
+
|
|
2744
|
+
<p></div> <div class=“tags”></p>
|
|
2745
|
+
|
|
2746
|
+
<p></div><table class=“source_code”></p>
|
|
2747
|
+
|
|
2748
|
+
<pre><tr>
|
|
2749
|
+
<td>
|
|
2750
|
+
<pre class="lines"></pre>
|
|
2751
|
+
|
|
2752
|
+
<p>285 286 287</pre></p>
|
|
2753
|
+
|
|
2754
|
+
<pre></td>
|
|
2755
|
+
<td>
|
|
2756
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 285</span></pre>
|
|
2757
|
+
|
|
2758
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2759
|
+
identifier rubyid_print_every'>print_every</span></p>
|
|
2760
|
+
|
|
2761
|
+
<pre><span class='ivar'>@print_every</span></pre>
|
|
2762
|
+
|
|
2763
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2764
|
+
|
|
2765
|
+
<pre> </td>
|
|
2766
|
+
</tr></pre>
|
|
2767
|
+
|
|
2768
|
+
<p></table> </div></p>
|
|
2769
|
+
|
|
2770
|
+
<pre> <span id="real_time_switch=-instance_method"></span>
|
|
2771
|
+
<div class="method_details ">
|
|
2772
|
+
<h3 class="signature " id="real_time_switch-instance_method">
|
|
2773
|
+
|
|
2774
|
+
- (<tt>Object</tt>) <strong>real_time_switch</strong></pre>
|
|
2775
|
+
|
|
2776
|
+
<p></h3><div class=“docstring”></p>
|
|
2777
|
+
|
|
2778
|
+
<pre><div class="discussion"></pre>
|
|
2779
|
+
|
|
2780
|
+
<p><p>Enable RT-NEAT, for gradual evolution suitable for games and other
|
|
2781
|
+
human-interactive systems.</p></p>
|
|
2782
|
+
|
|
2783
|
+
<pre></div></pre>
|
|
2784
|
+
|
|
2785
|
+
<p></div> <div class=“tags”></p>
|
|
2786
|
+
|
|
2787
|
+
<p></div><table class=“source_code”></p>
|
|
2788
|
+
|
|
2789
|
+
<pre><tr>
|
|
2790
|
+
<td>
|
|
2791
|
+
<pre class="lines"></pre>
|
|
2792
|
+
|
|
2793
|
+
<p>312 313 314</pre></p>
|
|
2794
|
+
|
|
2795
|
+
<pre></td>
|
|
2796
|
+
<td>
|
|
2797
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 312</span></pre>
|
|
2798
|
+
|
|
2799
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2800
|
+
identifier rubyid_real_time_switch'>real_time_switch</span></p>
|
|
2801
|
+
|
|
2802
|
+
<pre><span class='ivar'>@real_time_switch</span></pre>
|
|
2803
|
+
|
|
2804
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2805
|
+
|
|
2806
|
+
<pre> </td>
|
|
2807
|
+
</tr></pre>
|
|
2808
|
+
|
|
2809
|
+
<p></table> </div></p>
|
|
2810
|
+
|
|
2811
|
+
<pre> <span id="recur_only_prob=-instance_method"></span>
|
|
2812
|
+
<div class="method_details ">
|
|
2813
|
+
<h3 class="signature " id="recur_only_prob-instance_method">
|
|
2814
|
+
|
|
2815
|
+
- (<tt>Object</tt>) <strong>recur_only_prob</strong></pre>
|
|
2816
|
+
|
|
2817
|
+
<p></h3><div class=“docstring”></p>
|
|
2818
|
+
|
|
2819
|
+
<pre><div class="discussion"></pre>
|
|
2820
|
+
|
|
2821
|
+
<p><p>Returns the value of attribute recur_only_prob</p></p>
|
|
2822
|
+
|
|
2823
|
+
<pre></div></pre>
|
|
2824
|
+
|
|
2825
|
+
<p></div> <div class=“tags”></p>
|
|
2826
|
+
|
|
2827
|
+
<p></div><table class=“source_code”></p>
|
|
2828
|
+
|
|
2829
|
+
<pre><tr>
|
|
2830
|
+
<td>
|
|
2831
|
+
<pre class="lines"></pre>
|
|
2832
|
+
|
|
2833
|
+
<p>286 287 288</pre></p>
|
|
2834
|
+
|
|
2835
|
+
<pre></td>
|
|
2836
|
+
<td>
|
|
2837
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 286</span></pre>
|
|
2838
|
+
|
|
2839
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2840
|
+
identifier rubyid_recur_only_prob'>recur_only_prob</span></p>
|
|
2841
|
+
|
|
2842
|
+
<pre><span class='ivar'>@recur_only_prob</span></pre>
|
|
2843
|
+
|
|
2844
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2845
|
+
|
|
2846
|
+
<pre> </td>
|
|
2847
|
+
</tr></pre>
|
|
2848
|
+
|
|
2849
|
+
<p></table> </div></p>
|
|
2850
|
+
|
|
2851
|
+
<pre> <span id="recur_prob=-instance_method"></span>
|
|
2852
|
+
<div class="method_details ">
|
|
2853
|
+
<h3 class="signature " id="recur_prob-instance_method">
|
|
2854
|
+
|
|
2855
|
+
- (<tt>Object</tt>) <strong>recur_prob</strong></pre>
|
|
2856
|
+
|
|
2857
|
+
<p></h3><div class=“docstring”></p>
|
|
2858
|
+
|
|
2859
|
+
<pre><div class="discussion"></pre>
|
|
2860
|
+
|
|
2861
|
+
<p><p>Returns the value of attribute recur_prob</p></p>
|
|
2862
|
+
|
|
2863
|
+
<pre></div></pre>
|
|
2864
|
+
|
|
2865
|
+
<p></div> <div class=“tags”></p>
|
|
2866
|
+
|
|
2867
|
+
<p></div><table class=“source_code”></p>
|
|
2868
|
+
|
|
2869
|
+
<pre><tr>
|
|
2870
|
+
<td>
|
|
2871
|
+
<pre class="lines"></pre>
|
|
2872
|
+
|
|
2873
|
+
<p>287 288 289</pre></p>
|
|
2874
|
+
|
|
2875
|
+
<pre></td>
|
|
2876
|
+
<td>
|
|
2877
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 287</span></pre>
|
|
2878
|
+
|
|
2879
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2880
|
+
identifier rubyid_recur_prob'>recur_prob</span></p>
|
|
2881
|
+
|
|
2882
|
+
<pre><span class='ivar'>@recur_prob</span></pre>
|
|
2883
|
+
|
|
2884
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2885
|
+
|
|
2886
|
+
<pre> </td>
|
|
2887
|
+
</tr></pre>
|
|
2888
|
+
|
|
2889
|
+
<p></table> </div></p>
|
|
2890
|
+
|
|
2891
|
+
<pre> <span id="recurrency_switch=-instance_method"></span>
|
|
2892
|
+
<div class="method_details ">
|
|
2893
|
+
<h3 class="signature " id="recurrency_switch-instance_method">
|
|
2894
|
+
|
|
2895
|
+
- (<tt>Object</tt>) <strong>recurrency_switch</strong></pre>
|
|
2896
|
+
|
|
2897
|
+
<p></h3><div class=“docstring”></p>
|
|
2898
|
+
|
|
2899
|
+
<pre><div class="discussion"></pre>
|
|
2900
|
+
|
|
2901
|
+
<p><p>If true, allow for recurrent networks.</p></p>
|
|
2902
|
+
|
|
2903
|
+
<pre></div></pre>
|
|
2904
|
+
|
|
2905
|
+
<p></div> <div class=“tags”></p>
|
|
2906
|
+
|
|
2907
|
+
<p></div><table class=“source_code”></p>
|
|
2908
|
+
|
|
2909
|
+
<pre><tr>
|
|
2910
|
+
<td>
|
|
2911
|
+
<pre class="lines"></pre>
|
|
2912
|
+
|
|
2913
|
+
<p>315 316 317</pre></p>
|
|
2914
|
+
|
|
2915
|
+
<pre></td>
|
|
2916
|
+
<td>
|
|
2917
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 315</span></pre>
|
|
2918
|
+
|
|
2919
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2920
|
+
identifier rubyid_recurrency_switch'>recurrency_switch</span></p>
|
|
2921
|
+
|
|
2922
|
+
<pre><span class='ivar'>@recurrency_switch</span></pre>
|
|
2923
|
+
|
|
2924
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2925
|
+
|
|
2926
|
+
<pre> </td>
|
|
2927
|
+
</tr></pre>
|
|
2928
|
+
|
|
2929
|
+
<p></table> </div></p>
|
|
2930
|
+
|
|
2931
|
+
<pre> <span id="smallest_species=-instance_method"></span>
|
|
2932
|
+
<div class="method_details ">
|
|
2933
|
+
<h3 class="signature " id="smallest_species-instance_method">
|
|
2934
|
+
|
|
2935
|
+
- (<tt>Object</tt>) <strong>smallest_species</strong></pre>
|
|
2936
|
+
|
|
2937
|
+
<p></h3><div class=“docstring”></p>
|
|
2938
|
+
|
|
2939
|
+
<pre><div class="discussion"></pre>
|
|
2940
|
+
|
|
2941
|
+
<p><p>Species smallest population allowed (coalse smaller species into
|
|
2942
|
+
one)</p></p>
|
|
2943
|
+
|
|
2944
|
+
<pre></div></pre>
|
|
2945
|
+
|
|
2946
|
+
<p></div> <div class=“tags”></p>
|
|
2947
|
+
|
|
2948
|
+
<p></div><table class=“source_code”></p>
|
|
2949
|
+
|
|
2950
|
+
<pre><tr>
|
|
2951
|
+
<td>
|
|
2952
|
+
<pre class="lines"></pre>
|
|
2953
|
+
|
|
2954
|
+
<p>234 235 236</pre></p>
|
|
2955
|
+
|
|
2956
|
+
<pre></td>
|
|
2957
|
+
<td>
|
|
2958
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 234</span></pre>
|
|
2959
|
+
|
|
2960
|
+
<p><span class='kw'>def</span> <span class='id
|
|
2961
|
+
identifier rubyid_smallest_species'>smallest_species</span></p>
|
|
2962
|
+
|
|
2963
|
+
<pre><span class='ivar'>@smallest_species</span></pre>
|
|
2964
|
+
|
|
2965
|
+
<p><span class='kw'>end</span></pre></p>
|
|
2966
|
+
|
|
2967
|
+
<pre> </td>
|
|
2968
|
+
</tr></pre>
|
|
2969
|
+
|
|
2970
|
+
<p></table> </div></p>
|
|
2971
|
+
|
|
2972
|
+
<pre> <span id="start_population_size=-instance_method"></span>
|
|
2973
|
+
<div class="method_details ">
|
|
2974
|
+
<h3 class="signature " id="start_population_size-instance_method">
|
|
2975
|
+
|
|
2976
|
+
- (<tt>Object</tt>) <strong>start_population_size</strong></pre>
|
|
2977
|
+
|
|
2978
|
+
<p></h3><div class=“docstring”></p>
|
|
2979
|
+
|
|
2980
|
+
<pre><div class="discussion"></pre>
|
|
2981
|
+
|
|
2982
|
+
<p><p>If set, will start off at the specified size and grow to the
|
|
2983
|
+
bigger population size</p></p>
|
|
2984
|
+
|
|
2985
|
+
<pre></div></pre>
|
|
2986
|
+
|
|
2987
|
+
<p></div> <div class=“tags”></p>
|
|
2988
|
+
|
|
2989
|
+
<p></div><table class=“source_code”></p>
|
|
2990
|
+
|
|
2991
|
+
<pre><tr>
|
|
2992
|
+
<td>
|
|
2993
|
+
<pre class="lines"></pre>
|
|
2994
|
+
|
|
2995
|
+
<p>281 282 283</pre></p>
|
|
2996
|
+
|
|
2997
|
+
<pre></td>
|
|
2998
|
+
<td>
|
|
2999
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 281</span></pre>
|
|
3000
|
+
|
|
3001
|
+
<p><span class='kw'>def</span> <span class='id
|
|
3002
|
+
identifier
|
|
3003
|
+
rubyid_start_population_size'>start_population_size</span></p>
|
|
3004
|
+
|
|
3005
|
+
<pre><span class='ivar'>@start_population_size</span></pre>
|
|
3006
|
+
|
|
3007
|
+
<p><span class='kw'>end</span></pre></p>
|
|
3008
|
+
|
|
3009
|
+
<pre> </td>
|
|
3010
|
+
</tr></pre>
|
|
3011
|
+
|
|
3012
|
+
<p></table> </div></p>
|
|
3013
|
+
|
|
3014
|
+
<pre> <span id="start_sequence_at=-instance_method"></span>
|
|
3015
|
+
<div class="method_details ">
|
|
3016
|
+
<h3 class="signature " id="start_sequence_at-instance_method">
|
|
3017
|
+
|
|
3018
|
+
- (<tt>Object</tt>) <strong>start_sequence_at</strong></pre>
|
|
3019
|
+
|
|
3020
|
+
<p></h3><div class=“docstring”></p>
|
|
3021
|
+
|
|
3022
|
+
<pre><div class="discussion"></pre>
|
|
3023
|
+
|
|
3024
|
+
<p><p>Returns the value of attribute start_sequence_at</p></p>
|
|
3025
|
+
|
|
3026
|
+
<pre></div></pre>
|
|
3027
|
+
|
|
3028
|
+
<p></div> <div class=“tags”></p>
|
|
3029
|
+
|
|
3030
|
+
<p></div><table class=“source_code”></p>
|
|
3031
|
+
|
|
3032
|
+
<pre><tr>
|
|
3033
|
+
<td>
|
|
3034
|
+
<pre class="lines"></pre>
|
|
3035
|
+
|
|
3036
|
+
<p>283 284 285</pre></p>
|
|
3037
|
+
|
|
3038
|
+
<pre></td>
|
|
3039
|
+
<td>
|
|
3040
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 283</span></pre>
|
|
3041
|
+
|
|
3042
|
+
<p><span class='kw'>def</span> <span class='id
|
|
3043
|
+
identifier rubyid_start_sequence_at'>start_sequence_at</span></p>
|
|
3044
|
+
|
|
3045
|
+
<pre><span class='ivar'>@start_sequence_at</span></pre>
|
|
3046
|
+
|
|
3047
|
+
<p><span class='kw'>end</span></pre></p>
|
|
3048
|
+
|
|
3049
|
+
<pre> </td>
|
|
3050
|
+
</tr></pre>
|
|
3051
|
+
|
|
3052
|
+
<p></table> </div></p>
|
|
3053
|
+
|
|
3054
|
+
<pre> <span id="survival_mininum_per_species=-instance_method"></span>
|
|
3055
|
+
<div class="method_details ">
|
|
3056
|
+
<h3 class="signature " id="survival_mininum_per_species-instance_method">
|
|
3057
|
+
|
|
3058
|
+
- (<tt>Object</tt>) <strong>survival_mininum_per_species</strong></pre>
|
|
3059
|
+
|
|
3060
|
+
<p></h3><div class=“docstring”></p>
|
|
3061
|
+
|
|
3062
|
+
<pre><div class="discussion"></pre>
|
|
3063
|
+
|
|
3064
|
+
<p><p>Returns the value of attribute
|
|
3065
|
+
survival_mininum_per_species</p></p>
|
|
3066
|
+
|
|
3067
|
+
<pre></div></pre>
|
|
3068
|
+
|
|
3069
|
+
<p></div> <div class=“tags”></p>
|
|
3070
|
+
|
|
3071
|
+
<p></div><table class=“source_code”></p>
|
|
3072
|
+
|
|
3073
|
+
<pre><tr>
|
|
3074
|
+
<td>
|
|
3075
|
+
<pre class="lines"></pre>
|
|
3076
|
+
|
|
3077
|
+
<p>292 293 294</pre></p>
|
|
3078
|
+
|
|
3079
|
+
<pre></td>
|
|
3080
|
+
<td>
|
|
3081
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 292</span></pre>
|
|
3082
|
+
|
|
3083
|
+
<p><span class='kw'>def</span> <span class='id
|
|
3084
|
+
identifier
|
|
3085
|
+
rubyid_survival_mininum_per_species'>survival_mininum_per_species</span></p>
|
|
3086
|
+
|
|
3087
|
+
<pre><span class='ivar'>@survival_mininum_per_species</span></pre>
|
|
3088
|
+
|
|
3089
|
+
<p><span class='kw'>end</span></pre></p>
|
|
3090
|
+
|
|
3091
|
+
<pre> </td>
|
|
3092
|
+
</tr></pre>
|
|
3093
|
+
|
|
3094
|
+
<p></table> </div></p>
|
|
3095
|
+
|
|
3096
|
+
<pre> <span id="survival_threshold=-instance_method"></span>
|
|
3097
|
+
<div class="method_details ">
|
|
3098
|
+
<h3 class="signature " id="survival_threshold-instance_method">
|
|
3099
|
+
|
|
3100
|
+
- (<tt>Object</tt>) <strong>survival_threshold</strong></pre>
|
|
3101
|
+
|
|
3102
|
+
<p></h3><div class=“docstring”></p>
|
|
3103
|
+
|
|
3104
|
+
<pre><div class="discussion"></pre>
|
|
3105
|
+
|
|
3106
|
+
<p><p>factor (0 to 1) of the top percentage of the species
|
|
3107
|
+
that&#39;s allowed to mate.</p></p>
|
|
3108
|
+
|
|
3109
|
+
<pre></div></pre>
|
|
3110
|
+
|
|
3111
|
+
<p></div> <div class=“tags”></p>
|
|
3112
|
+
|
|
3113
|
+
<p></div><table class=“source_code”></p>
|
|
3114
|
+
|
|
3115
|
+
<pre><tr>
|
|
3116
|
+
<td>
|
|
3117
|
+
<pre class="lines"></pre>
|
|
3118
|
+
|
|
3119
|
+
<p>291 292 293</pre></p>
|
|
3120
|
+
|
|
3121
|
+
<pre></td>
|
|
3122
|
+
<td>
|
|
3123
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 291</span></pre>
|
|
3124
|
+
|
|
3125
|
+
<p><span class='kw'>def</span> <span class='id
|
|
3126
|
+
identifier
|
|
3127
|
+
rubyid_survival_threshold'>survival_threshold</span></p>
|
|
3128
|
+
|
|
3129
|
+
<pre><span class='ivar'>@survival_threshold</span></pre>
|
|
3130
|
+
|
|
3131
|
+
<p><span class='kw'>end</span></pre></p>
|
|
3132
|
+
|
|
3133
|
+
<pre> </td>
|
|
3134
|
+
</tr></pre>
|
|
3135
|
+
|
|
3136
|
+
<p></table> </div></p>
|
|
3137
|
+
|
|
3138
|
+
<pre> <span id="trait_mutation_power=-instance_method"></span>
|
|
3139
|
+
<div class="method_details ">
|
|
3140
|
+
<h3 class="signature " id="trait_mutation_power-instance_method">
|
|
3141
|
+
|
|
3142
|
+
- (<tt>Object</tt>) <strong>trait_mutation_power</strong></pre>
|
|
3143
|
+
|
|
3144
|
+
<p></h3><div class=“docstring”></p>
|
|
3145
|
+
|
|
3146
|
+
<pre><div class="discussion"></pre>
|
|
3147
|
+
|
|
3148
|
+
<p><p>Returns the value of attribute trait_mutation_power</p></p>
|
|
3149
|
+
|
|
3150
|
+
<pre></div></pre>
|
|
3151
|
+
|
|
3152
|
+
<p></div> <div class=“tags”></p>
|
|
3153
|
+
|
|
3154
|
+
<p></div><table class=“source_code”></p>
|
|
3155
|
+
|
|
3156
|
+
<pre><tr>
|
|
3157
|
+
<td>
|
|
3158
|
+
<pre class="lines"></pre>
|
|
3159
|
+
|
|
3160
|
+
<p>294 295 296</pre></p>
|
|
3161
|
+
|
|
3162
|
+
<pre></td>
|
|
3163
|
+
<td>
|
|
3164
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 294</span></pre>
|
|
3165
|
+
|
|
3166
|
+
<p><span class='kw'>def</span> <span class='id
|
|
3167
|
+
identifier
|
|
3168
|
+
rubyid_trait_mutation_power'>trait_mutation_power</span></p>
|
|
3169
|
+
|
|
3170
|
+
<pre><span class='ivar'>@trait_mutation_power</span></pre>
|
|
3171
|
+
|
|
3172
|
+
<p><span class='kw'>end</span></pre></p>
|
|
3173
|
+
|
|
3174
|
+
<pre> </td>
|
|
3175
|
+
</tr></pre>
|
|
3176
|
+
|
|
3177
|
+
<p></table> </div></p>
|
|
3178
|
+
|
|
3179
|
+
<pre> <span id="trait_param_mut_prob=-instance_method"></span>
|
|
3180
|
+
<div class="method_details ">
|
|
3181
|
+
<h3 class="signature " id="trait_param_mut_prob-instance_method">
|
|
3182
|
+
|
|
3183
|
+
- (<tt>Object</tt>) <strong>trait_param_mut_prob</strong></pre>
|
|
3184
|
+
|
|
3185
|
+
<p></h3><div class=“docstring”></p>
|
|
3186
|
+
|
|
3187
|
+
<pre><div class="discussion"></pre>
|
|
3188
|
+
|
|
3189
|
+
<p><p>Returns the value of attribute trait_param_mut_prob</p></p>
|
|
3190
|
+
|
|
3191
|
+
<pre></div></pre>
|
|
3192
|
+
|
|
3193
|
+
<p></div> <div class=“tags”></p>
|
|
3194
|
+
|
|
3195
|
+
<p></div><table class=“source_code”></p>
|
|
3196
|
+
|
|
3197
|
+
<pre><tr>
|
|
3198
|
+
<td>
|
|
3199
|
+
<pre class="lines"></pre>
|
|
3200
|
+
|
|
3201
|
+
<p>295 296 297</pre></p>
|
|
3202
|
+
|
|
3203
|
+
<pre></td>
|
|
3204
|
+
<td>
|
|
3205
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 295</span></pre>
|
|
3206
|
+
|
|
3207
|
+
<p><span class='kw'>def</span> <span class='id
|
|
3208
|
+
identifier
|
|
3209
|
+
rubyid_trait_param_mut_prob'>trait_param_mut_prob</span></p>
|
|
3210
|
+
|
|
3211
|
+
<pre><span class='ivar'>@trait_param_mut_prob</span></pre>
|
|
3212
|
+
|
|
3213
|
+
<p><span class='kw'>end</span></pre></p>
|
|
3214
|
+
|
|
3215
|
+
<pre> </td>
|
|
3216
|
+
</tr></pre>
|
|
3217
|
+
|
|
3218
|
+
<p></table> </div></p>
|
|
3219
|
+
|
|
3220
|
+
<pre> <span id="weigh_mut_power=-instance_method"></span>
|
|
3221
|
+
<div class="method_details ">
|
|
3222
|
+
<h3 class="signature " id="weigh_mut_power-instance_method">
|
|
3223
|
+
|
|
3224
|
+
- (<tt>Object</tt>) <strong>weigh_mut_power</strong></pre>
|
|
3225
|
+
|
|
3226
|
+
<p></h3><div class=“docstring”></p>
|
|
3227
|
+
|
|
3228
|
+
<pre><div class="discussion"></pre>
|
|
3229
|
+
|
|
3230
|
+
<p><p>Returns the value of attribute weigh_mut_power</p></p>
|
|
3231
|
+
|
|
3232
|
+
<pre></div></pre>
|
|
3233
|
+
|
|
3234
|
+
<p></div> <div class=“tags”></p>
|
|
3235
|
+
|
|
3236
|
+
<p></div><table class=“source_code”></p>
|
|
3237
|
+
|
|
3238
|
+
<pre><tr>
|
|
3239
|
+
<td>
|
|
3240
|
+
<pre class="lines"></pre>
|
|
3241
|
+
|
|
3242
|
+
<p>296 297 298</pre></p>
|
|
3243
|
+
|
|
3244
|
+
<pre></td>
|
|
3245
|
+
<td>
|
|
3246
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 296</span></pre>
|
|
3247
|
+
|
|
3248
|
+
<p><span class='kw'>def</span> <span class='id
|
|
3249
|
+
identifier rubyid_weigh_mut_power'>weigh_mut_power</span></p>
|
|
3250
|
+
|
|
3251
|
+
<pre><span class='ivar'>@weigh_mut_power</span></pre>
|
|
3252
|
+
|
|
3253
|
+
<p><span class='kw'>end</span></pre></p>
|
|
3254
|
+
|
|
3255
|
+
<pre> </td>
|
|
3256
|
+
</tr></pre>
|
|
3257
|
+
|
|
3258
|
+
<p></table> </div></p>
|
|
3259
|
+
|
|
3260
|
+
<pre> <span id="weight_coefficient=-instance_method"></span>
|
|
3261
|
+
<div class="method_details ">
|
|
3262
|
+
<h3 class="signature " id="weight_coefficient-instance_method">
|
|
3263
|
+
|
|
3264
|
+
- (<tt>Object</tt>) <strong>weight_coefficient</strong></pre>
|
|
3265
|
+
|
|
3266
|
+
<p></h3><div class=“docstring”></p>
|
|
3267
|
+
|
|
3268
|
+
<pre><div class="discussion"></pre>
|
|
3269
|
+
|
|
3270
|
+
<p><p>Speciation coffficient</p></p>
|
|
3271
|
+
|
|
3272
|
+
<pre></div></pre>
|
|
3273
|
+
|
|
3274
|
+
<p></div> <div class=“tags”></p>
|
|
3275
|
+
|
|
3276
|
+
<p></div><table class=“source_code”></p>
|
|
3277
|
+
|
|
3278
|
+
<pre><tr>
|
|
3279
|
+
<td>
|
|
3280
|
+
<pre class="lines"></pre>
|
|
3281
|
+
|
|
3282
|
+
<p>224 225 226</pre></p>
|
|
3283
|
+
|
|
3284
|
+
<pre></td>
|
|
3285
|
+
<td>
|
|
3286
|
+
<pre class="code"><span class="info file"># File 'lib/rubyneat/rubyneat.rb', line 224</span></pre>
|
|
3287
|
+
|
|
3288
|
+
<p><span class='kw'>def</span> <span class='id
|
|
3289
|
+
identifier
|
|
3290
|
+
rubyid_weight_coefficient'>weight_coefficient</span></p>
|
|
3291
|
+
|
|
3292
|
+
<pre><span class='ivar'>@weight_coefficient</span></pre>
|
|
3293
|
+
|
|
3294
|
+
<p><span class='kw'>end</span></pre></p>
|
|
3295
|
+
|
|
3296
|
+
<pre> </td>
|
|
3297
|
+
</tr></pre>
|
|
3298
|
+
|
|
3299
|
+
<p></table> </div></p>
|
|
3300
|
+
|
|
3301
|
+
<pre></div></pre>
|
|
3302
|
+
|
|
3303
|
+
<p></div></p>
|
|
3304
|
+
|
|
3305
|
+
<pre> <div id="footer">
|
|
3306
|
+
Generated on Sun Mar 16 16:36:52 2014 by
|
|
3307
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
3308
|
+
0.8.7.3 (ruby-2.1.1).</pre>
|
|
3309
|
+
|
|
3310
|
+
<p></div></p>
|
|
3311
|
+
|
|
3312
|
+
<pre></body></pre>
|
|
3313
|
+
|
|
3314
|
+
<p></html></p>
|
|
3315
|
+
</main>
|
|
3316
|
+
|
|
3317
|
+
|
|
3318
|
+
|
|
3319
|
+
<footer id="validator-badges" role="contentinfo">
|
|
3320
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
3321
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
|
|
3322
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
3323
|
+
</footer>
|
|
3324
|
+
|