BIE::CountConverge Class Reference
A simple implementation of
Converge Counts number of interations and cumulated statistics based on
SampleDistribution class provided on instantiation.
More...
#include <CountConverge.h>
List of all members.
|
Public Member Functions |
|
virtual CountConverge * | New (int m, Ensemble *d, string id="") |
| | Factory method.
|
|
virtual bool | Converged () |
| | True if converged.
|
| virtual bool | AccumData (double value, State &state) |
| | Cumulates data and counts the interations.
|
|
virtual bool | GetLast (double &value, State &state) |
| | Get the last value and state.
|
| void | ComputeDistribution () |
| | Access to ComputDistribution class.
|
|
void | setNmax (int n) |
| | Change the max count value.
|
|
void | setNburn (int n) |
| | Set number of iterations before converge is checked.
|
|
int | ConvergedIndex () |
| | Return the number of pre-burn-in states to discard.
|
|
int | BurnIn () |
| | Return the number of pre-burn-in states to discard.
|
|
CountConverge * | New () |
| | Clone me.
|
|
|
| CountConverge (int m, Ensemble *d) |
| | Constructor.
|
|
| CountConverge (int m, Ensemble *d, int nburn) |
| | Constructor.
|
|
|
double | PDF (State &x) |
| | Required Distribution members.
|
|
double | logPDF (State &x) |
| | Log of differential distribution function P(x).
|
|
vector< double > | lower (void) |
| | Lower bound on distribution (in each dimension).
|
|
vector< double > | upper (void) |
| | Upper bound on distribution (in each dimension).
|
|
vector< double > | Mean () |
| | Return mean of distribution (mulitvariate).
|
|
vector< double > | StdDev () |
| | Return standard deviation of distribution (mulitvariate).
|
|
vector< double > | Moments (int m) |
| | Return specifided momemnt of distribution (mulitvariate).
|
|
vector< double > | Sample () |
| | Return random variate from distribution.
|
Friends |
|
class | boost::serialization::access |
Detailed Description
A simple implementation of
Converge Counts number of interations and cumulated statistics based on
SampleDistribution class provided on instantiation.
Member Function Documentation
| virtual bool BIE::CountConverge::AccumData |
( |
double |
value, |
|
|
State & |
state | |
|
) |
| | [inline, virtual] |
| void BIE::CountConverge::ComputeDistribution |
( |
void |
|
) |
[inline, virtual] |
Access to ComputDistribution class.
Will be called by provided helper class as needed
Reimplemented from BIE::SampleDistribution.
The documentation for this class was generated from the following file: