X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/f1ac7a089033a5ecbe2c382a245531a24a83f1bf..861c9cbf206b74f2939f3d2fde70e054ad6fbd92:/Experimentations/make_params?ds=inline diff --git a/Experimentations/make_params b/Experimentations/make_params index f034186..dd7e201 100755 --- a/Experimentations/make_params +++ b/Experimentations/make_params @@ -16,10 +16,13 @@ die() { test -r "$TEMPLATE" || die "file not found: $TEMPLATE" +source "$TEMPLATE" || die "cannot read file: $TEMPLATE" +declare -a common_opts=( "${MORE_ARGS[@]}" ) + for flavour in "I" "R"; do for distrib in "1" "N"; do for ratio in "1000:1" "100:1" "10:1" "1:1" "1:10" "1:100" "1:1000"; do - declare -a opts=( ) + declare -a opts=( "${common_opts[@]}" ) case "$flavour" in "I") opts+=( -Z ) ;; "R") : ;; @@ -31,7 +34,6 @@ for flavour in "I" "R"; do *) die "unknown distribution: $distrib" ;; esac case "$ratio" in - *100*) continue ;; ##### HACK, FIXME ##### "1000:1") opts+=( -c1e6,0 -C1.25e2,0 ) ;; "100:1") opts+=( -c1e6,0 -C1.25e3,0 ) ;; "10:1") opts+=( -c1e6,0 -C1.25e4,0 ) ;;