ContactCenters
V. 0.9.9.

umontreal.iro.lecuyer.contactcenters.msk.conditions
Class TwoIndicesInfo

java.lang.Object
  extended by umontreal.iro.lecuyer.contactcenters.msk.conditions.TwoIndicesInfo
Direct Known Subclasses:
FracBusyAgentsCondition, NumFreeAgentsCondition, QueueSizesCondition

public class TwoIndicesInfo
extends Object

Stores information about two indices and a relationship. This is similar to the JAXB-derived TwoIndicesParams class, except that the indices are stored into int fields instead of Integer fields. This class is used as a base for some condition objects, and to hold information about conditions on statistics.


Constructor Summary
TwoIndicesInfo(int i1, int i2, Relationship rel)
          Constructs a new data object holding indices i1 and i2, as well as relationship rel.
 
Method Summary
 int getFirstIndex()
          Returns the value of i1.
 Relationship getRelationship()
          Returns the relationship to be tested.
 int getSecondIndex()
          Returns the value of i2.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoIndicesInfo

public TwoIndicesInfo(int i1,
                      int i2,
                      Relationship rel)
Constructs a new data object holding indices i1 and i2, as well as relationship rel.

Method Detail

getFirstIndex

public int getFirstIndex()
Returns the value of i1.


getSecondIndex

public int getSecondIndex()
Returns the value of i2.


getRelationship

public Relationship getRelationship()
Returns the relationship to be tested.


ContactCenters
V. 0.9.9.

To submit a bug or ask questions, send an e-mail to Richard Simard.