AdaptMetroStepT< T > Class Template Reference

Implements Metropolis-Hastings step for a parameter. More...

#include <MCMC.h>

Inheritance diagram for AdaptMetroStepT< T >:

Inheritance graph
[legend]
Collaboration diagram for AdaptMetroStepT< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AdaptMetroStepT (ParameterT< T > *parameter, const unsigned long nBurnin, const unsigned long adapt, const unsigned long interval)
void DoStep (void)

Detailed Description

template<typename T>
class AdaptMetroStepT< T >

Implements Metropolis-Hastings step for a parameter.

This version allows an adaptive phase to be included in during the burnin

Definition at line 420 of file MCMC.h.


Constructor & Destructor Documentation

template<typename T>
AdaptMetroStepT< T >::AdaptMetroStepT ( ParameterT< T > *  parameter,
const unsigned long  nBurnin,
const unsigned long  adapt,
const unsigned long  interval 
) [inline, explicit]

Constructor

Parameters:
parameter Pointer to the parameter associated with this step
nBurnin Number of iterations in burn in
adapt Number of iterations for adaptation
interval Number of iterations between adaptive adjustments

Definition at line 429 of file MCMC.h.


Member Function Documentation

template<typename T>
void AdaptMetroStepT< T >::DoStep ( void   )  [inline, virtual]

Simple modification to allow adaptive phase of M-H sampling

Reimplemented from MetroStepT< T >.

Definition at line 440 of file MCMC.h.

References MetroStepT< T >::Accept().


The documentation for this class was generated from the following file:
Generated on Tue Mar 27 16:03:48 2007 for mcmc by  doxygen 1.5.1