NS2 network simulation problem:Change queue parameters dynamically during simulation
A problem with NS2 network simulation:
I want to change parameters of a RED queue during the simulation but it seems that some parameters can be modified only before starting the simulation, not dynamically, while the simulation is in progress. For example the following subroutines works before "$ns run" command but it do not affect the behavior of the queue during the simulation( I want to change maxthresh_ and thresh_ after "$ns run" command): PHP Code:
Email:raeisy@shirazu.ac.ir |
NS2 Initialize some parameters only at the begining of the simulation with "reset" subroutine in the RED.CC file. I have to add a simillar routine to this file to set the intermediate parameters. Use make utility to recompile NS2.
http://home.shirazu.ac.ir/~raeisy |
All times are GMT -5. The time now is 01:58 PM. |