Skip to content

Commit a53e837

Browse files
committed
Rebuild docs.
1 parent 78dd590 commit a53e837

39 files changed

+92
-81
lines changed
-220 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

docs/_build/html/_modules/pygenalgo/engines/auxiliary.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>pygenalgo.engines.auxiliary &mdash; PyGenAlgo 01.70.00 documentation</title>
6+
<title>pygenalgo.engines.auxiliary &mdash; PyGenAlgo 01.70.50 documentation</title>
77
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=92fd9be5" />
88
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=19f00094" />
99

@@ -14,7 +14,7 @@
1414

1515
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1616
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="../../../_static/documentation_options.js?v=fc45878b"></script>
17+
<script src="../../../_static/documentation_options.js?v=d0c4109e"></script>
1818
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
1919
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
2020
<script src="../../../_static/js/theme.js"></script>

docs/_build/html/_modules/pygenalgo/engines/generic_ga.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>pygenalgo.engines.generic_ga &mdash; PyGenAlgo 01.70.00 documentation</title>
6+
<title>pygenalgo.engines.generic_ga &mdash; PyGenAlgo 01.70.50 documentation</title>
77
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=92fd9be5" />
88
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=19f00094" />
99

@@ -14,7 +14,7 @@
1414

1515
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1616
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="../../../_static/documentation_options.js?v=fc45878b"></script>
17+
<script src="../../../_static/documentation_options.js?v=d0c4109e"></script>
1818
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
1919
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
2020
<script src="../../../_static/js/theme.js"></script>

docs/_build/html/_modules/pygenalgo/engines/island_model_ga.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>pygenalgo.engines.island_model_ga &mdash; PyGenAlgo 01.70.00 documentation</title>
6+
<title>pygenalgo.engines.island_model_ga &mdash; PyGenAlgo 01.70.50 documentation</title>
77
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=92fd9be5" />
88
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=19f00094" />
99

@@ -14,7 +14,7 @@
1414

1515
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1616
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="../../../_static/documentation_options.js?v=fc45878b"></script>
17+
<script src="../../../_static/documentation_options.js?v=d0c4109e"></script>
1818
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
1919
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
2020
<script src="../../../_static/js/theme.js"></script>

docs/_build/html/_modules/pygenalgo/engines/standard_ga.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>pygenalgo.engines.standard_ga &mdash; PyGenAlgo 01.70.00 documentation</title>
6+
<title>pygenalgo.engines.standard_ga &mdash; PyGenAlgo 01.70.50 documentation</title>
77
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=92fd9be5" />
88
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=19f00094" />
99

@@ -14,7 +14,7 @@
1414

1515
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1616
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="../../../_static/documentation_options.js?v=fc45878b"></script>
17+
<script src="../../../_static/documentation_options.js?v=d0c4109e"></script>
1818
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
1919
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
2020
<script src="../../../_static/js/theme.js"></script>

docs/_build/html/_modules/pygenalgo/genome/chromosome.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>pygenalgo.genome.chromosome &mdash; PyGenAlgo 01.70.00 documentation</title>
6+
<title>pygenalgo.genome.chromosome &mdash; PyGenAlgo 01.70.50 documentation</title>
77
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=92fd9be5" />
88
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=19f00094" />
99

@@ -14,7 +14,7 @@
1414

1515
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1616
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="../../../_static/documentation_options.js?v=fc45878b"></script>
17+
<script src="../../../_static/documentation_options.js?v=d0c4109e"></script>
1818
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
1919
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
2020
<script src="../../../_static/js/theme.js"></script>
@@ -299,10 +299,16 @@ <h1>Source code for pygenalgo.genome.chromosome</h1><div class="highlight"><pre>
299299
<span class="n">memo</span><span class="p">[</span><span class="nb">id</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_cache</span><span class="p">)]</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_cache</span><span class="o">.</span><span class="fm">__new__</span><span class="p">(</span><span class="nb">dict</span><span class="p">)</span>
300300
<span class="c1"># _end_if_</span>
301301

302-
<span class="c1"># Deep copy all other attributes.</span>
303-
<span class="k">for</span> <span class="n">key</span><span class="p">,</span> <span class="n">value</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="vm">__dict__</span><span class="o">.</span><span class="n">items</span><span class="p">():</span>
304-
<span class="nb">setattr</span><span class="p">(</span><span class="n">new_object</span><span class="p">,</span> <span class="n">key</span><span class="p">,</span> <span class="n">deepcopy</span><span class="p">(</span><span class="n">value</span><span class="p">,</span> <span class="n">memo</span><span class="p">))</span>
305-
<span class="c1"># _end_for_</span>
302+
<span class="c1"># Deepcopy ONLY the genome because</span>
303+
<span class="c1"># it is a (mutable) list of Genes.</span>
304+
<span class="nb">setattr</span><span class="p">(</span><span class="n">new_object</span><span class="p">,</span> <span class="s2">&quot;_genome&quot;</span><span class="p">,</span>
305+
<span class="n">deepcopy</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_genome</span><span class="p">,</span> <span class="n">memo</span><span class="p">))</span>
306+
307+
<span class="c1"># Simply copy the fitness value.</span>
308+
<span class="nb">setattr</span><span class="p">(</span><span class="n">new_object</span><span class="p">,</span> <span class="s2">&quot;_fitness&quot;</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">_fitness</span><span class="p">)</span>
309+
310+
<span class="c1"># Simply copy the boolean flag.</span>
311+
<span class="nb">setattr</span><span class="p">(</span><span class="n">new_object</span><span class="p">,</span> <span class="s2">&quot;_valid&quot;</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">_valid</span><span class="p">)</span>
306312

307313
<span class="c1"># Return identical instance.</span>
308314
<span class="k">return</span> <span class="n">new_object</span>

docs/_build/html/_modules/pygenalgo/genome/gene.html

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>pygenalgo.genome.gene &mdash; PyGenAlgo 01.70.00 documentation</title>
6+
<title>pygenalgo.genome.gene &mdash; PyGenAlgo 01.70.50 documentation</title>
77
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=92fd9be5" />
88
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=19f00094" />
99

@@ -14,7 +14,7 @@
1414

1515
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1616
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="../../../_static/documentation_options.js?v=fc45878b"></script>
17+
<script src="../../../_static/documentation_options.js?v=d0c4109e"></script>
1818
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
1919
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
2020
<script src="../../../_static/js/theme.js"></script>
@@ -297,11 +297,16 @@ <h1>Source code for pygenalgo.genome.gene</h1><div class="highlight"><pre>
297297
<span class="n">memo</span><span class="p">[</span><span class="nb">id</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_cache</span><span class="p">)]</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_cache</span><span class="o">.</span><span class="fm">__new__</span><span class="p">(</span><span class="nb">dict</span><span class="p">)</span>
298298
<span class="c1"># _end_if_</span>
299299

300-
<span class="c1"># Deep copy all other attributes.</span>
301-
<span class="k">for</span> <span class="n">attr</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="vm">__slots__</span><span class="p">:</span>
302-
<span class="nb">setattr</span><span class="p">(</span><span class="n">new_object</span><span class="p">,</span> <span class="n">attr</span><span class="p">,</span>
303-
<span class="n">deepcopy</span><span class="p">(</span><span class="nb">getattr</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">attr</span><span class="p">),</span> <span class="n">memo</span><span class="p">))</span>
304-
<span class="c1"># _end_for_</span>
300+
<span class="c1"># Deepcopy ONLY the datum because it</span>
301+
<span class="c1"># might be a complex mutable object.</span>
302+
<span class="nb">setattr</span><span class="p">(</span><span class="n">new_object</span><span class="p">,</span> <span class="s2">&quot;_datum&quot;</span><span class="p">,</span>
303+
<span class="n">deepcopy</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_datum</span><span class="p">,</span> <span class="n">memo</span><span class="p">))</span>
304+
305+
<span class="c1"># Simply copy the function handle.</span>
306+
<span class="nb">setattr</span><span class="p">(</span><span class="n">new_object</span><span class="p">,</span> <span class="s2">&quot;_func&quot;</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">_func</span><span class="p">)</span>
307+
308+
<span class="c1"># Simply copy the boolean flag.</span>
309+
<span class="nb">setattr</span><span class="p">(</span><span class="n">new_object</span><span class="p">,</span> <span class="s2">&quot;_valid&quot;</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">_valid</span><span class="p">)</span>
305310

306311
<span class="c1"># Return identical instance.</span>
307312
<span class="k">return</span> <span class="n">new_object</span>

docs/_build/html/_modules/pygenalgo/operators/crossover/crossover_operator.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>pygenalgo.operators.crossover.crossover_operator &mdash; PyGenAlgo 01.70.00 documentation</title>
6+
<title>pygenalgo.operators.crossover.crossover_operator &mdash; PyGenAlgo 01.70.50 documentation</title>
77
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=92fd9be5" />
88
<link rel="stylesheet" type="text/css" href="../../../../_static/css/theme.css?v=19f00094" />
99

@@ -14,7 +14,7 @@
1414

1515
<script src="../../../../_static/jquery.js?v=5d32c60e"></script>
1616
<script src="../../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="../../../../_static/documentation_options.js?v=fc45878b"></script>
17+
<script src="../../../../_static/documentation_options.js?v=d0c4109e"></script>
1818
<script src="../../../../_static/doctools.js?v=9a2dae69"></script>
1919
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
2020
<script src="../../../../_static/js/theme.js"></script>

docs/_build/html/_modules/pygenalgo/operators/crossover/meta_crossover.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>pygenalgo.operators.crossover.meta_crossover &mdash; PyGenAlgo 01.70.00 documentation</title>
6+
<title>pygenalgo.operators.crossover.meta_crossover &mdash; PyGenAlgo 01.70.50 documentation</title>
77
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=92fd9be5" />
88
<link rel="stylesheet" type="text/css" href="../../../../_static/css/theme.css?v=19f00094" />
99

@@ -14,7 +14,7 @@
1414

1515
<script src="../../../../_static/jquery.js?v=5d32c60e"></script>
1616
<script src="../../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="../../../../_static/documentation_options.js?v=fc45878b"></script>
17+
<script src="../../../../_static/documentation_options.js?v=d0c4109e"></script>
1818
<script src="../../../../_static/doctools.js?v=9a2dae69"></script>
1919
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
2020
<script src="../../../../_static/js/theme.js"></script>

0 commit comments

Comments
 (0)