
206 Simulation Technologies in Networking and Communications
Empirical studies show that these types of patterns can be modeled more accurately through ran-
dom variables from exponential distributions. Therefore, our Python code to generate arrival time
of the cars should be
where expovariate() is the Python’s built-in exponentially distributed random number generator
function.
7.5.4 example: uniform DisTriBuTion in moDeling a Dos aTTaCk
In the arena of network security, a denial of service (DoS) attack is an attempt to disrupt the normal
operation by exhausting the resource of a service (e.g., website or web service, DNS service). The
general ...