Changeset 608 for library/doc/html/ui_page.html
- Timestamp:
- 09/12/09 11:41:43 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/ui_page.html
r591 r608 76 76 <p>For easier interaction with users, experiments can be configured via structures called <b>User Info</b>. These structures contain information about details of the experiment that is to be performed. Since experiments involve the use of basic BDM classes and their compositions, the experiment description is also hierarchical with specific user info for each object or class.</p> 77 77 <p>The User Infos are designed using customized version of the libconfig library (www.hyperrealm.com/libconfig). It is specialized for BDM so as to recognize basic mathematical objects, such as vectors and matrices, see details below.</p> 78 <p>Technically it can be made compatible with matlab structures (TODO)</p> 78 <p>Technically it can be made compatible with matlab structures. </p> 79 <dl class="todo"><dt><b><a class="el" href="todo.html#_todo000005">Todo:</a></b></dt><dd>it will be good to create a more detailed paragraph about the intraction with Matlab</dd></dl> 79 80 <h2><a class="anchor" id="ui_example"> 80 81 Example</a></h2> … … 89 90 </pre></div><p> The exact meaning of the root fields in this structure (i.e. <code>ndat</code> and <code>prior</code>) is defined by the application (or mex file) that is using this configuration file. It will look for expected fields and it will ignore any other structures. When it does not find what it is looking for, it terminates with an appropriate error message.</p> 90 91 <p>A structure with field <code>class="identifier"</code> is special. Such a structure will be parsed by an appropriate <a class="el" href="classbdm_1_1UI.html#a1f3d45184f803e1256cfc896b43ed2f8">bdm::UI::build</a> method which will construct the desired object, in this instance of an object of the class <a class="el" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">bdm::enorm</a>.</p> 91 <p>For a detailed example how this mechanism works in practice see <a class="el" href="arx_ui.html">Running experiment <code>estimator</code> with ARX data fields </a>. To learn about the possinility of making <b> internal or external links</b> in configuration files, see the documentation of <a class="el" href="classbdm_1_1SettingResolver.html" title="This class serves to expand links used within configuration files.">bdm::SettingResolver</a>.</p>92 <p>For a detailed example how this mechanism works in practice see <a class="el" href="arx_ui.html">Running experiment <code>estimator</code> with ARX data fields this page is out of date, as the user info concept has been changed</a>. To learn about the possinility of making <b> internal or external links</b> in configuration files, see the documentation of <a class="el" href="classbdm_1_1SettingResolver.html" title="This class serves to expand links used within configuration files.">bdm::SettingResolver</a>.</p> 92 93 <h2><a class="anchor" id="ui_implementation"> 93 94 Implementation of user info in a custom class</a></h2> … … 132 133 <p>Saving is much more easier. For all the variable types, use the <a class="el" href="classbdm_1_1UI.html#ac83987949e6a9e79d6e093797ab7d917" title="A root descendant instance is stored in the new child Setting appended to the passed...">bdm::UI::save</a> method. </p> 133 134 </div> 134 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:502009 for mixpp by 135 <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:32 2009 for mixpp by 135 136 <a href="http://www.doxygen.org/index.html"> 136 137 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>