diff --git a/docs/source/examples.rst b/docs/source/examples.rst index 9308e4a..ac4466e 100644 --- a/docs/source/examples.rst +++ b/docs/source/examples.rst @@ -102,7 +102,7 @@ rate adaptation scenario controlled by the UCB agent. .. code-block:: bash cd $REINFORCED_LIB - ./test/test_ns3_integration.sh + ./test/test_ns3_integration.sh $YOUR_NS3_PATH On success, in your home directory, there should be a ``rlib-ns3-integration-test.csv`` file generated filled with some data. diff --git a/test/test_ns3_integration.sh b/test/test_ns3_integration.sh index ec6267b..ad3b410 100755 --- a/test/test_ns3_integration.sh +++ b/test/test_ns3_integration.sh @@ -1,3 +1,3 @@ #!/bin/bash -python3 examples/ns-3-ra/main.py --mobilityModel="Distance" --agent="UCB" --ns3Path="/Users/wciezobka/ncn/ns-3.37/ns-3-dev" --wifiManagerName="UCB" --velocity="1" --simulationTime="25" --warmupTime="5" --logEvery="1" --lossModel="LogDistance" --seed="42" --csvPath="$HOME/rlib-ns3-integration-test.csv" --mempoolKey="2138" +python3 examples/ns-3-ra/main.py --mobilityModel="Distance" --agent="UCB" --ns3Path="$1" --wifiManagerName="UCB" --velocity="1" --simulationTime="25" --warmupTime="5" --logEvery="1" --lossModel="LogDistance" --seed="42" --csvPath="$HOME/rlib-ns3-integration-test.csv" --mempoolKey="2138"