|
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.simevents.SimTimeMeasureMatrix
public class SimTimeMeasureMatrix
This matrix of measures contains a single measure corresponding to the current simulation time.
| Constructor Summary | |
|---|---|
SimTimeMeasureMatrix()
|
|
| Method Summary | |
|---|---|
double |
getMeasure(int i,
int p)
Returns the measure corresponding to the index i and period p. |
int |
getNumMeasures()
Returns the number of measures calculated by the implementation of this interface. |
int |
getNumPeriods()
Returns the number of periods stored into this matrix of measures. |
void |
init()
Initializes this matrix of measures for a new simulation replication. |
void |
regroupPeriods(int x)
Throws an UnsupportedOperationException. |
void |
setNumMeasures(int nm)
Throws an UnsupportedOperationException. |
void |
setNumPeriods(int np)
Throws an UnsupportedOperationException. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimTimeMeasureMatrix()
| Method Detail |
|---|
public void init()
MeasureMatrix
init in interface MeasureMatrixpublic int getNumMeasures()
MeasureMatrix
getNumMeasures in interface MeasureMatrixpublic int getNumPeriods()
MeasureMatrix
getNumPeriods in interface MeasureMatrixpublic void setNumMeasures(int nm)
UnsupportedOperationException.
setNumMeasures in interface MeasureMatrixnm - the new number of measures.
UnsupportedOperationException - if this method is called.public void setNumPeriods(int np)
UnsupportedOperationException.
setNumPeriods in interface MeasureMatrixnp - the new number of periods.
UnsupportedOperationException - if this method is called.public void regroupPeriods(int x)
UnsupportedOperationException.
regroupPeriods in interface MeasureMatrixx - the number of periods per group.
UnsupportedOperationException - if this method is called.
public double getMeasure(int i,
int p)
MeasureMatrix
getMeasure in interface MeasureMatrixi - the index of the measure.p - the period of the measure.
|
ContactCenters V. 0.9.9. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||