1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
3 | <title>mixpp: bdm::discrete_support Class Reference</title> |
---|
4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.5.9 --> |
---|
8 | <script type="text/javascript"> |
---|
9 | <!-- |
---|
10 | function changeDisplayState (e){ |
---|
11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
12 | var button=this.firstChild; |
---|
13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
15 | sectionDiv.style.display='block'; |
---|
16 | button.src='open.gif'; |
---|
17 | }else{ |
---|
18 | sectionDiv.style.display='none'; |
---|
19 | button.src='closed.gif'; |
---|
20 | } |
---|
21 | } |
---|
22 | function initDynSections(){ |
---|
23 | var divs=document.getElementsByTagName('div'); |
---|
24 | var sectionCounter=1; |
---|
25 | for(var i=0;i<divs.length-1;i++){ |
---|
26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
27 | var header=divs[i]; |
---|
28 | var section=divs[i+1]; |
---|
29 | var button=header.firstChild; |
---|
30 | if (button!='IMG'){ |
---|
31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
32 | button=document.createElement('img'); |
---|
33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
34 | } |
---|
35 | header.style.cursor='pointer'; |
---|
36 | header.onclick=changeDisplayState; |
---|
37 | header.id='dynheader'+sectionCounter; |
---|
38 | button.src='closed.gif'; |
---|
39 | section.id='dynsection'+sectionCounter; |
---|
40 | section.style.display='none'; |
---|
41 | section.style.marginLeft='14px'; |
---|
42 | sectionCounter++; |
---|
43 | } |
---|
44 | } |
---|
45 | } |
---|
46 | window.onload = initDynSections; |
---|
47 | --> |
---|
48 | </script> |
---|
49 | <div class="navigation" id="top"> |
---|
50 | <div class="tabs"> |
---|
51 | <ul> |
---|
52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
54 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
55 | <li><a href="files.html"><span>Files</span></a></li> |
---|
56 | </ul> |
---|
57 | </div> |
---|
58 | <div class="tabs"> |
---|
59 | <ul> |
---|
60 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
61 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
62 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
63 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
64 | </ul> |
---|
65 | </div> |
---|
66 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1discrete__support.html">discrete_support</a> |
---|
67 | </div> |
---|
68 | </div> |
---|
69 | <div class="contents"> |
---|
70 | <h1>bdm::discrete_support Class Reference</h1><!-- doxytag: class="bdm::discrete_support" --><!-- doxytag: inherits="bdm::root" -->Discrete support with stored support points. |
---|
71 | <a href="#_details">More...</a> |
---|
72 | <p> |
---|
73 | <code>#include <<a class="el" href="discrete_8h_source.html">discrete.h</a>></code> |
---|
74 | <p> |
---|
75 | |
---|
76 | <p> |
---|
77 | <a href="classbdm_1_1discrete__support-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
78 | <tr><td></td></tr> |
---|
79 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
80 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="58d652a1f149a7698f1fee9acd1a78b5"></a><!-- doxytag: member="bdm::discrete_support::discrete_support" ref="58d652a1f149a7698f1fee9acd1a78b5" args="()" --> |
---|
81 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1discrete__support.html#58d652a1f149a7698f1fee9acd1a78b5">discrete_support</a> ()</td></tr> |
---|
82 | |
---|
83 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
---|
84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc3d175266b65168ba3f3a5f568078a1"></a><!-- doxytag: member="bdm::discrete_support::points" ref="dc3d175266b65168ba3f3a5f568078a1" args="() const " --> |
---|
85 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1discrete__support.html#dc3d175266b65168ba3f3a5f568078a1">points</a> () const </td></tr> |
---|
86 | |
---|
87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access function. <br></td></tr> |
---|
88 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26c803791b63916adf301a4a186f01ba"></a><!-- doxytag: member="bdm::discrete_support::first_vec" ref="26c803791b63916adf301a4a186f01ba" args="()" --> |
---|
89 | const vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1discrete__support.html#26c803791b63916adf301a4a186f01ba">first_vec</a> ()</td></tr> |
---|
90 | |
---|
91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set the first vector to corner and store result in actvec <br></td></tr> |
---|
92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="368f10fd45443dee5296cc0febb240fb"></a><!-- doxytag: member="bdm::discrete_support::next_vec" ref="368f10fd45443dee5296cc0febb240fb" args="()" --> |
---|
93 | const vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1discrete__support.html#368f10fd45443dee5296cc0febb240fb">next_vec</a> ()</td></tr> |
---|
94 | |
---|
95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set next vector after calling <a class="el" href="classbdm_1_1discrete__support.html#26c803791b63916adf301a4a186f01ba" title="set the first vector to corner and store result in actvec">first_vec()</a> <br></td></tr> |
---|
96 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1discrete__support.html#0c405889b7b76f0852c1b2a222f07aab">from_setting</a> (const Setting &set)</td></tr> |
---|
97 | |
---|
98 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e9af8da7fa2ac2c03b3cec1d4407b1d"></a><!-- doxytag: member="bdm::discrete_support::_Spoints" ref="1e9af8da7fa2ac2c03b3cec1d4407b1d" args="()" --> |
---|
99 | Array< vec > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1discrete__support.html#1e9af8da7fa2ac2c03b3cec1d4407b1d">_Spoints</a> ()</td></tr> |
---|
100 | |
---|
101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::discrete_support::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> |
---|
103 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
---|
104 | |
---|
105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> |
---|
106 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::discrete_support::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
---|
107 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
---|
108 | |
---|
109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> |
---|
110 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::discrete_support::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
---|
111 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
---|
112 | |
---|
113 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> |
---|
114 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
115 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c0cbdb61727406b52ca22332507a9a7c"></a><!-- doxytag: member="bdm::discrete_support::Spoints" ref="c0cbdb61727406b52ca22332507a9a7c" args="" --> |
---|
116 | Array< vec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1discrete__support.html#c0cbdb61727406b52ca22332507a9a7c">Spoints</a></td></tr> |
---|
117 | |
---|
118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">storage of support points <br></td></tr> |
---|
119 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="505284848af521fea33e65368de4845e"></a><!-- doxytag: member="bdm::discrete_support::idx" ref="505284848af521fea33e65368de4845e" args="" --> |
---|
120 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1discrete__support.html#505284848af521fea33e65368de4845e">idx</a></td></tr> |
---|
121 | |
---|
122 | <tr><td class="mdescLeft"> </td><td class="mdescRight">index in iterators <br></td></tr> |
---|
123 | </table> |
---|
124 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
125 | Discrete support with stored support points. <hr><h2>Member Function Documentation</h2> |
---|
126 | <a class="anchor" name="0c405889b7b76f0852c1b2a222f07aab"></a><!-- doxytag: member="bdm::discrete_support::from_setting" ref="0c405889b7b76f0852c1b2a222f07aab" args="(const Setting &set)" --> |
---|
127 | <div class="memitem"> |
---|
128 | <div class="memproto"> |
---|
129 | <table class="memname"> |
---|
130 | <tr> |
---|
131 | <td class="memname">void bdm::discrete_support::from_setting </td> |
---|
132 | <td>(</td> |
---|
133 | <td class="paramtype">const Setting & </td> |
---|
134 | <td class="paramname"> <em>set</em> </td> |
---|
135 | <td> ) </td> |
---|
136 | <td><code> [virtual]</code></td> |
---|
137 | </tr> |
---|
138 | </table> |
---|
139 | </div> |
---|
140 | <div class="memdoc"> |
---|
141 | |
---|
142 | <p> |
---|
143 | <div class="fragment"><pre class="fragment"> <span class="keyword">class </span>= "<a class="code" href="classbdm_1_1discrete__support.html#58d652a1f149a7698f1fee9acd1a78b5" title="Default constructor.">discrete_support</a>"; |
---|
144 | <a class="code" href="classbdm_1_1discrete__support.html#dc3d175266b65168ba3f3a5f568078a1" title="Access function.">points</a> = ( [1,2..], [2,2..], ...); <span class="comment">// list of points</span> |
---|
145 | === OR === |
---|
146 | epdf = {<span class="keyword">class</span>=<span class="stringliteral">"epdf_offspring"</span>,...}; <span class="comment">// epdf rfom which to sample</span> |
---|
147 | npoints = 100; <span class="comment">// number of samples</span> |
---|
148 | </pre></div> |
---|
149 | <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> |
---|
150 | |
---|
151 | <p>References <a class="el" href="user__info_8h_source.html#l00451">bdm::UI::get()</a>, <a class="el" href="discrete_8h_source.html#l00097">points()</a>, and <a class="el" href="discrete_8h_source.html#l00090">Spoints</a>.</p> |
---|
152 | |
---|
153 | </div> |
---|
154 | </div><p> |
---|
155 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
156 | <li><a class="el" href="discrete_8h_source.html">discrete.h</a><li>discrete.cpp</ul> |
---|
157 | </div> |
---|
158 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 17:34:48 2009 for mixpp by |
---|
159 | <a href="http://www.doxygen.org/index.html"> |
---|
160 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
---|
161 | </body> |
---|
162 | </html> |
---|