|
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.RateChangeInfo
public class RateChangeInfo
Represents information about a change in the arrival rate.
Constructor Summary | |
---|---|
RateChangeInfo(int tr,
int k,
double rate)
Constructs a new object representing a change to arrival rate rate of call type k at transition number tr. |
Method Summary | |
---|---|
int |
compareTo(RateChangeInfo o)
Compares this object with another object o. |
int |
getK()
Returns the index of the call type. |
double |
getRate()
Returns the new arrival rate. |
int |
getTransition()
Returns the transition number. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RateChangeInfo(int tr, int k, double rate)
tr
- the transition number at which the rate is supposed to change.k
- the affected call type.rate
- the new arrival rate.Method Detail |
---|
public int getTransition()
public int getK()
public double getRate()
public int compareTo(RateChangeInfo o)
compareTo
in interface Comparable<RateChangeInfo>
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 |