mercredi 27 septembre 2017

cant generate random number in omnetpp

I have define host traffic send interval in this way in my NED file and I expect to receive different number in every execution:

    volatile double sendInterval @unit("s") = default(exponential(1s));

but it gives me same result in every execution, where is the problem?




Aucun commentaire:

Enregistrer un commentaire