This file is indexed.

/usr/share/doc/libevocosm-dev/html/a00002.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
<!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="a00002.html">analyzer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">libevocosm::analyzer&lt; OrganismType &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Reports on a given population.  
 <a href="a00002.html#details">More...</a></p>

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

<p><a href="a00062.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:a210cacece0dafac3d53e320386831f65"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00002.html#a210cacece0dafac3d53e320386831f65">analyzer</a> (<a class="el" href="a00020.html">listener</a>&lt; OrganismType &gt; &amp;a_listener, size_t max_iterations=0)</td></tr>
<tr class="memdesc:a210cacece0dafac3d53e320386831f65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a210cacece0dafac3d53e320386831f65"></a><br/></td></tr>
<tr class="memitem:aff44f16bba2e7678b76a2fa2121b7253"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff44f16bba2e7678b76a2fa2121b7253"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00002.html#aff44f16bba2e7678b76a2fa2121b7253">analyzer</a> (const <a class="el" href="a00002.html">analyzer</a> &amp;a_source)</td></tr>
<tr class="memdesc:aff44f16bba2e7678b76a2fa2121b7253"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br/></td></tr>
<tr class="memitem:a621cab60973946fb54173ce06b2467f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a621cab60973946fb54173ce06b2467f0"></a>
<a class="el" href="a00002.html">analyzer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00002.html#a621cab60973946fb54173ce06b2467f0">operator=</a> (const <a class="el" href="a00002.html">analyzer</a> &amp;a_source)</td></tr>
<tr class="memdesc:a621cab60973946fb54173ce06b2467f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <br/></td></tr>
<tr class="memitem:a167e500f0bca56b4e97736737f20b33f"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00002.html#a167e500f0bca56b4e97736737f20b33f">~analyzer</a> ()</td></tr>
<tr class="memdesc:a167e500f0bca56b4e97736737f20b33f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor.  <a href="#a167e500f0bca56b4e97736737f20b33f"></a><br/></td></tr>
<tr class="memitem:a8e37870f28d56284d7eb9c978bae1758"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00002.html#a8e37870f28d56284d7eb9c978bae1758">analyze</a> (const vector&lt; OrganismType &gt; &amp;a_population, size_t a_iteration)</td></tr>
<tr class="memdesc:a8e37870f28d56284d7eb9c978bae1758"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports on a population.  <a href="#a8e37870f28d56284d7eb9c978bae1758"></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:a5d9fc2c8bd69ed830e03ddd318dfaa83"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5d9fc2c8bd69ed830e03ddd318dfaa83"></a>
<a class="el" href="a00020.html">listener</a>&lt; OrganismType &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00002.html#a5d9fc2c8bd69ed830e03ddd318dfaa83">m_listener</a></td></tr>
<tr class="memdesc:a5d9fc2c8bd69ed830e03ddd318dfaa83"><td class="mdescLeft">&#160;</td><td class="mdescRight">The listener for events. <br/></td></tr>
<tr class="memitem:aabc68f9ebec950d3e6fd6f96236c685f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aabc68f9ebec950d3e6fd6f96236c685f"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00002.html#aabc68f9ebec950d3e6fd6f96236c685f">m_max_iterations</a></td></tr>
<tr class="memdesc:aabc68f9ebec950d3e6fd6f96236c685f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum iterations; ignored if zero. <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;typename OrganismType&gt;<br/>
class libevocosm::analyzer&lt; OrganismType &gt;</h3>

<p>After fitness testing, the Evocosm invokes an analyzer. At a minimum, the analyzer determines if the population has reached a "final" or "finished" state. </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="a210cacece0dafac3d53e320386831f65"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename OrganismType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00002.html">libevocosm::analyzer</a>&lt; OrganismType &gt;::<a class="el" href="a00002.html">analyzer</a> </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>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>max_iterations</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Creates a new reporter object </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_listener</td><td>- a listener for events </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a167e500f0bca56b4e97736737f20b33f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename OrganismType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00002.html">libevocosm::analyzer</a>&lt; OrganismType &gt;::~<a class="el" href="a00002.html">analyzer</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">inline</span><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="a8e37870f28d56284d7eb9c978bae1758"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename OrganismType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="a00002.html">libevocosm::analyzer</a>&lt; OrganismType &gt;::analyze </td>
          <td>(</td>
          <td class="paramtype">const 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">size_t&#160;</td>
          <td class="paramname"><em>a_iteration</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The report method can do almost anything. In most case, it will display the "best" chromosome, draw a progress graph, or notify the user that another generation has passed. The return value tells an evocosm whether to continue evolving or not. The default implementation simply watches to see if a maximum number of iterations ahve been perfromed. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_population</td><td>- A population of organisms </td></tr>
    <tr><td class="paramname">a_iteration</td><td>- Iteration count for this report </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd><b>true</b> if evolution should continue; <b>false</b> if not </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00041_source.html">analyzer.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>