|
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.stat.mperiods.MatrixOfStatProbesMeasureMatrix
public class MatrixOfStatProbesMeasureMatrix
Matrix of measures whose values are obtained using a matrix of statistical
probes. This matrix contains one measure for each row of the matrix, and one
period for each column. The measures are obtained using the
StatProbe.sum() method. Since the sum can be considered as an integral,
the IntegralMeasureMatrix can be used to turn this matrix into a
multiple-periods one if the associated matrix contains a single column.
| Constructor Summary | |
|---|---|
MatrixOfStatProbesMeasureMatrix(MatrixOfStatProbes<?> matrix)
Constructs a new matrix of measures using the matrix of probes matrix. |
|
| Method Summary | |
|---|---|
MatrixOfStatProbesMeasureMatrix |
clone()
Makes a copy of this matrix of measures. |
MatrixOfStatProbes<?> |
getMatrixOfStatProbes()
Returns the matrix of statistical probes associated with this matrix of measures. |
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 |
setMatrixOfStatProbes(MatrixOfStatProbes<?> matrix)
Sets the associated matrix of statistical probes to matrix. |
void |
setNumMeasures(int nm)
Sets the number of measures to nm. |
void |
setNumPeriods(int np)
Sets the number of periods of this matrix to np. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MatrixOfStatProbesMeasureMatrix(MatrixOfStatProbes<?> matrix)
matrix - the matrix of statistical probes being used.| Method Detail |
|---|
public MatrixOfStatProbes<?> getMatrixOfStatProbes()
public void setMatrixOfStatProbes(MatrixOfStatProbes<?> matrix)
matrix - the new matrix of statistical probes.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)
MeasureMatrix
setNumMeasures in interface MeasureMatrixnm - the new number of measures.public void setNumPeriods(int np)
MeasureMatrix
setNumPeriods in interface MeasureMatrixnp - the new number of periods.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.
public String toString()
toString in class Objectpublic MatrixOfStatProbesMeasureMatrix clone()
clone in class Object
|
ContactCenters V. 0.9.9. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||