asirfilter.h
Go to the documentation of this file.
00001 // Copyright (C) 2003 Klaas Gadeyne <first dot last at gmail dot com>
00002 //
00003 /***************************************************************************
00004  *   This library is free software; you can redistribute it and/or         *
00005  *   modify it under the terms of the GNU General Public                   *
00006  *   License as published by the Free Software Foundation;                 *
00007  *   version 2 of the License.                                             *
00008  *                                                                         *
00009  *   As a special exception, you may use this file as part of a free       *
00010  *   software library without restriction.  Specifically, if other files   *
00011  *   instantiate templates or use macros or inline functions from this     *
00012  *   file, or you compile this file and link it with other files to        *
00013  *   produce an executable, this file does not by itself cause the         *
00014  *   resulting executable to be covered by the GNU General Public          *
00015  *   License.  This exception does not however invalidate any other        *
00016  *   reasons why the executable file might be covered by the GNU General   *
00017  *   Public License.                                                       *
00018  *                                                                         *
00019  *   This library is distributed in the hope that it will be useful,       *
00020  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00021  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00022  *   Lesser General Public License for more details.                       *
00023  *                                                                         *
00024  *   You should have received a copy of the GNU General Public             *
00025  *   License along with this library; if not, write to the Free Software   *
00026  *   Foundation, Inc., 59 Temple Place,                                    *
00027  *   Suite 330, Boston, MA  02111-1307  USA                                *
00028  *                                                                         *
00029  ***************************************************************************/
00030 // $Id: asirfilter.h 29830 2009-01-14 15:10:41Z kgadeyne $
00031 
00032 #ifndef __ASIR_FILTER__
00033 #define __ASIR_FILTER__
00034 
00035 #include "particlefilter.h"
00036 
00037 namespace BFL
00038 {
00039 
00041 
00079   template <typename StateVar, typename MeasVar> class ASIRFilter
00080     : public ParticleFilter<StateVar,MeasVar>
00081     {
00082     protected:
00084       virtual void UpdateInternal(SystemModel<StateVar>* const sysmodel,
00085                                   const StateVar& u,
00086                                   MeasurementModel<MeasVar,StateVar>* const measmodel,
00087                                   const MeasVar& z,
00088                                   const StateVar& s);
00089 
00090     public:
00092 
00099       ASIRFilter(MCPdf<StateVar> * prior,
00100                  int resampleperiod = 0,
00101                  double resamplethreshold = 0,
00102                  int resamplescheme = DEFAULT_RS);
00103 
00105       virtual ~ASIRFilter();
00106 
00107       // Default Copy constructor will do
00108     };
00109 
00110 #include "asirfilter.cpp"
00111 
00112 }
00113 
00114 #endif // __ASIR_FILTER__


bfl
Author(s): Klaas Gadeyne, Wim Meeussen, Tinne Delaet and many others. See web page for a full contributor list. ROS package maintained by Wim Meeussen.
autogenerated on Sun Oct 5 2014 22:29:52