|
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 MeasureMatrix
public int getNumMeasures()
MeasureMatrix
getNumMeasures
in interface MeasureMatrix
public int getNumPeriods()
MeasureMatrix
getNumPeriods
in interface MeasureMatrix
public void setNumMeasures(int nm)
UnsupportedOperationException
.
setNumMeasures
in interface MeasureMatrix
nm
- the new number of measures.
UnsupportedOperationException
- if this method is called.public void setNumPeriods(int np)
UnsupportedOperationException
.
setNumPeriods
in interface MeasureMatrix
np
- the new number of periods.
UnsupportedOperationException
- if this method is called.public void regroupPeriods(int x)
UnsupportedOperationException
.
regroupPeriods
in interface MeasureMatrix
x
- the number of periods per group.
UnsupportedOperationException
- if this method is called.public double getMeasure(int i, int p)
MeasureMatrix
getMeasure
in interface MeasureMatrix
i
- 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 |