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

[ns] ns multistate error model



Hi,
	I'm using the multistate error model that you have written for
ns-2 and I have some questions. The times that the error model spends in
the states seem to be deterministic right? (In the ns manual:
"...Transitions to the next error state occur at the end of the duration
of the current state...") For example, assuming that we have only 2
states and we move from the one to the other with 100% probability, then   

set m_periods [list 1 2]

means that the model will spend 1 sec in 1st state, then move to 2nd state
and spend 2 sec, then back again to 1st and so on?

	Can I change the sojourn times in each state after the simulation
has started? Or even better can the sojourn times in each state be sampled
from a specified distribution? And if yes how?

Best regards,

/Kostas