📄 schemeflt_8hpp-source.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Bayes++ Bayesian Filtering Classes: schemeFlt.hpp Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.2 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div><h1>schemeFlt.hpp</h1><a href="schemeFlt_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef _BAYES_FILTER_SCHEME</span>00002 <span class="preprocessor"></span><span class="preprocessor">#define _BAYES_FILTER_SCHEME</span>00003 <span class="preprocessor"></span>00004 <span class="comment">/*</span>00005 <span class="comment"> * Bayes++ the Bayesian Filtering Library</span>00006 <span class="comment"> * Copyright (c) 2002 Michael Stevens</span>00007 <span class="comment"> * See accompanying Bayes++.htm for terms and conditions of use.</span>00008 <span class="comment"> *</span>00009 <span class="comment"> * $Header: /cvsroot/bayesclasses/Bayes++/BayesFilter/schemeFlt.hpp,v 1.6.2.1 2004/02/11 21:30:14 mistevens Exp $</span>00010 <span class="comment"> * $NoKeywords: $</span>00011 <span class="comment"> */</span>00012 00013 <span class="comment">/*</span>00014 <span class="comment"> * Generic Filter</span>00015 <span class="comment"> * Filter schemes vary in their constructor parameterisation</span>00016 <span class="comment"> * Filter_scheme derives a generic filter with consistent constructor interface</span>00017 <span class="comment"> *</span>00018 <span class="comment"> * Provides specialisations for all Bayesian_filter schemes</span>00019 <span class="comment"> */</span>00020 00021 00022 <span class="comment">/* Filter namespace */</span>00023 <span class="keyword">namespace </span>Bayesian_filter00024 {00025 00026 <span class="keyword">template</span> <<span class="keyword">class</span> Scheme><a name="l00027"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme.html">00027</a> <span class="keyword">struct </span><a class="code" href="structBayesian__filter_1_1Filter__scheme.html">Filter_scheme</a> : <span class="keyword">public</span> Scheme00028 <span class="comment">/*</span>00029 <span class="comment"> * A Generic Filter Scheme</span>00030 <span class="comment"> * Class template to provide a consistent constructor interface</span>00031 <span class="comment"> * Default for Kalman_state_filter</span>00032 <span class="comment"> */</span>00033 {<a name="l00034"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme.html#a0">00034</a> <a class="code" href="structBayesian__filter_1_1Filter__scheme.html#a0">Filter_scheme</a>(size_t x_size, size_t q_maxsize, size_t z_initialsize) :00035 <a class="code" href="classBayesian__filter_1_1Kalman__state__filter.html">Kalman_state_filter</a> (x_size), Scheme (x_size, z_initialsize)00036 {}00037 };00038 00039 00040 <span class="comment">// UD_filter specialisation</span>00041 <span class="keyword">template</span> <><a name="l00042"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme_3_01UD__scheme_01_4.html">00042</a> <span class="keyword">struct </span><a class="code" href="structBayesian__filter_1_1Filter__scheme.html">Filter_scheme</a><UD_scheme> : <span class="keyword">public</span> UD_scheme00043 {<a name="l00044"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme_3_01UD__scheme_01_4.html#a0">00044</a> <a class="code" href="structBayesian__filter_1_1Filter__scheme.html#a0">Filter_scheme</a>(size_t x_size, size_t q_maxsize, size_t z_initialsize) :00045 <a class="code" href="classBayesian__filter_1_1Kalman__state__filter.html">Kalman_state_filter</a> (x_size), UD_scheme (x_size, q_maxsize, z_initialsize)00046 {}00047 };00048 00049 <span class="comment">// Information_scheme specialisation</span>00050 <span class="keyword">template</span> <><a name="l00051"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme_3_01Information__scheme_01_4.html">00051</a> <span class="keyword">struct </span><a class="code" href="structBayesian__filter_1_1Filter__scheme.html">Filter_scheme</a><Information_scheme> : <span class="keyword">public</span> Information_scheme00052 {<a name="l00053"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme_3_01Information__scheme_01_4.html#a0">00053</a> <a class="code" href="structBayesian__filter_1_1Filter__scheme.html#a0">Filter_scheme</a>(size_t x_size, size_t q_maxsize, size_t z_initialsize) :00054 <a class="code" href="classBayesian__filter_1_1Kalman__state__filter.html">Kalman_state_filter</a> (x_size), <a class="code" href="classBayesian__filter_1_1Information__state__filter.html">Information_state_filter</a> (x_size),00055 Information_scheme (x_size, z_initialsize)00056 {}00057 };00058 00059 <span class="comment">// Information_root_info_scheme specialisation</span>00060 <span class="keyword">template</span> <><a name="l00061"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme_3_01Information__root__info__scheme_01_4.html">00061</a> <span class="keyword">struct </span><a class="code" href="structBayesian__filter_1_1Filter__scheme.html">Filter_scheme</a><Information_root_info_scheme> : <span class="keyword">public</span> Information_root_info_scheme00062 {<a name="l00063"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme_3_01Information__root__info__scheme_01_4.html#a0">00063</a> <a class="code" href="structBayesian__filter_1_1Filter__scheme.html#a0">Filter_scheme</a>(size_t x_size, size_t q_maxsize, size_t z_initialsize) :00064 <a class="code" href="classBayesian__filter_1_1Kalman__state__filter.html">Kalman_state_filter</a> (x_size), <a class="code" href="classBayesian__filter_1_1Information__state__filter.html">Information_state_filter</a> (x_size),00065 Information_root_info_scheme (x_size, z_initialsize)00066 {}00067 };00068 00069 <span class="comment">// SIR_scheme specialisation, inconsistent constructor</span>00070 <span class="keyword">template</span> <><a name="l00071"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme_3_01SIR__scheme_01_4.html">00071</a> <span class="keyword">struct </span><a class="code" href="structBayesian__filter_1_1Filter__scheme.html">Filter_scheme</a><SIR_scheme> : <span class="keyword">public</span> SIR_scheme00072 {<a name="l00073"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme_3_01SIR__scheme_01_4.html#a0">00073</a> <a class="code" href="structBayesian__filter_1_1Filter__scheme.html#a0">Filter_scheme</a>(size_t x_size, size_t s_size, <a class="code" href="structBayesian__filter_1_1SIR__random.html">SIR_random</a>& random_helper) :00074 <a class="code" href="classBayesian__filter_1_1Sample__state__filter.html">Sample_state_filter</a> (x_size, s_size),00075 SIR_scheme (x_size, s_size, random_helper)00076 {}00077 };00078 00079 <span class="comment">// SIR_kalman_scheme specialisation, inconsistent constructor</span>00080 <span class="keyword">template</span> <><a name="l00081"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme_3_01SIR__kalman__scheme_01_4.html">00081</a> <span class="keyword">struct </span><a class="code" href="structBayesian__filter_1_1Filter__scheme.html">Filter_scheme</a><SIR_kalman_scheme> : <span class="keyword">public</span> SIR_kalman_scheme00082 {<a name="l00083"></a><a class="code" href="structBayesian__filter_1_1Filter__scheme_3_01SIR__kalman__scheme_01_4.html#a0">00083</a> <a class="code" href="structBayesian__filter_1_1Filter__scheme.html#a0">Filter_scheme</a>(size_t x_size, size_t s_size, <a class="code" href="structBayesian__filter_1_1SIR__random.html">SIR_random</a>& random_helper) :00084 <a class="code" href="classBayesian__filter_1_1Sample__state__filter.html">Sample_state_filter</a> (x_size, s_size),00085 <a class="code" href="classBayesian__filter_1_1Kalman__state__filter.html">Kalman_state_filter</a> (x_size),00086 SIR_kalman_scheme (x_size, s_size, random_helper)00087 {}00088 };00089 00090 00091 }<span class="comment">//namespace</span>00092 <span class="preprocessor">#endif</span></pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 16 11:20:40 2004 for Bayes++ Bayesian Filtering Classes by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -