1 | <?xml version='1.0' encoding='UTF-8' standalone='no'?> |
---|
2 | <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6"> |
---|
3 | <compounddef id="loggers__test_8cpp" kind="file"> |
---|
4 | <compoundname>loggers_test.cpp</compoundname> |
---|
5 | <includes local="no">itpp/itbase.h</includes> |
---|
6 | <includes refid="loggers_8h" local="no">stat/loggers.h</includes> |
---|
7 | <incdepgraph> |
---|
8 | <node id="834"> |
---|
9 | <label>stat/loggers.h</label> |
---|
10 | <link refid="loggers_8h"/> |
---|
11 | <childnode refid="833" relation="include"> |
---|
12 | </childnode> |
---|
13 | <childnode refid="835" relation="include"> |
---|
14 | </childnode> |
---|
15 | <childnode refid="836" relation="include"> |
---|
16 | </childnode> |
---|
17 | </node> |
---|
18 | <node id="835"> |
---|
19 | <label>libBM.h</label> |
---|
20 | <link refid="libBM_8h"/> |
---|
21 | <childnode refid="833" relation="include"> |
---|
22 | </childnode> |
---|
23 | </node> |
---|
24 | <node id="836"> |
---|
25 | <label>../itpp_ext.h</label> |
---|
26 | <link refid="itpp__ext_8h-source"/> |
---|
27 | <childnode refid="833" relation="include"> |
---|
28 | </childnode> |
---|
29 | </node> |
---|
30 | <node id="832"> |
---|
31 | <label>work/git/mixpp/tests/loggers_test.cpp</label> |
---|
32 | <link refid="loggers_test.cpp"/> |
---|
33 | <childnode refid="833" relation="include"> |
---|
34 | </childnode> |
---|
35 | <childnode refid="834" relation="include"> |
---|
36 | </childnode> |
---|
37 | </node> |
---|
38 | <node id="833"> |
---|
39 | <label>itpp/itbase.h</label> |
---|
40 | </node> |
---|
41 | </incdepgraph> |
---|
42 | <sectiondef kind="func"> |
---|
43 | <memberdef kind="function" id="loggers__test_8cpp_1e66f6b31b5ad750f1fe042a706a4e3d4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
44 | <type>int</type> |
---|
45 | <definition>int main</definition> |
---|
46 | <argsstring>()</argsstring> |
---|
47 | <name>main</name> |
---|
48 | <briefdescription> |
---|
49 | </briefdescription> |
---|
50 | <detaileddescription> |
---|
51 | </detaileddescription> |
---|
52 | <inbodydescription> |
---|
53 | </inbodydescription> |
---|
54 | <location file="/home/smidl/work/git/mixpp/tests/loggers_test.cpp" line="11" bodyfile="/home/smidl/work/git/mixpp/tests/loggers_test.cpp" bodystart="10" bodyend="33"/> |
---|
55 | </memberdef> |
---|
56 | </sectiondef> |
---|
57 | <briefdescription> |
---|
58 | </briefdescription> |
---|
59 | <detaileddescription> |
---|
60 | </detaileddescription> |
---|
61 | <programlisting> |
---|
62 | <codeline lineno="1"><highlight class="preprocessor">#include<sp/><itpp/itbase.h></highlight><highlight class="normal"></highlight></codeline> |
---|
63 | <codeline lineno="2"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="loggers_8h" kindref="compound" tooltip="Loggers for storing results of experiments.">stat/loggers.h</ref>></highlight><highlight class="normal"></highlight></codeline> |
---|
64 | <codeline lineno="3"><highlight class="normal"></highlight></codeline> |
---|
65 | <codeline lineno="4"><highlight class="normal"></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal">itpp;</highlight></codeline> |
---|
66 | <codeline lineno="5"><highlight class="normal"></highlight></codeline> |
---|
67 | <codeline lineno="6"><highlight class="normal"></highlight><highlight class="comment">//These<sp/>lines<sp/>are<sp/>needed<sp/>for<sp/>use<sp/>of<sp/>cout<sp/>and<sp/>endl</highlight><highlight class="normal"></highlight></codeline> |
---|
68 | <codeline lineno="7"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>std::cout;</highlight></codeline> |
---|
69 | <codeline lineno="8"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>std::endl;</highlight></codeline> |
---|
70 | <codeline lineno="9"><highlight class="normal"></highlight></codeline> |
---|
71 | <codeline lineno="10"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="sim__var_8cpp_1e66f6b31b5ad750f1fe042a706a4e3d4" kindref="member" tooltip="Extended Kalman filter with unknown Q.">main</ref>()</highlight></codeline> |
---|
72 | <codeline lineno="11"><highlight class="normal">{</highlight></codeline> |
---|
73 | <codeline lineno="12"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i;</highlight></codeline> |
---|
74 | <codeline lineno="13"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
75 | <codeline lineno="14"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>th<sp/>=<sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>(<sp/></highlight><highlight class="stringliteral">"{a<sp/>b<sp/>}"</highlight><highlight class="normal">);</highlight></codeline> |
---|
76 | <codeline lineno="15"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>r<sp/>=<sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>(<sp/></highlight><highlight class="stringliteral">"{r<sp/>}"</highlight><highlight class="normal">,</highlight><highlight class="stringliteral">"2"</highlight><highlight class="normal">);</highlight></codeline> |
---|
77 | <codeline lineno="16"><highlight class="normal"></highlight></codeline> |
---|
78 | <codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classdirfilelog" kindref="compound" tooltip="Logging into dirfile with buffer in memory.">dirfilelog</ref><sp/>L(</highlight><highlight class="stringliteral">"exp/dirfile"</highlight><highlight class="normal">,10);</highlight></codeline> |
---|
79 | <codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
80 | <codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>rid;</highlight></codeline> |
---|
81 | <codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>thid;</highlight></codeline> |
---|
82 | <codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
83 | <codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>rid=L.add(r,</highlight><highlight class="stringliteral">""</highlight><highlight class="normal">);</highlight></codeline> |
---|
84 | <codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>thid=L.add(th,</highlight><highlight class="stringliteral">"th"</highlight><highlight class="normal">);</highlight></codeline> |
---|
85 | <codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
86 | <codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>L.init();</highlight></codeline> |
---|
87 | <codeline lineno="26"><highlight class="normal"></highlight></codeline> |
---|
88 | <codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(i=0;<sp/>i<150;<sp/>i++){<sp/><sp/></highlight></codeline> |
---|
89 | <codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>L.logit(rid,vec_2((</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">)i,(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">)(i+1)));</highlight></codeline> |
---|
90 | <codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>L.logit(thid,vec_2((</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">)(100-i),(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">)(i-50)));</highlight></codeline> |
---|
91 | <codeline lineno="30"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>L.step();</highlight></codeline> |
---|
92 | <codeline lineno="31"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
93 | <codeline lineno="32"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>L.finalize();</highlight></codeline> |
---|
94 | <codeline lineno="33"><highlight class="normal">}</highlight></codeline> |
---|
95 | </programlisting> |
---|
96 | <location file="/home/smidl/work/git/mixpp/tests/loggers_test.cpp"/> |
---|
97 | </compounddef> |
---|
98 | </doxygen> |
---|