next up previous contents index
Next: (9) Displaying the current Up: Building Ping-Pong Game using Previous: (7) Defining Four Characteristic   Contents   Index

(8) Random Number

The lifespan of Send is a random variable with uniform pdf of [0.1,1.2], where elements of the domain denote time-units. To generate the random number, the random variable class rv is used as a static local variable for the output of the function tau(). The pdfs available in DEVS++ are addressed in Section 2.4.



MHHwang 2007-05-07