|
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.ListOfStatProbesMeasureMatrix
public class ListOfStatProbesMeasureMatrix
Matrix of measures whose values are obtained using an list of statistical
probes. This matrix contains one measure for each element of the list, and a
single period. The measures are obtained by using the StatProbe.sum()
method. Since the sum can be considered as an integral, the
IntegralMeasureMatrix can be used to turn this single-period matrix
into a multiple-periods one if needed.
| Constructor Summary | |
|---|---|
ListOfStatProbesMeasureMatrix(ListOfStatProbes<? extends StatProbe> list)
Constructs a new matrix of measures using the list of probes list. |
|
| Method Summary | |
|---|---|
ListOfStatProbesMeasureMatrix |
clone()
Makes a copy of this matrix of measures. |
ListOfStatProbes<? extends StatProbe> |
getListOfStatProbes()
Returns the list of statistical probes associated with this matrix. |
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 |
setListOfStatProbes(ListOfStatProbes<? extends StatProbe> list)
Sets the associated list of statistical probes to list. |
void |
setNumMeasures(int nm)
Sets the number of measures to nm. |
void |
setNumPeriods(int np)
Throws an UnsupportedOperationException. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListOfStatProbesMeasureMatrix(ListOfStatProbes<? extends StatProbe> list)
list - the list of statistical probes being used.| Method Detail |
|---|
public ListOfStatProbes<? extends StatProbe> getListOfStatProbes()
public void setListOfStatProbes(ListOfStatProbes<? extends StatProbe> list)
list - the new list 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)
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.
public String toString()
toString in class Objectpublic ListOfStatProbesMeasureMatrix 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 | ||||||||