This commit is contained in:
Loic Guegan 2021-05-20 07:20:34 +02:00
parent f7c6f8ad56
commit 390984c255
7 changed files with 9528 additions and 28712 deletions

View file

@ -21,7 +21,7 @@ run-simulation () {
[ $gen_log -eq 1 ] && echo -e "* seed=$seed simtime=$simtime wakeupevery=$wakeupevery wakeupfor=$wakeupfor n_nodes=$n_nodes extended=$extended hint=$hint poff=$poff pon=$pon prx=$prx ptx=$ptx datasize=$datasize bitrate=$bitrate \n" >> "${log_file}"
# Run simulations
if [ -e "$results" ]
if [ -e "$results" ]
then
# Create new result file
if [ $gen_log -eq 1 ]
@ -58,9 +58,11 @@ hintsize=8 # Integer
latency=0 # in Seconds
bitrate="100kbps"
run-scenarios() {
# Configure number of seed per scenarios
nseed=200
nseed=100
# Baseline
echo "Baseline..."