This function is used to create create applications
Users can model their own mathematical distributions for packet sizes and itnerarrival times
For Custom
2nd parameter: Distribution Type| Distribution input1|Distribution input2|>
Details
If user selects any of the distributions listed below, then pass the corresponding number for the distribution type
Exponential -1
Uniform -2
Triangular -3
Weibull -4
Constant -5
Distribution input1-Value of Mean if exponential distribution/Upper bound for others
Distribution input2-Value of lower bound
Dont pass any thing if any of the distribution has no distribution input 2.
3rd parameter: Distribution Type |Distribution input1|Distribution input2|>
Details
If user selects any of the distributions listed below, then pass the corresponding number for the distribution type: Refer field -19
Exponential -1
Uniform -2
Triangular-3
Weibull-4
Constant-5
Distribution input1-Value of Mean if exponential distribution/Upper bound for others
Distribution input2-Value of lower bound
Dont pass any thing if any of the distribution has no distribution input 2.
2)ldArrival-Arrival time of the last frame.
3)unsigned long uSeed,unsigned long uSeed1-Seed values for packet size
4)unsigned long uSeed2,unsigned long uSeed3-Seed values for inter arrival time
Return Value:pointer to an array of long double
3rd,4th
element:seed values
for packet size
5th,6th
element:seed values
for inter arrival time