|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectStructures.LoadCollection
public class LoadCollection
| Constructor Summary | |
|---|---|
LoadCollection(int noLoadsInTraining)
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.Double newLoad)
Add is the method to add a new load in the LoadCollection.The caller is responsible to calculate the new load based on the difference of newValue minus previousValue of whatever is measured. |
int |
getAggregatedLoadsCount()
|
double |
getAverage()
Returns the current mean value of loads |
int |
getCountOfOutliers()
Returns the number of outlier samples |
double |
getLastValue()
Returns the last load value added to the list |
java.util.Collection<java.lang.Double> |
getLoadCollection()
Returns the current load collection |
double |
getMaxLoad()
Returns the max value from the current samples |
double |
getMinLoad()
Returns the min value from the current samples |
int |
getSize()
Returns the size of the current load collection |
double |
getStdDeviation()
Returns the current value of our samples' standard deviation |
double |
getUT()
Returns the current value of our samples' UT |
boolean |
isLastAddedLoadAnOutlier()
Returns true if the last load added was an outlier |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoadCollection(int noLoadsInTraining)
| Method Detail |
|---|
public void add(java.lang.Double newLoad)
public double getAverage()
public double getStdDeviation()
public double getUT()
public double getMaxLoad()
public double getMinLoad()
public java.util.Collection<java.lang.Double> getLoadCollection()
public int getCountOfOutliers()
public int getSize()
public int getAggregatedLoadsCount()
public boolean isLastAddedLoadAnOutlier()
public double getLastValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||