Skip to content
Snippets Groups Projects
Commit 3f1513fd authored by LITIERE MALRIC's avatar LITIERE MALRIC
Browse files

modif read me

parent 4a976349
Branches
No related merge requests found
Showing
with 411 additions and 431 deletions
......@@ -30,9 +30,9 @@
- [ ] La section est pertinente.
- [ ] La section n'est pas pertinente.
- Description de la démarche systématique
- [ ] La section est pertinente, succincte et précise.
- [x] La section est pertinente, succincte et précise.
- [ ] La section est pertinente.
- [x] La section n'est pas pertinente.
- [] La section n'est pas pertinente.
- Analyse des résultats préalables
- [ ] La section est pertinente, succincte et précise.
- [ ] La section est pertinente.
......
all: main
all: sort
sort : tris.o utils.o main.c
gcc -o sort -Wall utils.o tris.o -g main.c
......
......@@ -17,7 +17,6 @@ L'efficacité peut être mesuree en fonction des differents parametres:
- Pareil pour la memoire
- Le nombre de comparaisons total
- Le nombre d'ecritures total
- Le plus important: est-ce que l'algo peut commander des sushi?
```
En fonction de ces paramètres on peut deduire par exemple, dans quelles situations particulieres on peut appliquer cet algorithme, est-ce que c'est un algorythme universel, est-ce que une entreprise a besoin de cet algorithme pour trier les donnees de sa base de donnees, comment adapter cet algorithme a nos preferences du Systeme
......@@ -89,19 +88,16 @@ Suite des commandes, ou script, à exécuter pour produire les données.
### Temps d'exécution
| Jeu de test | Tri par Insertion | Tri Fusion | Tri Rapide |
|----------------------|---------------------------|---------------------------|---------------------------|
| Aléatoire | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) |
| Trié | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) |
| Tri inversé | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) |
| Jeu de test | Tri par Insertion | Tri Fusion | Tri Rapide | Tri à bulle |
|----------------------|---------------------------|---------------------------|---------------------------|---------------------------|
| | ![plot](/2021/renduTP2/images/tab_insert2.png) | 1| 2| 3|
### Consommation mémoire
| Jeu de test | Tri par Insertion | Tri Fusion | Tri Rapide |
|----------------------|---------------------------|---------------------------|---------------------------|
| Aléatoire | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) |
| Trié | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) |
| Tri inversé | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) |
| Jeu de test | Tri par Insertion | Tri Fusion | Tri Rapide | Tri à bulle |
|----------------------|---------------------------|---------------------------|---------------------------|---------------------------|
| Aléatoire | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) | ![plot](path/to/plot.png) |
### Analyse des résultats préalables
......
This diff is collapsed.
renduTP2/images/tab_bulle2.png

280 KiB

renduTP2/images/tab_bulle2mem.png

286 KiB

renduTP2/images/tab_fusion2.png

299 KiB

renduTP2/images/tab_fusion2meme.png

195 KiB

renduTP2/images/tab_insert2.png

237 KiB

renduTP2/images/tab_insert2meme.png

289 KiB

renduTP2/images/tab_rapide2.png

223 KiB

renduTP2/images/tab_rapide2mem.png

293 KiB

renduTP2/myplot.png

10.3 KiB

renduTP2/myplot2.png

12.5 KiB

......@@ -40,26 +40,26 @@ ggsave("./images/tab_bulle2.png")
#memoire
ggplot(fusion, aes(x = taille, y = mem, color = typeTableau)) +
geom_smooth(size=1.5,alpha=0.8)+ geom_point()+ labs(title="Test fusion : mem en fonction de taille",x="Taille",y="Temps", color = "Type tableau")+
geom_smooth(size=1.5,alpha=0.8)+ geom_point()+ labs(title="Test fusion : mem en fonction de taille",x="Memoire",y="Temps", color = "Type tableau")+
theme_fivethirtyeight()+theme(axis.title=element_text())
ggsave("./images/tab_fusion2meme.png")
ggplot(insert, aes(x = taille, y = mem, color = typeTableau)) +
geom_smooth(size=1.5,alpha=0.8)+ geom_point()+ labs(title="Test insert : mem en fonction de taille",x="Taille",y="Temps", color = "Type tableau")+
geom_smooth(size=1.5,alpha=0.8)+ geom_point()+ labs(title="Test insert : mem en fonction de taille",x="Memoire",y="Temps", color = "Type tableau")+
theme_fivethirtyeight()+theme(axis.title=element_text())
ggsave("./images/tab_insert2meme.png")
ggplot(rapide, aes(x = taille, y = mem, color = typeTableau)) +
geom_smooth(size=1.5,alpha=0.8)+ geom_point()+ labs(title="Test rapide : mem en fonction de taille",x="Taille",y="Temps", color = "Type tableau")+
geom_smooth(size=1.5,alpha=0.8)+ geom_point()+ labs(title="Test rapide : mem en fonction de taille",x="Memoire",y="Temps", color = "Type tableau")+
theme_fivethirtyeight()+theme(axis.title=element_text())
ggsave("./images/tab_rapide2mem.png")
ggplot(bulle, aes(x = taille, y = mem, color = typeTableau)) +
geom_smooth(size=1.5,alpha=0.8)+ geom_point()+ labs(title="Bulle : mem en fonction de taille",x="Taille",y="Temps", color = "Type tableau")+
geom_smooth(size=1.5,alpha=0.8)+ geom_point()+ labs(title="Bulle : mem en fonction de taille",x="Memoire",y="Temps", color = "Type tableau")+
theme_fivethirtyeight()+theme(axis.title=element_text())
ggsave("./images/tab_bulle2mem.png")
\ No newline at end of file
renduTP2/tab_fusion.png

124 KiB

renduTP2/tab_fusion2.png

125 KiB

renduTP2/tab_insert.png

123 KiB

renduTP2/tab_insert2.png

127 KiB

0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment