Newer
Older
#!/bin/sh
echo -e "taille\ttypeTableau\trecursion\tcomparaison\tpermutation" > data_rec
for i in 1
do
for taille in 0 2500 5000 7500 10000 12500 15000 17500 20000 22500 25000 27500 30000 32500 35000 37500 40000 42500 45000 47500
do
for typeTableau in 'aleatoire' 'range' 'inverse' 'constant' 'middle'
do
res=$(./sort $taille $typeTableau t)
echo -e "$taille\t$typeTableau\t$res" >> data_rec
done
done
done