summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Guégan <loic.guegan@mailbox.org>2025-09-23 13:34:01 +0200
committerLoïc Guégan <loic.guegan@mailbox.org>2025-09-23 13:34:01 +0200
commitcadd0d81e6a28b50757d4982b15e77eb8e7d0630 (patch)
treeb2a95ecb5643090f07919c5c8ae36ff6b88fce07
parentf6a98338ad43c4b7f0f10b6a2b2a40388a3e9401 (diff)
Add explanation comments
-rwxr-xr-xsimulations/results/paper.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/simulations/results/paper.sh b/simulations/results/paper.sh
index f2c12af..2e4eb79 100755
--- a/simulations/results/paper.sh
+++ b/simulations/results/paper.sh
@@ -64,7 +64,7 @@ do
[ -e "${results}" ] && rm "${results}"
# Inputs
- parameters=$(cat ../../inputs_${input_suffix}.csv |tail -n +2)
+ parameters=$(cat ../../inputs_${input_suffix}.csv |tail -n +2) # Fetch random target generated by the models (DT and KNN) and the predicted policy (called simkey here)
nseed=200
while read -r parameter
@@ -73,7 +73,7 @@ do
wakeupfor=$(echo "$parameter" |tail -n1|cut -d ',' -f2)
econstraint=$(echo "$parameter" |tail -n1|cut -d ',' -f3)
cconstraint=$(echo "$parameter" |tail -n1|cut -d ',' -f4)
- simkey=$(echo "$parameter" |tail -n1|cut -d ',' -f5)
+ simkey=$(echo "$parameter" |tail -n1|cut -d ',' -f5) # Predicted policy to use to meet econstraint and cconstraint
model=$(echo "$parameter" |tail -n1|cut -d ',' -f6)
if [ "$wireless" == "lora" ]
then