|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
This class is used to generate message delay according to the negative exponential distribution. More...

Public Member Functions | |
| NegativeExponentialDistribution (double lambda) | |
| Constructor. | |
| long | generateDelay () |
| Generates a delay based on the negative exponential distribution. | |
Private Attributes | |
| final double | lambda |
| Parameter of the negative exponential distribution. | |
This class is used to generate message delay according to the negative exponential distribution.
| frodo2.communication.mailer.CentralMailer.NegativeExponentialDistribution.NegativeExponentialDistribution | ( | double | lambda | ) |
| long frodo2.communication.mailer.CentralMailer.NegativeExponentialDistribution.generateDelay | ( | ) |
Generates a delay based on the negative exponential distribution.
Reimplemented from frodo2.communication.mailer.CentralMailer.DelayGenerator.
References lambda.
|
private |
Parameter of the negative exponential distribution.
Referenced by generateDelay(), and NegativeExponentialDistribution().