|
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.Busyness
public class Busyness
FOR NOW, THIS CLASS IS UNUSED. THE BUSYNESS FACTOR IS SET AND KEPT IN CLASS ContactArrivalProcess.
This class implements the busyness factors that allows us to stretch or compress arrival rates or counts. It can be a global factor or a set of specific factors for each period of the day or both.
Constructor Summary | |
---|---|
Busyness(double b)
Constructor with common busyness factor b. |
|
Busyness(double[] B)
Constructor with busyness factors B[j] for each period j. |
|
Busyness(double b,
double[] Bs)
Constructor with busyness factors B[j] for each period j, and common busyness factor b. |
Method Summary | |
---|---|
double |
getBusyness(int j)
Returns the total busyness of period j. |
RandomVariateGenParams |
getBusynessGen()
Returns the random number generator used for busyness. |
double |
getExpectedFactor()
Returns the expected value of the busyness factor. |
double |
getFactor()
Returns the common busyness factor B. |
double |
getFactor(int j)
Returns the busyness factor Bj of period j. |
void |
setBusynessGen(RandomVariateGenParams gen)
Sets the random number generator for busyness to gen. |
void |
setExpectedFactor(double bMean)
Sets the expected busyness factor to bMean. |
void |
setFactor(double b)
Sets the common busyness factor to b. |
void |
setFactors(double[] B)
Sets the busyness factor to B[j] for each period j. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Busyness(double b)
b
- busyness factorpublic Busyness(double[] B)
B
- busyness factors for each periodpublic Busyness(double b, double[] Bs)
b
- common busyness factorBs
- busyness factors for each periodMethod Detail |
---|
public double getFactor()
public void setFactor(double b)
b
- common busyness factorpublic double getFactor(int j)
j
- index of period
public void setFactors(double[] B)
B
- busyness factorspublic double getExpectedFactor()
public void setExpectedFactor(double bMean)
bMean
- the new value of the expectation.
IllegalArgumentException
- if bMean is negative.public double getBusyness(int j)
j
- index of period
public RandomVariateGenParams getBusynessGen()
public void setBusynessGen(RandomVariateGenParams gen)
gen
- public String toString()
toString
in class Object
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |