ScalarEstimator Class Reference

estimates mean, variance, etc. of a scalar stochastic variable More...

Inheritance diagram for ScalarEstimator:

Public Member Functions

virtual void collect ()
 Eat next piece of data.
virtual void init ()
 reset all values
virtual Matrix getEstimate (const Property &)
 return result of estimation
 ScalarEstimator (const Property &, StochasticProcess *, Time *)
void setProperty (const Property &, double)
 set distribution-related properties
virtual ~ScalarEstimator ()
- Public Member Functions inherited from Estimator
 Estimator (StochasticProcess *src, Time *time, const string &name="", const string &type="Estimator")
 Construct. More...
virtual ~Estimator ()
 Destroy. More...
- Public Member Functions inherited from Parametric
string getType () const
 Type of object.
string getName () const
 Name of object.
void setName (const string &name)
 Name of object.
string getConfiguration () const
 Returns the configuration of the object. More...
string getAllParameters () const
 String with all parameter settings.
void addParameter (const string &name)
 Add a parameter. More...
void rmParameter (const string &name)
 Remove a parameter. More...
virtual void setParameter (const string &name, const string &value)
 Set parameter. More...
virtual string getParameter (const string &name) const
 Get parameter. More...

Additional Inherited Members

- Protected Member Functions inherited from Parametric
 Parametric (const string &name, const string &type)
 Create object of type and name.
virtual ~Parametric ()
 Destroy object.
- Protected Attributes inherited from Estimator
Property nEstimate
 what to record
 the source of data
uint nSamples
 number of samples recorded
 Time process for registering and running.

Detailed Description

estimates mean, variance, etc. of a scalar stochastic variable