This file is indexed.

/usr/share/doc/libevocosm-dev/html/a00004.html is in libevocosm-dev 4.0.2-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Evocosm</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<h1 align="center" color="#606080">
Evocosm - A C++ Framework for Evolutionary Computing
</h1>
<h2 align="center"><a href="index.html">Main Index</a></h2>
<p align="center">
Created by <a href="mailto:scott.ladd@@coyotegulch.com?subject=libevocosm">Scott Robert Ladd</a> at
<a href="http://www.coyotegulch.com">Coyote Gulch Productions</a>.
</p>
<hr>
<!-- Generated by Doxygen 1.8.1.1 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="a00060.html">libevocosm</a></li><li class="navelem"><a class="el" href="a00004.html">evocosm</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">libevocosm::evocosm&lt; OrganismType &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Associates organisms with the components of an evolutionary system.  
 <a href="a00004.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00043_source.html">evocosm.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for libevocosm::evocosm&lt; OrganismType &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="a00004.png" usemap="#libevocosm::evocosm&lt; OrganismType &gt;_map" alt=""/>
  <map id="libevocosm::evocosm&lt; OrganismType &gt;_map" name="libevocosm::evocosm&lt; OrganismType &gt;_map">
<area href="a00017.html" title="Elements shared by all classes in Evocosm." alt="libevocosm::globals" shape="rect" coords="0,0,237,24"/>
</map>
 </div></div>

<p><a href="a00065.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1bd83303fa601e873b58829b66e360ef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a1bd83303fa601e873b58829b66e360ef">evocosm</a> (vector&lt; OrganismType &gt; &amp;a_population, <a class="el" href="a00018.html">landscape</a>&lt; OrganismType &gt; &amp;a_landscape, <a class="el" href="a00023.html">mutator</a>&lt; OrganismType &gt; &amp;a_mutator, <a class="el" href="a00030.html">reproducer</a>&lt; OrganismType &gt; &amp;a_reproducer, <a class="el" href="a00032.html">scaler</a>&lt; OrganismType &gt; &amp;a_scaler, <a class="el" href="a00033.html">selector</a>&lt; OrganismType &gt; &amp;a_selector, <a class="el" href="a00002.html">analyzer</a>&lt; OrganismType &gt; &amp;a_analyzer, <a class="el" href="a00020.html">listener</a>&lt; OrganismType &gt; &amp;a_listener)</td></tr>
<tr class="memdesc:a1bd83303fa601e873b58829b66e360ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creation constructor.  <a href="#a1bd83303fa601e873b58829b66e360ef"></a><br/></td></tr>
<tr class="memitem:a10b46e3828c096a14f95a12c175e2629"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a10b46e3828c096a14f95a12c175e2629">evocosm</a> (const <a class="el" href="a00004.html">evocosm</a>&lt; OrganismType &gt; &amp;a_source)</td></tr>
<tr class="memdesc:a10b46e3828c096a14f95a12c175e2629"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a10b46e3828c096a14f95a12c175e2629"></a><br/></td></tr>
<tr class="memitem:a258f4e9afaaa6388135675d42f77fefb"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a258f4e9afaaa6388135675d42f77fefb">~evocosm</a> ()</td></tr>
<tr class="memdesc:a258f4e9afaaa6388135675d42f77fefb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor.  <a href="#a258f4e9afaaa6388135675d42f77fefb"></a><br/></td></tr>
<tr class="memitem:a2f10241e60976eea622f7da30daacd21"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00004.html">evocosm</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a2f10241e60976eea622f7da30daacd21">operator=</a> (const <a class="el" href="a00004.html">evocosm</a>&lt; OrganismType &gt; &amp;a_source)</td></tr>
<tr class="memdesc:a2f10241e60976eea622f7da30daacd21"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="#a2f10241e60976eea622f7da30daacd21"></a><br/></td></tr>
<tr class="memitem:ad640719e897358c86962d2ae6935327f"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#ad640719e897358c86962d2ae6935327f">run_generation</a> ()</td></tr>
<tr class="memdesc:ad640719e897358c86962d2ae6935327f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute next generation.  <a href="#ad640719e897358c86962d2ae6935327f"></a><br/></td></tr>
<tr class="memitem:a03b57fe5caf417d5b50f5e9e74ee87e0"><td class="memItemLeft" align="right" valign="top">vector&lt; OrganismType &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a03b57fe5caf417d5b50f5e9e74ee87e0">get_population</a> ()</td></tr>
<tr class="memdesc:a03b57fe5caf417d5b50f5e9e74ee87e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Directly view population.  <a href="#a03b57fe5caf417d5b50f5e9e74ee87e0"></a><br/></td></tr>
<tr class="memitem:a36418b49ee543e1aa2f675f4ac82b148"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a36418b49ee543e1aa2f675f4ac82b148">get_sleep_time</a> ()</td></tr>
<tr class="memdesc:a36418b49ee543e1aa2f675f4ac82b148"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the sleep time property value.  <a href="#a36418b49ee543e1aa2f675f4ac82b148"></a><br/></td></tr>
<tr class="memitem:a17db3f47629f5a0ad8df461ba6f7df8e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a17db3f47629f5a0ad8df461ba6f7df8e">set_sleep_time</a> (unsigned int a_sleep_time)</td></tr>
<tr class="memdesc:a17db3f47629f5a0ad8df461ba6f7df8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the sleep time property value.  <a href="#a17db3f47629f5a0ad8df461ba6f7df8e"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a9f642f9034b52fb5221a413e9a6a5dad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a9f642f9034b52fb5221a413e9a6a5dad">yield</a> ()</td></tr>
<tr class="memdesc:a9f642f9034b52fb5221a413e9a6a5dad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Yield.  <a href="#a9f642f9034b52fb5221a413e9a6a5dad"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ac1adf0f48b9ddd41ea6bf2c249e55219"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1adf0f48b9ddd41ea6bf2c249e55219"></a>
vector&lt; OrganismType &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#ac1adf0f48b9ddd41ea6bf2c249e55219">m_population</a></td></tr>
<tr class="memdesc:ac1adf0f48b9ddd41ea6bf2c249e55219"><td class="mdescLeft">&#160;</td><td class="mdescRight">The populations of organisms. <br/></td></tr>
<tr class="memitem:ae41763e7b918ff31e10f44cad6f5e34f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae41763e7b918ff31e10f44cad6f5e34f"></a>
<a class="el" href="a00018.html">landscape</a>&lt; OrganismType &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#ae41763e7b918ff31e10f44cad6f5e34f">m_landscape</a></td></tr>
<tr class="memdesc:ae41763e7b918ff31e10f44cad6f5e34f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fitness landscapes common to all populations. <br/></td></tr>
<tr class="memitem:a7f35b0a090f1f2d70d8de495add58c3c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f35b0a090f1f2d70d8de495add58c3c"></a>
<a class="el" href="a00023.html">mutator</a>&lt; OrganismType &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a7f35b0a090f1f2d70d8de495add58c3c">m_mutator</a></td></tr>
<tr class="memdesc:a7f35b0a090f1f2d70d8de495add58c3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">A mutator to randomly influence genes. <br/></td></tr>
<tr class="memitem:a520a3321dee68a0afcd8357fb678c49c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a520a3321dee68a0afcd8357fb678c49c"></a>
<a class="el" href="a00030.html">reproducer</a>&lt; OrganismType &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a520a3321dee68a0afcd8357fb678c49c">m_reproducer</a></td></tr>
<tr class="memdesc:a520a3321dee68a0afcd8357fb678c49c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates new organisms. <br/></td></tr>
<tr class="memitem:a8539bb8a29d88ebb639dbee0179bce31"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8539bb8a29d88ebb639dbee0179bce31"></a>
<a class="el" href="a00032.html">scaler</a>&lt; OrganismType &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a8539bb8a29d88ebb639dbee0179bce31">m_scaler</a></td></tr>
<tr class="memdesc:a8539bb8a29d88ebb639dbee0179bce31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scales the fitness of the evocosm. <br/></td></tr>
<tr class="memitem:a4e489f1e9a219192727f526bf9f6face"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e489f1e9a219192727f526bf9f6face"></a>
<a class="el" href="a00033.html">selector</a>&lt; OrganismType &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a4e489f1e9a219192727f526bf9f6face">m_selector</a></td></tr>
<tr class="memdesc:a4e489f1e9a219192727f526bf9f6face"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects organisms that survive from one generation to the next. <br/></td></tr>
<tr class="memitem:a14d2ca3abc86bccc1ad8b46ba4fa3b6e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14d2ca3abc86bccc1ad8b46ba4fa3b6e"></a>
<a class="el" href="a00002.html">analyzer</a>&lt; OrganismType &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a14d2ca3abc86bccc1ad8b46ba4fa3b6e">m_analyzer</a></td></tr>
<tr class="memdesc:a14d2ca3abc86bccc1ad8b46ba4fa3b6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the a evocosm for analysis or display. <br/></td></tr>
<tr class="memitem:a8cc42d262316efc866851cd48af3c2d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8cc42d262316efc866851cd48af3c2d9"></a>
<a class="el" href="a00020.html">listener</a>&lt; OrganismType &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a8cc42d262316efc866851cd48af3c2d9">m_listener</a></td></tr>
<tr class="memdesc:a8cc42d262316efc866851cd48af3c2d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">A listener for evocosm progress. <br/></td></tr>
<tr class="memitem:a2171701bfc2d7c411984b7ac81acbbe3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2171701bfc2d7c411984b7ac81acbbe3"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a2171701bfc2d7c411984b7ac81acbbe3">m_iteration</a></td></tr>
<tr class="memdesc:a2171701bfc2d7c411984b7ac81acbbe3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Count of iterations made. <br/></td></tr>
<tr class="memitem:ac724f1c080779591548727be314a80b2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac724f1c080779591548727be314a80b2"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#ac724f1c080779591548727be314a80b2">m_sleep_time</a></td></tr>
<tr class="memdesc:ac724f1c080779591548727be314a80b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number microseconds for process to sleep on yield. <br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_a00017"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_a00017')"><img src="closed.png" alt="-"/>&nbsp;Static Protected Member Functions inherited from <a class="el" href="a00017.html">libevocosm::globals</a></td></tr>
<tr class="memitem:ae0fb3d77391329662f21d0f84e222602 inherit pub_static_methods_a00017"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0fb3d77391329662f21d0f84e222602"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#ae0fb3d77391329662f21d0f84e222602">set_seed</a> (uint32_t a_seed)</td></tr>
<tr class="memdesc:ae0fb3d77391329662f21d0f84e222602 inherit pub_static_methods_a00017"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the seed for the random number generator. <br/></td></tr>
<tr class="memitem:a76f6dc798b18bd272e1ff3c1f8d9c4fd inherit pub_static_methods_a00017"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76f6dc798b18bd272e1ff3c1f8d9c4fd"></a>
static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#a76f6dc798b18bd272e1ff3c1f8d9c4fd">get_seed</a> ()</td></tr>
<tr class="memdesc:a76f6dc798b18bd272e1ff3c1f8d9c4fd inherit pub_static_methods_a00017"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the seed for the random number generator. <br/></td></tr>
<tr class="memitem:acb9a2cde1cdf3f6c0dde4c4e11b74533 inherit pub_static_methods_a00017"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb9a2cde1cdf3f6c0dde4c4e11b74533"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#acb9a2cde1cdf3f6c0dde4c4e11b74533">version</a> ()</td></tr>
<tr class="memdesc:acb9a2cde1cdf3f6c0dde4c4e11b74533 inherit pub_static_methods_a00017"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get version number. <br/></td></tr>
<tr class="memitem:a5e8897de95e0cccd71f0493586b48424 inherit pro_static_methods_a00017"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e8897de95e0cccd71f0493586b48424"></a>
static size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#a5e8897de95e0cccd71f0493586b48424">rand_index</a> (size_t n)</td></tr>
<tr class="memdesc:a5e8897de95e0cccd71f0493586b48424 inherit pro_static_methods_a00017"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static function to allow use of g_random function pointer in random_shuffle. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;class OrganismType&gt;<br/>
class libevocosm::evocosm&lt; OrganismType &gt;</h3>

<p>This is where it all comes together: An evocosm binds a evocosm of organisms to a set of objects that define how those organisms evolve. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">OrganismType</td><td>- The type of organism </td></tr>
  </table>
  </dd>
</dl>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1bd83303fa601e873b58829b66e360ef"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class OrganismType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00004.html">libevocosm::evocosm</a>&lt; OrganismType &gt;::<a class="el" href="a00004.html">evocosm</a> </td>
          <td>(</td>
          <td class="paramtype">vector&lt; OrganismType &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_population</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00018.html">landscape</a>&lt; OrganismType &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_landscape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00023.html">mutator</a>&lt; OrganismType &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_mutator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00030.html">reproducer</a>&lt; OrganismType &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_reproducer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00032.html">scaler</a>&lt; OrganismType &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_scaler</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00033.html">selector</a>&lt; OrganismType &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_selector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00002.html">analyzer</a>&lt; OrganismType &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_analyzer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00020.html">listener</a>&lt; OrganismType &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_listener</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new evocosm. Think of an evocosm as a director, a tool for associating organisms with their landscape. Note that these arguments are modifiable references, and that the referenced objects must continue to exist during the lifetime of the evocosm. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_population</td><td>Initial population of organisms </td></tr>
    <tr><td class="paramname">a_landscape</td><td>Initial set of landscaoes for testing organism fitness </td></tr>
    <tr><td class="paramname">a_mutator</td><td>- A concrete implementation of mutator </td></tr>
    <tr><td class="paramname">a_reproducer</td><td>- A concrete implementation of reproducer </td></tr>
    <tr><td class="paramname">a_scaler</td><td>- A concrete implementation of scaler </td></tr>
    <tr><td class="paramname">a_selector</td><td>- A concrete implementation of selector </td></tr>
    <tr><td class="paramname">a_analyzer</td><td>- A concrete implementation of analyzer </td></tr>
    <tr><td class="paramname">a_listener</td><td>- a listener for events </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a10b46e3828c096a14f95a12c175e2629"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class OrganismType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00004.html">libevocosm::evocosm</a>&lt; OrganismType &gt;::<a class="el" href="a00004.html">evocosm</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00004.html">evocosm</a>&lt; OrganismType &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new evocosm identical to an existing one. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_source</td><td>- The source object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a258f4e9afaaa6388135675d42f77fefb"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class OrganismType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00004.html">libevocosm::evocosm</a>&lt; OrganismType &gt;::~<a class="el" href="a00004.html">evocosm</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A virtual destructor. By default, it does nothing; this is a placeholder that identifies this class as a potential base, ensuring that objects of a derived class will have their destructors called if they are destroyed through a base-class pointer. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a03b57fe5caf417d5b50f5e9e74ee87e0"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class OrganismType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">vector&lt;OrganismType&gt;&amp; <a class="el" href="a00004.html">libevocosm::evocosm</a>&lt; OrganismType &gt;::get_population </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p><b>Use with caution!</b> This function provides direct read-write access to an evocosm's population. This is necessary when the organisms need special manipulation, such as when they can not be randomized by a default constructor. </p>

</div>
</div>
<a class="anchor" id="a36418b49ee543e1aa2f675f4ac82b148"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class OrganismType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="a00004.html">libevocosm::evocosm</a>&lt; OrganismType &gt;::get_sleep_time </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the sleep time setting for this listerner. /return current value of sleep time (microseconds) </p>

</div>
</div>
<a class="anchor" id="a2f10241e60976eea622f7da30daacd21"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class OrganismType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00004.html">evocosm</a>&lt; OrganismType &gt; &amp; <a class="el" href="a00004.html">libevocosm::evocosm</a>&lt; OrganismType &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00004.html">evocosm</a>&lt; OrganismType &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Assigns an existing object the state of another. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_source</td><td>- The source object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Reference to target object </dd></dl>

<p>References <a class="el" href="a00004.html#a14d2ca3abc86bccc1ad8b46ba4fa3b6e">libevocosm::evocosm&lt; OrganismType &gt;::m_analyzer</a>, <a class="el" href="a00004.html#a2171701bfc2d7c411984b7ac81acbbe3">libevocosm::evocosm&lt; OrganismType &gt;::m_iteration</a>, <a class="el" href="a00004.html#ae41763e7b918ff31e10f44cad6f5e34f">libevocosm::evocosm&lt; OrganismType &gt;::m_landscape</a>, <a class="el" href="a00004.html#ac1adf0f48b9ddd41ea6bf2c249e55219">libevocosm::evocosm&lt; OrganismType &gt;::m_population</a>, <a class="el" href="a00004.html#a8539bb8a29d88ebb639dbee0179bce31">libevocosm::evocosm&lt; OrganismType &gt;::m_scaler</a>, and <a class="el" href="a00004.html#ac724f1c080779591548727be314a80b2">libevocosm::evocosm&lt; OrganismType &gt;::m_sleep_time</a>.</p>

</div>
</div>
<a class="anchor" id="ad640719e897358c86962d2ae6935327f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class OrganismType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="a00004.html">libevocosm::evocosm</a>&lt; OrganismType &gt;::run_generation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>A generation represents a cycle in the life of an evocosm; this function performs one sequence of fitness testing &amp; scaling, reporting, breeding, and mutation. This method can be replaced by in a derived class to define a different processing sequence; the default sequence defined here is good for most evolutionary algorithms I've created. </p>
<dl class="section return"><dt>Returns:</dt><dd>Returns <em>true</em> when the generation has reached a specific goal. </dd></dl>

</div>
</div>
<a class="anchor" id="a17db3f47629f5a0ad8df461ba6f7df8e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class OrganismType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00004.html">libevocosm::evocosm</a>&lt; OrganismType &gt;::set_sleep_time </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>a_sleep_time</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set the sleep time property value. /param a_sleep_time new value of sleep time (microseconds) </p>

</div>
</div>
<a class="anchor" id="a9f642f9034b52fb5221a413e9a6a5dad"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class OrganismType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00004.html">libevocosm::evocosm</a>&lt; OrganismType &gt;::yield </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Evocosm periodically invokes this function to allow other processes to run. In most cases, this will be some sort of platform-specific sleep function, such as usleep. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00043_source.html">evocosm.h</a></li>
</ul>
</div><!-- contents -->
<hr>
<p align="center"><small>
&copy; 1996-2005 Scott Robert Ladd. All rights reserved.<br>
HTML documentation generated by Dimitri van Heesch's excellent <a href="http://www.doxygen.org">Doxygen</a> tool.
</small>
</p>
</body>
</html>