00001 #ifndef CUSTOMPARTICLEFILTER_H 00002 #define CUSTOMPARTICLEFILTER_H 00003 00004 #include <filter/bootstrapfilter.h> 00005 00006 using namespace BFL; 00007 00008 class CustomParticleFilter : public BootstrapFilter<MatrixWrapper::ColumnVector,MatrixWrapper::ColumnVector> 00009 { 00010 public: 00011 CustomParticleFilter(MCPdf<MatrixWrapper::ColumnVector> * prior, 00012 int resampleperiod = 0, 00013 double resamplethreshold = 0, 00014 int resamplescheme = DEFAULT_RS); 00015 00016 vector<WeightedSample<MatrixWrapper::ColumnVector> > getNewSamples(); 00017 00018 }; 00019 00020 #endif // CUSTOMPARTICLEFILTER_H