|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueGenerator
Represents a value generator for random variates used for simulating contact
centers. Implementations of this interface are linked to contact center
objects and usually uses a random variate generator to obtain some continuous
variates. The generator used or some adjustments made to the value can depend
on the concerned contact, the object containing this value generator, the
simulation time, etc. This interface defines a method similar to
RandomVariateGen.nextDouble()
but taking a Contact
object as an
argument. This way, random values can depend on the particular contact.
Method Summary | |
---|---|
void |
init()
Initializes the generator at the beginning of the simulation. |
double |
nextDouble(Contact contact)
Generates and returns a new value for the contact contact. |
Method Detail |
---|
double nextDouble(Contact contact)
NullPointerException
.
contact
- the contact being concerned.
NullPointerException
- if contact is illegally null.void init()
init
in interface Initializable
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |