jade.core.sam
Class AverageMeasure
java.lang.Object
jade.core.sam.AverageMeasure
- All Implemented Interfaces:
- java.io.Serializable
public class AverageMeasure
- extends java.lang.Object
- implements java.io.Serializable
The class used by the System Activity Monitoring (SAM) Service to represent an average measure
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AverageMeasure
public AverageMeasure()
AverageMeasure
public AverageMeasure(double value,
int nSamples)
getValue
public double getValue()
setValue
public void setValue(double value)
getNSamples
public int getNSamples()
setNSamples
public void setNSamples(int nSamples)
getVariance
public double getVariance()
setVariance
public void setVariance(double variance)
update
public void update(AverageMeasure am)
These are the official JADE API. For these API backward compatibility is guaranteed accross JADE versions