From 9e1775828b719ccd63001619524418a819586dec Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Sat, 4 Mar 2023 18:58:09 +0000 Subject: [PATCH] Add support for seed customisation --- tools/sp-harness.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/sp-harness.bash b/tools/sp-harness.bash index dec280d..33a41b3 100755 --- a/tools/sp-harness.bash +++ b/tools/sp-harness.bash @@ -21,4 +21,5 @@ done MAX_PARTICLES="${MAX_PARTICLES:=2000}" -RUST_BACKTRACE=1 parallel "'$MODEL'" '{1}' $MAX_PARTICLES '{2}' "$ROOT/{2}/{1}.csv" ::: {1..100} ::: $PROBABILITIES +SEEDS="${SEEDS:=$(seq 1 100)}" +RUST_BACKTRACE=1 parallel "'$MODEL'" '{1}' $MAX_PARTICLES '{2}' "$ROOT/{2}/{1}.csv" ::: $SEEDS ::: $PROBABILITIES