C G R S 
All Classes All Packages

C

cs2030.simulator - package cs2030.simulator
 
customerArrivalRate - Variable in class cs2030.simulator.RandomGenerator
The customer arrival rate (lambda).
customerServiceRate - Variable in class cs2030.simulator.RandomGenerator
The customer service rate (mu).

G

genCustomerType() - Method in class cs2030.simulator.RandomGenerator
Generate a random number between 0 and 1 to determine the type of customer.
genInterArrivalTime() - Method in class cs2030.simulator.RandomGenerator
Generate random inter-arrival time.
genRandomRest() - Method in class cs2030.simulator.RandomGenerator
Generate a random number between 0 and 1 to compare to a server's probability of taking a rest.
genRestPeriod() - Method in class cs2030.simulator.RandomGenerator
Generate random resting period for server.
genServiceTime() - Method in class cs2030.simulator.RandomGenerator
Generate random service time.

R

RandomGenerator - Class in cs2030.simulator
Encapsulates multiple streams of pseudo-random numbers specifically for use with the shop simulator.
RandomGenerator(int, double, double, double) - Constructor for class cs2030.simulator.RandomGenerator
Create a new RandomGenerator object.
rngArrival - Variable in class cs2030.simulator.RandomGenerator
Random number stream for arrival rate.
rngCustomerType - Variable in class cs2030.simulator.RandomGenerator
Random number stream for customer type.
rngRest - Variable in class cs2030.simulator.RandomGenerator
Random number stream for probability of resting.
rngRestPeriod - Variable in class cs2030.simulator.RandomGenerator
Random number stream for resting period.
rngService - Variable in class cs2030.simulator.RandomGenerator
Random number stream for service rate.
rngTimeoutPeriod - Variable in class cs2030.simulator.RandomGenerator
Random number stream for timeout period.

S

serverRestingRate - Variable in class cs2030.simulator.RandomGenerator
The server resting rate (rho).
C G R S 
All Classes All Packages