-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.sh
executable file
·52 lines (33 loc) · 916 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env bash
cd cmake-build-release
echo "debut compilation"
make
echo "compilation reussie"
echo "debut generation temps execution"
#Liste
echo "liste"
echo "gabow"
./graphes liste gabow > ../temps_executions/liste_gabow.txt
echo "kosaraju"
./graphes liste kosaraju > ../temps_executions/liste_kosaraju.txt
echo "tarjan"
./graphes liste tarjan > ../temps_executions/liste_tarjan.txt
#Matrice adjacence
echo "matrice"
echo "gabow"
./graphes matrice gabow > ../temps_executions/matrice_gabow.txt
echo "kosaraju"
./graphes matrice kosaraju > ../temps_executions/matrice_kosaraju.txt
echo "tarjan"
./graphes matrice tarjan > ../temps_executions/matrice_tarjan.txt
echo "fin"
cd ..
echo "debut dessin courbes"
cd temps_executions
gnuplot gabow_liste.plt
gnuplot kosaraju_liste.plt
gnuplot tarjan_liste.plt
gnuplot gabow_matrice.plt
gnuplot kosaraju_matrice.plt
gnuplot tarjan_matrice.plt
cd ..