Skip to content

Commit c338e40

Browse files
committed
updated readme.md
1 parent 3ac6195 commit c338e40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ pip3 install -r requirements.txt
5050
<p>For the genetic algorithm to work, the cromosomes must be codified in a way that the algorithm can understand. In this case, the cromosomes are represented as a list of <b>binary</b> values, where each value represents a bit of the <b>x</b> value. The number of bits is determined by the <code>precision</code> parameter.</p>
5151
<p>For a given <code>precision</code> the algorithm will need</p>
5252

53-
$$ \lceil \log_2((\text{upper\_bound} - \text{lower\_bound}) \times 10^{\text{precision}}) \rceil $$
53+
$$ \lceil \log2((\text{upper\_bound} - \text{lower\_bound}) \times 10^{\text{precision}}) \rceil $$
54+
5455
<p>bits to represent the <b>x</b> value in binary.</p>
5556
<p>For a more information about encoding and decoding check this: <a href="https://cms.fmi.unibuc.ro/problem/genetici1">resource</a>.</p>
5657
<hr/>
@@ -70,7 +71,7 @@ $$ \lceil \log_2((\text{upper\_bound} - \text{lower\_bound}) \times 10^{\text{pr
7071
<br>
7172
<hr>
7273
<h2>Tech specs</h2>
73-
<p>The graphical interface is made using <a href="https://docs.python.org/3/library/tkinter.html">tkinter</a> and the <code>graph</code> is made using <a href="https://matplotlib.org/stable/index.html">matplotlib</a>.</p>
74+
<p>The graphical interface is made using <a href="https://docs.python.org/3/library/tkinter.html">tkinter</a> and the <code>graph</code>
7475
<p>The <code>GUI</code> provides 4 buttons:</p>
7576
<ul>
7677
<li><code>Next</code> - it iterates a generation and updates all labels</li>

0 commit comments

Comments
 (0)