From: Johannes Middeke Date: Tue, 10 May 2016 17:57:22 +0000 (-0400) Subject: Added script to run the factor experiments. X-Git-Url: http://git.risc.jku.at/gitweb/?a=commitdiff_plain;h=accff603a1a80b79c2beca7c062df0522ff7fcb0;p=jmiddeke%2FLU.git Added script to run the factor experiments. --- diff --git a/factors.sh b/factors.sh new file mode 100644 index 0000000..3847de1 --- /dev/null +++ b/factors.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +# N counts the number of samples generated so far. We do 20 samples in +# each iteration and we already have 20 from the test run. Maximale +# sample number is 300. + +for N in `seq 10 10 300` +do + # Run experiment + echo > DATA.degrees.$N + for I in `seq 5 5 80` + do + ./test.native --factors --size $I --times 10 \ + >> DATA.degrees.$N + done + + # Clean up results + echo 'let data = [' \ + > dataDEGREES.ml + + cat DATA.* \ + | sed 's/[a-z =]//g' \ + | cut -d, -f1,3,5 \ + | sed 's/\.$/;/' \ + >> dataDEGREES.ml + + echo ']' \ + >> dataDEGREES.ml + + # Generate an deploy HTML + ocaml makeHTMLdegrees.ml --samples $N \ + > BareissTMP.html + + scp Bareiss*.html jmiddeke@www:/home/www/people/jmiddeke/ +done +