juan novoa fernandez schrieb: > Hello > I'm trying to simulate an ad-hoc network using shadowing model. > This model has a radom component, but when I run my scenario several times, > the results are always the same, there's no difference among them, what's > the problem? > I tried to change de seed for each iteration, but it didn't work > I used the following code and it worked:
$defaultRNG seed $seed set ns_ [new Simulator] I think it is important to initialize the seed before you create the Simulator object. Daniel.
