|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.contactcenters.queue.ContactPatienceTimeGenerator
public class ContactPatienceTimeGenerator
Value generator for the patience time of contacts. This implementation simply
calls the Contact.getDefaultPatienceTime()
method to get the patience
times. For each new waiting queue, such a value generator is created and used
by default.
Constructor Summary | |
---|---|
ContactPatienceTimeGenerator()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContactPatienceTimeGenerator()
Method Detail |
---|
public void init()
ValueGenerator
init
in interface Initializable
init
in interface ValueGenerator
public double nextDouble(Contact contact)
ValueGenerator
NullPointerException
.
nextDouble
in interface ValueGenerator
contact
- the contact being concerned.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |