<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6">
  <compounddef id="libDS_8h" kind="file">
    <compoundname>libDS.h</compoundname>
    <includes local="no">itpp/itbase.h</includes>
    <includes refid="libBM_8h" local="yes">libBM.h</includes>
    <includedby refid="libDS_8cpp" local="yes">work/git/mixpp/bdm/stat/libDS.cpp</includedby>
    <incdepgraph>
      <node id="380">
        <label>libBM.h</label>
        <link refid="libBM_8h"/>
        <childnode refid="379" relation="include">
        </childnode>
      </node>
      <node id="379">
        <label>itpp/itbase.h</label>
      </node>
      <node id="378">
        <label>work/git/mixpp/bdm/stat/libDS.h</label>
        <link refid="libDS.h"/>
        <childnode refid="379" relation="include">
        </childnode>
        <childnode refid="380" relation="include">
        </childnode>
      </node>
    </incdepgraph>
    <innerclass refid="classMemDS" prot="public">MemDS</innerclass>
    <briefdescription>
<para>Common DataSources. </para>    </briefdescription>
    <detaileddescription>
<para><simplesect kind="author"><para>Vaclav Smidl.</para></simplesect>
----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty</para><para>Using IT++ for numerical operations ----------------------------------- </para>    </detaileddescription>
    <programlisting>
<codeline lineno="1"></codeline>
<codeline lineno="13"><highlight class="preprocessor">#ifndef<sp/>DS_H</highlight></codeline>
<codeline lineno="14"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>DS_H</highlight></codeline>
<codeline lineno="15"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="16"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;itpp/itbase.h&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="17"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;<ref refid="libBM_8h" kindref="compound" tooltip="Bayesian Models (bm) that use Bayes rule to learn from observations.">libBM.h</ref>&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="18"><highlight class="normal"></highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal">itpp;</highlight></codeline>
<codeline lineno="20"><highlight class="normal"></highlight></codeline>
<codeline lineno="28" refid="classMemDS" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classMemDS" kindref="compound" tooltip="Class representing off-line data stored in memory.">MemDS</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classDS" kindref="compound" tooltip="Abstract class for discrete-time sources of data.">DS</ref><sp/>{</highlight></codeline>
<codeline lineno="29"><highlight class="normal">mat<sp/>Data;</highlight></codeline>
<codeline lineno="30"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>time;</highlight></codeline>
<codeline lineno="31"><highlight class="normal">ivec<sp/>rowid;</highlight></codeline>
<codeline lineno="32"><highlight class="normal">ivec<sp/>delays;</highlight></codeline>
<codeline lineno="33"><highlight class="normal"></highlight></codeline>
<codeline lineno="34"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="35"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classMemDS_123522b9e7dd0bb0c365cc9cde4c05449" kindref="member" tooltip="Returns full vector of observed data.">getdata</ref>(vec<sp/>&amp;dt);</highlight></codeline>
<codeline lineno="36"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classMemDS_123522b9e7dd0bb0c365cc9cde4c05449" kindref="member" tooltip="Returns full vector of observed data.">getdata</ref>(vec<sp/>&amp;dt,<sp/>ivec<sp/>&amp;indeces);</highlight></codeline>
<codeline lineno="37"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classMemDS_15f72b555e0e4a61de1440c457cf57007" kindref="member" tooltip="Method that assigns random variables to the datasource. Typically, the datasource...">linkrvs</ref>(<ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;drv,<sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;urv);</highlight></codeline>
<codeline lineno="38" refid="classMemDS_1b120ed178f7c848f1227c928d8a79be8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classMemDS_1b120ed178f7c848f1227c928d8a79be8" kindref="member" tooltip="Accepts action variable and schedule it for application.">write</ref>(vec<sp/>&amp;ut){it_error(</highlight><highlight class="stringliteral">&quot;MemDS::write<sp/>is<sp/>not<sp/>supported&quot;</highlight><highlight class="normal">);}</highlight></codeline>
<codeline lineno="39" refid="classMemDS_16279bf18d44343750747ecc12e050f09" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classMemDS_1b120ed178f7c848f1227c928d8a79be8" kindref="member" tooltip="Accepts action variable and schedule it for application.">write</ref>(vec<sp/>&amp;ut,ivec<sp/>&amp;indexes){it_error(</highlight><highlight class="stringliteral">&quot;MemDS::write<sp/>is<sp/>not<sp/>supported&quot;</highlight><highlight class="normal">);}</highlight></codeline>
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classMemDS_121916feb3e5ff960855c09b06a0d279b" kindref="member" tooltip="Moves from  to , i.e. perfroms the actions and reads response of the system.">step</ref>();</highlight></codeline>
<codeline lineno="42"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classMemDS_184cfba80cb32d07be94690658175e9c4" kindref="member" tooltip="Default constructor.">MemDS</ref>(mat<sp/>&amp;Dat,<sp/>ivec<sp/>&amp;rowid,<sp/>ivec<sp/>&amp;delays);</highlight></codeline>
<codeline lineno="43"><highlight class="normal">};</highlight></codeline>
<codeline lineno="44"><highlight class="normal"></highlight></codeline>
<codeline lineno="45"><highlight class="normal"></highlight></codeline>
<codeline lineno="46"><highlight class="normal"></highlight></codeline>
<codeline lineno="47"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/>//<sp/>DS_H</highlight></codeline>
    </programlisting>
    <location file="/home/smidl/work/git/mixpp/bdm/stat/libDS.h"/>
  </compounddef>
</doxygen>
