diff --git a/README.md b/README.md index e69de29..bfdad72 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,4 @@ +## Data Structure + +All `.csv` files in the same directory should be of the same system config and contain all information required for +their reproduction. diff --git a/tools/stick-probability-harness.bash b/tools/stick-probability-harness.bash new file mode 100755 index 0000000..eef664d --- /dev/null +++ b/tools/stick-probability-harness.bash @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +# NOTE: Requires GNU parallel + +MODEL="models/stick-probability" +mkdir -p data/stick-probability +PROBABILITIES=$(seq 0.1 0.1 1) + +for i in $PROBABILITIES; do + mkdir data/stick-probability/"$i" +done + +MAX_PARTICLES=2000 + +parallel "$MODEL" '{1}' $MAX_PARTICLES '{2}' 'data/stick-probability/{2}/{1}.csv' ::: {1..20} ::: $PROBABILITIES