TrivialPF Class Reference

Trivial particle filter with proposal density that is not conditioned on the data. More...

#include <libPF.h>

Inheritance diagram for TrivialPF:

Inheritance graph
[legend]
Collaboration diagram for TrivialPF:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TrivialPF (mpdf &par, mpdf &obs, BM &prop, int n0)
 TrivialPF (mpdf &par, mpdf &obs, int n0)
void bayes (const vec &dt, bool evalll)
ivec resample (RESAMPLING_METHOD method=SYSTEMATIC)
 Returns indexes of particles that should be resampled. The ordering MUST guarantee inplace replacement. (Important for MPF.).
void bayes (const vec &dt)
 Incremental Bayes rule.
void bayes (mat Dt)
 Batch Bayes rule (columns of Dt are observations).
epdf_epdf ()
 Returns a pointer to the epdf representing posterior density on parameters. Use with care!

Public Attributes

double ll
 Logarithm of marginalized data likelihood.
bool evalll
 If true, the filter will compute likelihood of the data record and store it in ll . Set to false if you want to save time.

Protected Attributes

int n
vec w
Uniform_RNG URNG


Detailed Description

Trivial particle filter with proposal density that is not conditioned on the data.

Member Function Documentation

void PF::bayes ( const vec &  dt  )  [inline, virtual, inherited]

Incremental Bayes rule.

Parameters:
dt vector of input data

Implements BM.


The documentation for this class was generated from the following files:
Generated on Sat Feb 23 11:48:50 2008 for mixpp by  doxygen 1.5.3