|
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.contact.SingleTypeContactFactory
umontreal.iro.lecuyer.contactcenters.msk.model.CallFactory
umontreal.iro.lecuyer.contactcenters.msk.model.OutboundCallFactory
public class OutboundCallFactory
Represents a call factory for outbound calls.
This extends CallFactory
with parameters
specific to outbound calls: the probability of right-party
connect, and the generators for reach and fail times.
Constructor Summary | |
---|---|
OutboundCallFactory(CallCenter cc,
CallCenterParams ccParams,
OutboundTypeParams par,
int k)
Constructs a new call factory for outbound call. |
Method Summary | |
---|---|
MultiPeriodGen |
getFailGen()
Returns the random variate generator for fail times. |
double |
getProbReach(int mp)
Returns the probability of right party connect for this outbound call type during main period p. |
double |
getProbRPC(int mp)
Returns the probability of right party connect for this outbound call type during main period p. |
MultiPeriodGen |
getReachGen()
Returns the random variate generator for reach times. |
void |
init()
Initializes this call factory by setting the multipliers for patience and service times. |
void |
setRandomVariables(Contact contact)
Generates the random variates related to a contact, and assigns the generated value to the given contact object. |
Methods inherited from class umontreal.iro.lecuyer.contactcenters.contact.SingleTypeContactFactory |
---|
getAfterContactTimeGen, getAfterContactTimeGen, getAfterContactTimeGenGroups, getContactTimeGen, getContactTimeGen, getContactTimeGenGroups, getMeanAfterContactTime, getMeanContactTime, getProbBalkGenerator, getStreamBalk, getTypeId, setAfterContactTimeGen, setAfterContactTimeGenGroups, setContactTimeGen, setContactTimeGenGroups, setProbBalkGenerator, setSimulator, setStreamBalk, setTypeId, simulator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutboundCallFactory(CallCenter cc, CallCenterParams ccParams, OutboundTypeParams par, int k) throws CallFactoryCreationException
cc
- the call center.ccParams
- the call center parameters.par
- the parameters of the outbound call type.k
- the index of the call type.
CallFactoryCreationException
- if an error occurs during
the creation of the factory.Method Detail |
---|
public void init()
CallFactory
init
in class CallFactory
public double getProbReach(int mp)
mp
- the index of the main period.
public double getProbRPC(int mp)
mp
- the index of the main period.
public MultiPeriodGen getReachGen()
public MultiPeriodGen getFailGen()
public void setRandomVariables(Contact contact)
SingleTypeContactFactory
setRandomVariables
in class CallFactory
contact
- the contact object to set up.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |