Skip to content

Commit ecfa203

Browse files
authored
Update README.md
1 parent d82a743 commit ecfa203

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Expanding and exploring the Bak-Sneppen model written in Python 3+
44

55
By: [Hildebert Moulié](https://github.com/hildobby), [Philippe Nicolau](https://github.com/PNicolau96), [Louis Weyland](https://github.com/LouisWW) & [Binjie Zhou](https://github.com/binjiezhou).
66

7-
<p float="left" class="center">
7+
<p float="left" align="center">
88
<img src="https://github.com/hildobby/Complex_System/blob/master/src/figures/lattice_itr%3D1.png" width="400" />
99
<img src="https://github.com/hildobby/Complex_System/blob/master/src/figures/lattice-age_itr%3D2000.png" width="400" />
1010
</p>
@@ -21,29 +21,31 @@ By: [Hildebert Moulié](https://github.com/hildobby), [Philippe Nicolau](https:/
2121
## Overview of some of the results
2222

2323
### Fitness over time
24-
![Fitness over time](https://github.com/hildobby/Complex_System/blob/master/src/figures/average_fitness_s%3D(20%2C%2020)_itr%3D2000_rep%3D10_std%3D0.3.png)
2524

26-
### Impact of percentage of empty node
27-
<p float="left" class="center">
28-
<img src="https://github.com/hildobby/Complex_System/blob/master/src/figures/avalanche_empy_space_percentage_comparison.png" width="400" />
29-
<img src="https://github.com/hildobby/Complex_System/blob/master/src/figures/threshold_empy_space_percentage_comparison.png" width="400" />
25+
<p align="center">
26+
<img src="https://github.com/hildobby/Complex_System/blob/master/src/figures/average_fitness_s%3D(20%2C%2020)_itr%3D2000_rep%3D10_std%3D0.3.png" />
3027
</p>
3128

29+
### Impact of percentage of empty node
30+
<p align="center">
31+
<img src="https://github.com/hildobby/Complex_System/blob/master/src/figures/avalanche_empy_space_percentage_comparison.png" />
32+
</p>
33+
<p align="center">
34+
<img src="https://github.com/hildobby/Complex_System/blob/master/src/figures/threshold_empy_space_percentage_comparison.png" />
35+
</p>
3236

3337
### Cluster size distribution for different grid sizes
34-
![Cluster size distribution for different grid sizes](https://github.com/hildobby/Complex_System/blob/master/src/figures/cluster-sizes_rep=2000.png)
38+
<p align="center">
39+
<img src="https://github.com/hildobby/Complex_System/blob/master/src/figures/cluster-sizes_rep=2000.png" />
40+
</p>
3541

3642
## Working with the repository
3743

3844
Gathering the required packages
3945
```
4046
pip3 install -r requirements.txt
4147
```
42-
43-
Running the model
44-
```
45-
python3 main.py
46-
```
48+
The code for the model is located in `src/lattice.py` and the graphs can be generated by calling the different functions in `src/main.py`. The file `results_presentation.ipynb` that was used to create the presentation of this project shows how the result figures as shown above can be generated.
4749

4850
Generating the presentation from the `results_presentation.ipynb` Jupyter notebook
4951
```

0 commit comments

Comments
 (0)