Skip to content
Snippets Groups Projects
Commit 304bf8c3 authored by Gutama Ibrahim Mohammad's avatar Gutama Ibrahim Mohammad
Browse files

Documentation gen.py file generated but not working

parent 90a7323b
No related branches found
No related tags found
1 merge request!16Create a new crossover algorithm
Showing
with 193 additions and 3 deletions
No preview for this file type
File added
No preview for this file type
Documentation for gen file
++++++++++++++++++++++++++
.. currentmodule:: gen
.. autofunction:: ground
.. autofunction:: ground_force
.. autofunction:: calc_spring_force
.. autofunction:: calc_point_acceleration
......@@ -14,6 +14,7 @@ Welcome to Genetic Bike A's documentation!
:caption: Contents:
genetic_algorithm
gen
......
<!DOCTYPE html>
<html lang="python">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<title>Documentation for gen file &#8212; Genetic Bike A 01.07.2022 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="Documentation for genetic algorithm module" href="genetic_algorithm.html" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
</head><body>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="documentation-for-gen-file">
<h1>Documentation for gen file<a class="headerlink" href="#documentation-for-gen-file" title="Permalink to this heading"></a></h1>
</section>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="index.html">Genetic Bike A</a></h1>
<h3>Navigation</h3>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="genetic_algorithm.html">Documentation for genetic algorithm module</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Documentation for gen file</a></li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="index.html">Documentation overview</a><ul>
<li>Previous: <a href="genetic_algorithm.html" title="previous chapter">Documentation for genetic algorithm module</a></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
&copy;2022, "Gutama Ibrahim Mohammad","Hui Cheng", "Alberto Rovetta","Crystal Din".
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 5.0.2</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
<a href="_sources/gen.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>
\ No newline at end of file
......@@ -16,6 +16,7 @@
<script src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Documentation for gen file" href="gen.html" />
<link rel="prev" title="Welcome to Genetic Bike A&#39;s documentation!" href="index.html" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
......@@ -219,6 +220,7 @@ which are the top A% of the population that have the highest fitness score.</p>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Documentation for genetic algorithm module</a></li>
<li class="toctree-l1"><a class="reference internal" href="gen.html">Documentation for gen file</a></li>
</ul>
<div class="relations">
......@@ -226,6 +228,7 @@ which are the top A% of the population that have the highest fitness score.</p>
<ul>
<li><a href="index.html">Documentation overview</a><ul>
<li>Previous: <a href="index.html" title="previous chapter">Welcome to Genetic Bike A's documentation!</a></li>
<li>Next: <a href="gen.html" title="next chapter">Documentation for gen file</a></li>
</ul></li>
</ul>
</div>
......
......@@ -125,6 +125,7 @@
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="genetic_algorithm.html">Documentation for genetic algorithm module</a></li>
<li class="toctree-l1"><a class="reference internal" href="gen.html">Documentation for gen file</a></li>
</ul>
<div class="relations">
......
......@@ -39,6 +39,7 @@
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="genetic_algorithm.html">Documentation for genetic algorithm module</a></li>
<li class="toctree-l1"><a class="reference internal" href="gen.html">Documentation for gen file</a></li>
</ul>
</div>
</section>
......@@ -71,6 +72,7 @@
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="genetic_algorithm.html">Documentation for genetic algorithm module</a></li>
<li class="toctree-l1"><a class="reference internal" href="gen.html">Documentation for gen file</a></li>
</ul>
<div class="relations">
......
......@@ -2,5 +2,6 @@
# Project: Genetic Bike A
# Version:
# The remainder of this file is compressed using zlib.
xڭKO0 F qj%*qXK#cߞXxgǶDAiIp*q5n@~ 6}0
J~ i#i. Ŀx&3\<ɣF~rgk+N)coi},U'ñcV8Nph~MX P{Ѡ- ݒ'bHD י3NV/2Ps2, l梚~Rp} 7s{"jX}Y-X (\
\ No newline at end of file
xڭMK0#
Z7E=KLi0ɔ|,4uoɼ>CŠxôiq*ta5@UB*{ڡK8#/EB8/E򨑟=
S"2}εG}-ucǬ p"'+>hNġ:' Gv~\U#J:.5žbHČWVD ̝Mb6/:^Qs2`~sxPrb] Ki9z#s;4ZdfOnb
\ No newline at end of file
......
......@@ -87,6 +87,7 @@
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="genetic_algorithm.html">Documentation for genetic algorithm module</a></li>
<li class="toctree-l1"><a class="reference internal" href="gen.html">Documentation for gen file</a></li>
</ul>
<div class="relations">
......
Search.setIndex({"docnames": ["genetic_algorithm", "index"], "filenames": ["genetic_algorithm.rst", "index.rst"], "titles": ["Documentation for genetic algorithm module", "Welcome to Genetic Bike A's documentation!"], "terms": {"index": 1, "modul": 1, "search": 1, "page": 1, "again": [], "toctre": [], "maxdepth": [], "2": 0, "caption": [], "content": 0, "autofunct": [], "generate_random_coordin": 0, "algorithm": 1, "class": 0, "genetic_algo": 0, "start_point": 0, "side_length": 0, "gener": 0, "random": 0, "coordin": 0, "thi": 0, "function": 0, "four": 0, "point": 0, "insid": 0, "squar": 0, "box": 0, "defin": 0, "length": 0, "side": 0, "tupl": 0, "two": 0, "diment": 0, "repres": 0, "stare": 0, "side_lenght": 0, "int": 0, "A": 0, "integ": 0, "number": 0, "lenght": 0, "pox": 0, "list": 0, "ar": 0, "input": 0, "paramet": 0, "individu": 0, "indivu": 0, "attribut": 0, "contanin": 0, "2d": 0, "set_coordin": 0, "reset": 0, "given": 0, "coordinatg": 0, "set_fitness_scor": 0, "fitness_scor": 0, "fit": 0, "score": 0, "model": [], "popul": 0, "size": 0, "fit_func": 0, "collect": 0, "object": 0, "__size": 0, "privat": 0, "spesifi": 0, "__start_point": 0, "variabl": 0, "start": 0, "need": 0, "creat": 0, "__side_length": 0, "creeat": 0, "us": 0, "calcul": 0, "all": 0, "get_siz": 0, "get": 0, "set_popul": 0, "average_fitness_scor": 0, "averag": 0, "best_fitness_scor": 0, "maximaum": 0, "genetic_algorithm": 0, "population_s": 0, "ga": 0, "form": 0, "evolutionari": 0, "comput": 0, "especi": 0, "suitabl": 0, "optim": 0, "problem": 0, "follow": 0, "process": 0, "natur": 0, "evolut": 0, "usual": 0, "solv": 0, "main": 0, "step": 0, "initi": 0, "repeat": 0, "select": 0, "crossov": 0, "mutat": 0, "until": 0, "ha": 0, "converg": 0, "stop": 0, "bound": 0, "area": 0, "which": 0, "we": 0, "name": 0, "return": 0, "start_sid": [], "paramat": [], "top_individu": 0, "gene": 0, "parent": 0, "combin": 0, "them": 0, "make": 0, "up": 0, "child": 0, "s": 0, "take": 0, "new": 0, "each": 0, "produc": 0, "from": 0, "randomli": 0, "let": 0, "sai": 0, "b": 0, "one": 0, "50": 0, "The": 0, "total": 0, "amount": 0, "children": 0, "same": 0, "origin": 0, "mutation_frequ": 0, "0": 0, "shuffl": 0, "modifi": 0, "randint": 0, "1": 0, "none": 0, "run": 0, "execut": 0, "where": 0, "differ": 0, "between": 0, "best": 0, "less": 0, "than": 0, "5": 0, "percentag": 0, "top": 0, "have": 0, "highest": 0, "float": 0}, "objects": {"genetic_algo": [[0, 0, 1, "", "Genetic_algorithm"], [0, 0, 1, "", "Individual"], [0, 0, 1, "", "Population"], [0, 2, 1, "", "generate_random_coordinates"]], "genetic_algo.Genetic_algorithm": [[0, 1, 1, "", "crossover"], [0, 1, 1, "", "mutation"], [0, 1, 1, "", "run"], [0, 1, 1, "", "selection"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "function", "Python function"]}, "titleterms": {"welcom": 1, "genet": [0, 1], "bike": 1, "A": 1, "s": 1, "document": [0, 1], "indic": 1, "tabl": 1, "algorithm": 0, "class": [], "content": 1, "model": [], "modul": 0}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 56}})
\ No newline at end of file
Search.setIndex({"docnames": ["gen", "genetic_algorithm", "index"], "filenames": ["gen.rst", "genetic_algorithm.rst", "index.rst"], "titles": ["Documentation for gen file", "Documentation for genetic algorithm module", "Welcome to Genetic Bike A's documentation!"], "terms": {"genetic_algo": 1, "generate_random_coordin": 1, "start_point": 1, "side_length": 1, "gener": 1, "random": 1, "coordin": 1, "thi": 1, "function": 1, "four": 1, "point": 1, "insid": 1, "squar": 1, "box": 1, "defin": 1, "length": 1, "side": 1, "tupl": 1, "two": 1, "diment": 1, "repres": 1, "stare": 1, "side_lenght": 1, "int": 1, "A": 1, "integ": 1, "number": 1, "lenght": 1, "pox": 1, "list": 1, "ar": 1, "input": 1, "paramet": 1, "class": 1, "individu": 1, "indivu": 1, "attribut": 1, "contanin": 1, "2d": 1, "set_coordin": 1, "reset": 1, "given": 1, "coordinatg": 1, "set_fitness_scor": 1, "fitness_scor": 1, "fit": 1, "score": 1, "popul": 1, "size": 1, "fit_func": 1, "collect": 1, "object": 1, "__size": 1, "privat": 1, "spesifi": 1, "__start_point": 1, "variabl": 1, "start": 1, "need": 1, "creat": 1, "__side_length": 1, "creeat": 1, "us": 1, "calcul": 1, "all": 1, "get_siz": 1, "get": 1, "set_popul": 1, "average_fitness_scor": 1, "averag": 1, "best_fitness_scor": 1, "maximaum": 1, "genetic_algorithm": 1, "population_s": 1, "ga": 1, "form": 1, "evolutionari": 1, "comput": 1, "especi": 1, "suitabl": 1, "optim": 1, "problem": 1, "follow": 1, "process": 1, "natur": 1, "evolut": 1, "usual": 1, "solv": 1, "main": 1, "step": 1, "initi": 1, "repeat": 1, "select": 1, "crossov": 1, "mutat": 1, "until": 1, "ha": 1, "converg": 1, "stop": 1, "bound": 1, "area": 1, "which": 1, "we": 1, "name": 1, "top_individu": 1, "gene": 1, "parent": 1, "combin": 1, "them": 1, "make": 1, "up": 1, "child": 1, "s": 1, "take": 1, "return": 1, "new": 1, "each": 1, "produc": 1, "from": 1, "randomli": 1, "let": 1, "sai": 1, "b": 1, "one": 1, "50": 1, "content": 1, "The": 1, "total": 1, "amount": 1, "children": 1, "same": 1, "origin": 1, "mutation_frequ": 1, "0": 1, "2": 1, "shuffl": 1, "modifi": 1, "randint": 1, "1": 1, "none": 1, "run": 1, "execut": 1, "where": 1, "differ": 1, "between": 1, "best": 1, "less": 1, "than": 1, "5": 1, "percentag": 1, "top": 1, "have": 1, "highest": 1, "float": 1, "algorithm": 2, "modul": 2, "gen": 2, "file": 2, "index": 2, "search": 2, "page": 2}, "objects": {"genetic_algo": [[1, 0, 1, "", "Genetic_algorithm"], [1, 0, 1, "", "Individual"], [1, 0, 1, "", "Population"], [1, 2, 1, "", "generate_random_coordinates"]], "genetic_algo.Genetic_algorithm": [[1, 1, 1, "", "crossover"], [1, 1, 1, "", "mutation"], [1, 1, 1, "", "run"], [1, 1, 1, "", "selection"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "function", "Python function"]}, "titleterms": {"document": [0, 1, 2], "gen": 0, "file": 0, "genet": [1, 2], "algorithm": 1, "modul": 1, "welcom": 2, "bike": 2, "A": 2, "s": 2, "content": 2, "indic": 2, "tabl": 2}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 56}})
\ No newline at end of file
make.bat 0 → 100644
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://www.sphinx-doc.org/
exit /b 1
)
if "%1" == "" goto help
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
:end
popd
Documentation for gen file
++++++++++++++++++++++++++
.. currentmodule:: gen
.. autofunction:: ground
.. autofunction:: ground_force
.. autofunction:: calc_spring_force
.. autofunction:: calc_point_acceleration
......@@ -14,6 +14,7 @@ Welcome to Genetic Bike A's documentation!
:caption: Contents:
genetic_algorithm
gen
......
File added
File added
File added
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment