Created
June 23, 2012 13:18
-
-
Save xu3kev/2978283 to your computer and use it in GitHub Desktop.
ns2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| j=20; | |
| for((i=10;i<=90;i+=10,j+=10)) | |
| do | |
| ./setdest -v 2 -n 50 -s 2 -m $i -M $j -t 100 -P 1 -p 0 -x 250 -y 250 > movement/v2_$i | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for((i=1;i<=10;i++)) | |
| do | |
| echo $i | |
| ns cbrgen.tcl -type cbr -nn 50 -seed $i -mc 50 -rate 50.0 > traffic/traffic2_$i | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment