diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-22 07:44:52 +0100 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-22 07:44:52 +0100 |
commit | 2b571f08d091dc062cedbb9816c29dcf0cbd4f12 (patch) | |
tree | 98505fe5fbd433eafe74a188f833b71a4627e08f /doc/jcgp/backend/population/Mutable.html | |
parent | 9aac9892b5c827e70c4598e0e052d10aad40a2d9 (diff) |
Final commit, will release later today.
Diffstat (limited to 'doc/jcgp/backend/population/Mutable.html')
-rw-r--r-- | doc/jcgp/backend/population/Mutable.html | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/doc/jcgp/backend/population/Mutable.html b/doc/jcgp/backend/population/Mutable.html index 4ef59eb..c02cff0 100644 --- a/doc/jcgp/backend/population/Mutable.html +++ b/doc/jcgp/backend/population/Mutable.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_05) on Mon May 12 23:05:44 BST 2014 --> +<!-- Generated by javadoc (1.8.0_05) on Thu May 22 06:02:32 BST 2014 --> <title>Mutable</title> -<meta name="date" content="2014-05-12"> +<meta name="date" content="2014-05-22"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -113,8 +113,8 @@ var activeTableTab = "activeTableTab"; <br><br> This interface provides a way to deal with mutable elements generically without having to specify whether they are nodes - or outputs. In this way a random mutable element can be picked and - dealt with more easily, facilitating mutations.</div> + or outputs. When mutating a mutable, <code>mutate()</code> is guaranteed + to perform a fair mutation.</div> <dl> <dt><span class="simpleTagLabel">Author:</span></dt> <dd>Eduardo Pedroni</dd> @@ -162,9 +162,8 @@ var activeTableTab = "activeTableTab"; </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../jcgp/backend/population/Mutable.html#setConnection-int-jcgp.backend.population.Connection-">setConnection</a></span>(int index, - <a href="../../../jcgp/backend/population/Connection.html" title="interface in jcgp.backend.population">Connection</a> newConnection)</code> -<div class="block">This method sets the indexed connection to the specified new connection.</div> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../jcgp/backend/population/Mutable.html#mutate--">mutate</a></span>()</code> +<div class="block">This method performs an arbitrary mutation on the <code>Mutable</code>.</div> </td> </tr> </table> @@ -182,22 +181,21 @@ var activeTableTab = "activeTableTab"; <!-- --> </a> <h3>Method Detail</h3> -<a name="setConnection-int-jcgp.backend.population.Connection-"> +<a name="mutate--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>setConnection</h4> -<pre>void setConnection(int index, - <a href="../../../jcgp/backend/population/Connection.html" title="interface in jcgp.backend.population">Connection</a> newConnection)</pre> -<div class="block">This method sets the indexed connection to the specified new connection. - Implementing classes may choose to ignore the given index (such as in the - case of outputs, which only have one connection).</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>index</code> - the connection index to set.</dd> -<dd><code>newConnection</code> - the chromosome element to connect to.</dd> -</dl> +<h4>mutate</h4> +<pre>void mutate()</pre> +<div class="block">This method performs an arbitrary mutation on the <code>Mutable</code>. + <br><br> + In the case of nodes, this chooses to mutate a function or connection + fairly, and carries out the required mutation by using the node's own + reference to chromosome. + <br><br> + In the case of outputs, this simply picks a random connection to serve + as the source - any connection is allowed.</div> </li> </ul> <a name="copyOf-jcgp.backend.population.Mutable-"> |