Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 1107

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>HippoDraw Class Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="hippoApp.ico">
</head><body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_390cfd4b32d48f53301526c593d2b8f8.html">datareps</a>
  </div>
</div>
<div class="contents">
<h1>FunctionRep.h</h1><a href="FunctionRep_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: c++ -*- */</span>
<a name="l00002"></a>00002 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef _FunctionRep_H_</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _FunctionRep_H_</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;<a class="code" href="DataRep_8h.html" title="hippodraw::DataRep class interface.">DataRep.h</a>&quot;</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="keyword">namespace </span>hippodraw {
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="keyword">class </span>Fitter;
<a name="l00022"></a>00022 <span class="keyword">class </span>FunctionBase;
<a name="l00023"></a>00023 <span class="keyword">class </span>FunctionParameter;
<a name="l00024"></a>00024 
<a name="l00034"></a><a class="code" href="classhippodraw_1_1FunctionRep.html">00034</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1FunctionRep.html" title="A derived class of DataRep which is a base class for displaying a function.">FunctionRep</a>
<a name="l00035"></a>00035   : <span class="keyword">public</span> hippodraw::<a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a>
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <span class="keyword">private</span>:
<a name="l00039"></a>00039 
<a name="l00043"></a><a class="code" href="classhippodraw_1_1FunctionRep.html#ace1fef2f10485d6d02ccf1594f225680">00043</a>   <span class="keywordtype">bool</span> m_in_composite;
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <span class="keyword">protected</span>:
<a name="l00046"></a>00046 
<a name="l00051"></a><a class="code" href="classhippodraw_1_1FunctionRep.html#a7ef9c9e7cf3392aa0dc0d3d4ceebc8ce">00051</a>   <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * m_target;
<a name="l00052"></a>00052 
<a name="l00055"></a>00055    <a class="code" href="classhippodraw_1_1FunctionRep.html" title="A derived class of DataRep which is a base class for displaying a function.">FunctionRep</a> ( <a class="code" href="classhippodraw_1_1FunctionBase.html" title="A function that can be added to a DataRep and used in a fitter.">FunctionBase</a> * function, <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep );
<a name="l00056"></a>00056 
<a name="l00059"></a>00059   <a class="code" href="classhippodraw_1_1FunctionRep.html" title="A derived class of DataRep which is a base class for displaying a function.">FunctionRep</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1FunctionRep.html" title="A derived class of DataRep which is a base class for displaying a function.">FunctionRep</a> &amp; );
<a name="l00060"></a>00060 
<a name="l00061"></a>00061 <span class="keyword">public</span>:
<a name="l00062"></a>00062 
<a name="l00066"></a>00066   <span class="keyword">virtual</span> ~<a class="code" href="classhippodraw_1_1FunctionRep.html" title="A derived class of DataRep which is a base class for displaying a function.">FunctionRep</a> ();
<a name="l00067"></a>00067 
<a name="l00070"></a>00070   <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * <a class="code" href="namespacenum__util.html#a8d145d73a173083711a3829a2bc75f5c">clone</a> ();
<a name="l00071"></a>00071 
<a name="l00074"></a>00074   <span class="keywordtype">void</span> initializeWith ( <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * );
<a name="l00075"></a>00075 
<a name="l00078"></a>00078   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasNTupleBindings () <span class="keyword">const</span>;
<a name="l00079"></a>00079 
<a name="l00083"></a>00083   <span class="keywordtype">bool</span> isComposite () <span class="keyword">const</span>;
<a name="l00084"></a>00084 
<a name="l00087"></a>00087   <span class="keywordtype">bool</span> isInComposite () <span class="keyword">const</span>;
<a name="l00088"></a>00088 
<a name="l00091"></a>00091   <span class="keywordtype">void</span> setInComposite ( <span class="keywordtype">bool</span> yes );
<a name="l00092"></a>00092 
<a name="l00094"></a>00094   <a class="code" href="classhippodraw_1_1FunctionBase.html" title="A function that can be added to a DataRep and used in a fitter.">FunctionBase</a> * getFunction () <span class="keyword">const</span>;
<a name="l00095"></a>00095 
<a name="l00097"></a>00097   <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * getTarget () <span class="keyword">const</span>;
<a name="l00098"></a>00098 
<a name="l00101"></a>00101   <span class="keywordtype">void</span> setTarget ( <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep );
<a name="l00102"></a>00102 
<a name="l00106"></a>00106   <span class="keywordtype">bool</span> setFitter ( <a class="code" href="classhippodraw_1_1Fitter.html" title="The base class for fitters.">Fitter</a> * fitter );
<a name="l00107"></a>00107 
<a name="l00109"></a>00109   <a class="code" href="classhippodraw_1_1Fitter.html" title="The base class for fitters.">Fitter</a> * getFitter ( ) <span class="keyword">const</span>;
<a name="l00110"></a>00110 
<a name="l00112"></a>00112   <span class="keyword">const</span> std::string &amp; getFitterName () <span class="keyword">const</span>;
<a name="l00113"></a>00113 
<a name="l00116"></a>00116   <span class="keywordtype">bool</span> fitFunction ( );
<a name="l00117"></a>00117 
<a name="l00120"></a>00120   <span class="keywordtype">double</span> objectiveValue () <span class="keyword">const</span>;
<a name="l00121"></a>00121 
<a name="l00125"></a>00125   <span class="keyword">const</span> std::vector &lt; std::vector &lt; double &gt; &gt; &amp; covarianceMatrix () <span class="keyword">const</span>;
<a name="l00126"></a>00126 
<a name="l00130"></a>00130   <span class="keywordtype">int</span> degreesOfFreedom () <span class="keyword">const</span>;
<a name="l00131"></a>00131 
<a name="l00134"></a>00134   <span class="keyword">const</span> std::vector &lt; std::string &gt; &amp; parmNames () <span class="keyword">const</span>;
<a name="l00135"></a>00135 
<a name="l00139"></a>00139   <span class="keyword">const</span> std::vector &lt; int &gt; &amp; getFixedFlags () <span class="keyword">const</span>;
<a name="l00140"></a>00140 
<a name="l00142"></a>00142   <span class="keyword">const</span> std::vector &lt; double &gt; &amp; parameters () <span class="keyword">const</span>;
<a name="l00143"></a>00143 
<a name="l00145"></a>00145   <span class="keyword">const</span> std::vector&lt; double &gt; &amp; principleErrors() <span class="keyword">const</span>;
<a name="l00146"></a>00146   
<a name="l00149"></a>00149   <span class="keywordtype">void</span> setPrincipleErrors ( std::vector &lt; double &gt;::const_iterator begin, 
<a name="l00150"></a>00150                             std::vector &lt; double &gt;::const_iterator end );
<a name="l00151"></a>00151 
<a name="l00153"></a>00153   <span class="keywordtype">void</span> saveParameters ();
<a name="l00154"></a>00154 
<a name="l00156"></a>00156   <span class="keywordtype">void</span> restoreParameters ();
<a name="l00157"></a>00157 
<a name="l00159"></a>00159   <span class="keywordtype">void</span> setParameters ( <span class="keyword">const</span> std::vector&lt;double&gt; &amp; params );
<a name="l00160"></a>00160 
<a name="l00163"></a>00163   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFixedFlags ( <span class="keyword">const</span> std::vector &lt; int &gt; &amp; flags );
<a name="l00164"></a>00164 
<a name="l00167"></a>00167   <span class="keywordtype">void</span> willDelete ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Observable.html" title="Part of an implementation of the Observable-Observer pattern based on the example...">Observable</a> * observed );
<a name="l00168"></a>00168 
<a name="l00172"></a>00172   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isTargetable () <span class="keyword">const</span>;
<a name="l00173"></a>00173 
<a name="l00176"></a>00176   <span class="keywordtype">void</span> setCutRange ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> &amp; );
<a name="l00177"></a>00177 
<a name="l00180"></a>00180   <span class="keywordtype">void</span> setTupleCut ();
<a name="l00181"></a>00181 
<a name="l00184"></a>00184   <span class="keywordtype">void</span> removeCut ();
<a name="l00185"></a>00185 
<a name="l00188"></a>00188   <span class="keywordtype">void</span> setCutRange ( <span class="keywordtype">bool</span> yes = <span class="keyword">true</span> );
<a name="l00189"></a>00189 
<a name="l00193"></a>00193   <span class="keywordtype">bool</span> hasZoomY () <span class="keyword">const</span>;
<a name="l00194"></a>00194 
<a name="l00197"></a>00197   <span class="keywordtype">void</span> setIgnoreError(<span class="keywordtype">bool</span> ignore);
<a name="l00198"></a>00198 
<a name="l00203"></a>00203   <span class="keywordtype">bool</span> getIgnoreErrors() <span class="keyword">const</span>;
<a name="l00204"></a>00204 
<a name="l00208"></a>00208   <span class="keyword">virtual</span>
<a name="l00209"></a>00209   <span class="keywordtype">void</span> fillFunctionParameters ( std::vector &lt; FunctionParameter &gt; &amp; ) <span class="keyword">const</span>;
<a name="l00210"></a>00210 
<a name="l00214"></a>00214   <span class="keyword">virtual</span> <span class="keywordtype">void</span> addToComposite ( <a class="code" href="classhippodraw_1_1FunctionRep.html" title="A derived class of DataRep which is a base class for displaying a function.">FunctionRep</a> * frep );
<a name="l00215"></a>00215 
<a name="l00219"></a>00219   <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeFromComposite ( <a class="code" href="classhippodraw_1_1FunctionRep.html" title="A derived class of DataRep which is a base class for displaying a function.">FunctionRep</a> * frep );
<a name="l00220"></a>00220 
<a name="l00223"></a>00223   <span class="keyword">const</span> std::string &amp; functionName () <span class="keyword">const</span>;
<a name="l00224"></a>00224 
<a name="l00225"></a>00225 };
<a name="l00226"></a>00226 
<a name="l00227"></a>00227 } <span class="comment">// namespace hippodraw</span>
<a name="l00228"></a>00228 
<a name="l00229"></a>00229 <span class="preprocessor">#endif // _FunctionRep_H_</span>
</pre></div></div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>