Skip to content

Commit

Permalink
Beta version 0.3.0. End of alpha versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoFara committed Jul 21, 2021
1 parent 301014d commit cb01272
Show file tree
Hide file tree
Showing 20 changed files with 121 additions and 81 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.3.0-beta] - 2021-07-21
### Added
- Multiprocessing is here! The genetic optimization can now be run in parallel!
Performances got improved by 65 % using 4 processes only.
Expand All @@ -15,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The sidebar in the documentation a bit more useful.
- Not having tqdm will cause an exception.

### Fixed
- Corrected the example, the genetic optimization is now properly fixed but
slower.

### Removed
- native support for PyGAD is no longer present.
- ``evolutionnary_optimization`` (replaced by ``evolutionary_optimization``).
Expand Down
2 changes: 1 addition & 1 deletion docs/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 8fec30c6b948d6cd396c40a29450d753
config: 16ebb9102fed1af2bd38eae4d81548ce
tags: 645f666f9bcd5a90fca523b33c5a78b7
2 changes: 1 addition & 1 deletion docs/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '0.2.0-alpha',
VERSION: '0.3.0',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
2 changes: 1 addition & 1 deletion docs/api/dynamiclinkage.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>dynamiclinkage &mdash; LeggedSnake 0.2.0-alpha documentation</title>
<title>dynamiclinkage &mdash; LeggedSnake 0.3.0 documentation</title>



Expand Down
18 changes: 17 additions & 1 deletion docs/api/geneticoptimizer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>geneticoptimizer &mdash; LeggedSnake 0.2.0-alpha documentation</title>
<title>geneticoptimizer &mdash; LeggedSnake 0.3.0 documentation</title>



Expand Down Expand Up @@ -622,6 +622,22 @@ <h1>geneticoptimizer<a class="headerlink" href="#geneticoptimizer" title="Permal
</div>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="leggedsnake.geneticoptimizer.save_population">
<span class="sig-prename descclassname"><span class="pre">leggedsnake.geneticoptimizer.</span></span><span class="sig-name descname"><span class="pre">save_population</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file_path</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">population</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">verbose</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">data_descriptors</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#leggedsnake.geneticoptimizer.save_population" title="Permalink to this definition"></a></dt>
<dd><p>Save the population to a json file.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>file_path</strong> (<em>str</em>) – </p></li>
<li><p><strong>population</strong> (<em>list of dna</em>) – </p></li>
<li><p><strong>verbose</strong> (<em>bool</em>) – </p></li>
<li><p><strong>data_descriptors</strong> (<em>dict</em>) – Any additional value you want to save for the current generation.</p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="leggedsnake.geneticoptimizer.select_parents">
<span class="sig-prename descclassname"><span class="pre">leggedsnake.geneticoptimizer.</span></span><span class="sig-name descname"><span class="pre">select_parents</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">pop</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">verbose</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#leggedsnake.geneticoptimizer.select_parents" title="Permalink to this definition"></a></dt>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/physicsengine.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>physicsengine &mdash; LeggedSnake 0.2.0-alpha documentation</title>
<title>physicsengine &mdash; LeggedSnake 0.3.0 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion docs/api/utility.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>utility &mdash; LeggedSnake 0.2.0-alpha documentation</title>
<title>utility &mdash; LeggedSnake 0.3.0 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion docs/api/walker.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>walker &mdash; LeggedSnake 0.2.0-alpha documentation</title>
<title>walker &mdash; LeggedSnake 0.3.0 documentation</title>



Expand Down
Loading

0 comments on commit cb01272

Please sign in to comment.