[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Constant Random variable, what is for ?




Dear NS users,

I can not find any good reason for using  a Constant Random Variable.

for example, the following code taken from large-scale-web-traffic
example does not make sense to me

## Number of Pages per Session
set sessionSize [new RandomVariable/Constant]
$sessionSize set val_ 250


It works the same as the following does
set sessionSize 250

So can you please explain what the Constant RandomVariable is really
used for?

Thanks
HP