|
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.ctmc.QueueSizeThresh
public class QueueSizeThresh
Encapsulates thresholds on the queue size with the corresponding transition rates and geometric distributions for the number of successive self jumps preceding any generated transition.
Constructor Summary | |
---|---|
QueueSizeThresh(double jumpRate,
double nu,
int queueCapacity,
int numThresh)
Constructs a new manager for queue size thresholds, for a CTMC with the given jump rate jumpRate, representing a call center with maximal abandonment rate nu, and maximal queue capacity queueCapacity. |
Method Summary | |
---|---|
double |
getJumpRate(int r)
Returns the maximal transition rate if the queue size is smaller than or equal to the the threshold with index r. |
GeometricDist |
getNumFalseTrDist(int r)
Returns the geometric distribution for the successive number of self jumps before any transition, while the queue size is smaller than or equal to to threshold with index r. |
int |
getNumThresholds()
Returns the number of thresholds managed by this object. |
int |
getQueueSizeThresh(int r)
Returns the threshold on the queue size with index r. |
int |
updateQIdx(int qidx,
int queueSize)
Returns the smallest index for which the queue size is smaller than or equal to the corresponding threshold, given that the current index is qidx. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueueSizeThresh(double jumpRate, double nu, int queueCapacity, int numThresh)
jumpRate
- the jump rate for the CTMC.nu
- the maximal abandonment rate.queueCapacity
- the queue capacity.numThresh
- the number of thresholds to create.Method Detail |
---|
public int getNumThresholds()
public double getJumpRate(int r)
r
- the index of the tested threshold.
public int getQueueSizeThresh(int r)
r
- the index of the threshold.
public GeometricDist getNumFalseTrDist(int r)
r
- the index of the queue size threshold.
public int updateQIdx(int qidx, int queueSize)
qidx
- the current threshold index.queueSize
- the current queue size.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |