/usr/share/doc/libevocosm-dev/html/a00012.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 | <!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="a00012.html">function_mutator</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">libevocosm::function_mutator Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Mutates solutions.
<a href="a00012.html#details">More...</a></p>
<p><code>#include <<a class="el" href="a00045_source.html">function_optimizer.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for libevocosm::function_mutator:</div>
<div class="dyncontent">
<div class="center">
<img src="a00012.png" usemap="#libevocosm::function_mutator_map" alt=""/>
<map id="libevocosm::function_mutator_map" name="libevocosm::function_mutator_map">
<area href="a00023.html" alt="libevocosm::mutator< function_solution >" shape="rect" coords="0,56,241,80"/>
<area href="a00008.html" title="Global things used by all optimizer classes." alt="libevocosm::fopt_global" shape="rect" coords="251,56,492,80"/>
<area href="a00017.html" title="Elements shared by all classes in Evocosm." alt="libevocosm::globals" shape="rect" coords="0,0,241,24"/>
</map>
</div></div>
<p><a href="a00069.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:aa374509ecee7809025ed35e8087267e7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#aa374509ecee7809025ed35e8087267e7">function_mutator</a> (double a_mutation_rate)</td></tr>
<tr class="memdesc:aa374509ecee7809025ed35e8087267e7"><td class="mdescLeft"> </td><td class="mdescRight">Creation constructor. <a href="#aa374509ecee7809025ed35e8087267e7"></a><br/></td></tr>
<tr class="memitem:a805295b34c4f94d2e06c042da5dbdaf5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a805295b34c4f94d2e06c042da5dbdaf5">function_mutator</a> (const <a class="el" href="a00012.html">function_mutator</a> &a_source)</td></tr>
<tr class="memdesc:a805295b34c4f94d2e06c042da5dbdaf5"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#a805295b34c4f94d2e06c042da5dbdaf5"></a><br/></td></tr>
<tr class="memitem:a8c6bf56130037b5ab4ada11e201cb29c"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a8c6bf56130037b5ab4ada11e201cb29c">~function_mutator</a> ()</td></tr>
<tr class="memdesc:a8c6bf56130037b5ab4ada11e201cb29c"><td class="mdescLeft"> </td><td class="mdescRight">Virtual destructor. <a href="#a8c6bf56130037b5ab4ada11e201cb29c"></a><br/></td></tr>
<tr class="memitem:a356f510ff5569aa95d3c14f645deec73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00012.html">function_mutator</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a356f510ff5569aa95d3c14f645deec73">operator=</a> (const <a class="el" href="a00012.html">function_mutator</a> &a_source)</td></tr>
<tr class="memdesc:a356f510ff5569aa95d3c14f645deec73"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#a356f510ff5569aa95d3c14f645deec73"></a><br/></td></tr>
<tr class="memitem:a593e89fcdcd193e7052484287366f97e"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a593e89fcdcd193e7052484287366f97e">mutation_rate</a> () const </td></tr>
<tr class="memdesc:a593e89fcdcd193e7052484287366f97e"><td class="mdescLeft"> </td><td class="mdescRight">Gets the mutation rate. <a href="#a593e89fcdcd193e7052484287366f97e"></a><br/></td></tr>
<tr class="memitem:abbbc5bfee5586dcc099eb1309df49bae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#abbbc5bfee5586dcc099eb1309df49bae">mutate</a> (vector< <a class="el" href="a00015.html">function_solution</a> > &a_population)</td></tr>
<tr class="memdesc:abbbc5bfee5586dcc099eb1309df49bae"><td class="mdescLeft"> </td><td class="mdescRight">Performs mutations. <a href="#abbbc5bfee5586dcc099eb1309df49bae"></a><br/></td></tr>
<tr class="inherit_header pub_methods_a00023"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a00023')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="a00023.html">libevocosm::mutator< function_solution ></a></td></tr>
<tr class="memitem:aeba53e9a1d3f3ff57e2deb455b8ccac9 inherit pub_methods_a00023"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="a00023.html#aeba53e9a1d3f3ff57e2deb455b8ccac9">~mutator</a> ()</td></tr>
<tr class="memdesc:aeba53e9a1d3f3ff57e2deb455b8ccac9 inherit pub_methods_a00023"><td class="mdescLeft"> </td><td class="mdescRight">Virtual destructor. <a href="#aeba53e9a1d3f3ff57e2deb455b8ccac9"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Implements chance-based mutation of solutions. </p>
</div><hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="aa374509ecee7809025ed35e8087267e7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">libevocosm::function_mutator::function_mutator </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>a_mutation_rate</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>Creates a new mutator with a given mutation rate. </p>
</div>
</div>
<a class="anchor" id="a805295b34c4f94d2e06c042da5dbdaf5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">libevocosm::function_mutator::function_mutator </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00012.html">function_mutator</a> & </td>
<td class="paramname"><em>a_source</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>Duplicates an existing object. </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="a8c6bf56130037b5ab4ada11e201cb29c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual libevocosm::function_mutator::~function_mutator </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>Satisfies the requirements of the base class; does nothing at this time. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="abbbc5bfee5586dcc099eb1309df49bae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void libevocosm::function_mutator::mutate </td>
<td>(</td>
<td class="paramtype">vector< <a class="el" href="a00015.html">function_solution</a> > & </td>
<td class="paramname"><em>a_population</em></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>Mutates a solution using the facilities provided by g_evoreal. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramname">a_population</td><td>- Solutions to be mutated </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="a00023.html#a8c2fa930d4b743f5db323b7adc2f8f3f">libevocosm::mutator< function_solution ></a>.</p>
</div>
</div>
<a class="anchor" id="a593e89fcdcd193e7052484287366f97e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double libevocosm::function_mutator::mutation_rate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the mutation rate set for this mutator. </p>
<dl class="section return"><dt>Returns:</dt><dd>Mutation rate </dd></dl>
</div>
</div>
<a class="anchor" id="a356f510ff5569aa95d3c14f645deec73"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00012.html">function_mutator</a>& libevocosm::function_mutator::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00012.html">function_mutator</a> & </td>
<td class="paramname"><em>a_source</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>Assigns the state of one object to 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>A reference to <em>this</em> </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00045_source.html">function_optimizer.h</a></li>
</ul>
</div><!-- contents -->
<hr>
<p align="center"><small>
© 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>
|