We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfa6c8b commit 155455eCopy full SHA for 155455e
test-bbobexp-1d.sh
@@ -0,0 +1,21 @@
1
+#!/bin/sh
2
+# Run test.py on a set of functions in 1D, collecting the BBOB fev data
3
+# (and final averaged results).
4
+# Usage: ./test-bbobexp-1d.sh ALIAS TEST_PARAM...
5
+# Example: ./test-bbobexp-1d.sh ndstep ndstep
6
+# Example: ./test-bbobexp-1d.sh ndsqistept500 -t 500 ndsqistep
7
+
8
+alias="$1"
9
+shift
10
+if [ -z "$alias" ]; then
11
+ echo "Usage: ./test-bbobexp-1d.sh ALIAS TEST_PARAM..." >&2
12
+ exit 1
13
+fi
14
15
+for i in `seq 1 24`; do
16
+ mkdir -p 1d-data/B$i
17
+ echo B$i
18
+ ./test.py -d 1 -f B$i -i 10000 "$@" | tee 1d-data/B$i/"$alias"
19
+done
20
21
+grep converg 1d-data/B*/"$alias"
0 commit comments