diff options
Diffstat (limited to 'doc/jcgp/backend/population/class-use')
7 files changed, 258 insertions, 27 deletions
diff --git a/doc/jcgp/backend/population/class-use/Chromosome.html b/doc/jcgp/backend/population/class-use/Chromosome.html index 4245432..934c1e4 100644 --- a/doc/jcgp/backend/population/class-use/Chromosome.html +++ b/doc/jcgp/backend/population/class-use/Chromosome.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_05) on Tue May 06 14:28:07 BST 2014 --> +<!-- Generated by javadoc (1.8.0_05) on Mon May 12 23:05:45 BST 2014 --> <title>Uses of Class jcgp.backend.population.Chromosome</title> -<meta name="date" content="2014-05-06"> +<meta name="date" content="2014-05-12"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -153,6 +153,13 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> +<td class="colLast"><span class="typeNameLabel">ChromosomeParser.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/parsers/ChromosomeParser.html#print-jcgp.backend.population.Chromosome-jcgp.backend.resources.Resources-">print</a></span>(<a href="../../../../jcgp/backend/population/Chromosome.html" title="class in jcgp.backend.population">Chromosome</a> chromosome, + <a href="../../../../jcgp/backend/resources/Resources.html" title="class in jcgp.backend.resources">Resources</a> resources)</code> +<div class="block">Writes a chromosome to the console in .chr format.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> <td class="colLast"><span class="typeNameLabel">ChromosomeParser.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/parsers/ChromosomeParser.html#save-java.io.File-jcgp.backend.population.Chromosome-jcgp.backend.resources.Resources-">save</a></span>(java.io.File file, <a href="../../../../jcgp/backend/population/Chromosome.html" title="class in jcgp.backend.population">Chromosome</a> chromosome, <a href="../../../../jcgp/backend/resources/Resources.html" title="class in jcgp.backend.resources">Resources</a> resources)</code> diff --git a/doc/jcgp/backend/population/class-use/Connection.html b/doc/jcgp/backend/population/class-use/Connection.html index ab91d1e..ef3fb49 100644 --- a/doc/jcgp/backend/population/class-use/Connection.html +++ b/doc/jcgp/backend/population/class-use/Connection.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_05) on Tue May 06 14:28:07 BST 2014 --> +<!-- Generated by javadoc (1.8.0_05) on Mon May 12 23:05:45 BST 2014 --> <title>Uses of Interface jcgp.backend.population.Connection</title> -<meta name="date" content="2014-05-06"> +<meta name="date" content="2014-05-12"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -174,18 +174,18 @@ </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="typeNameLabel">Output.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/population/Output.html#setConnection-int-jcgp.backend.population.Connection-">setConnection</a></span>(int index, +<td class="colLast"><span class="typeNameLabel">Mutable.</span><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">When mutating an output, the index parameter - is simply ignored and the output source is - set.</div> +<div class="block">This method sets the indexed connection to the specified new connection.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="typeNameLabel">Mutable.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/population/Mutable.html#setConnection-int-jcgp.backend.population.Connection-">setConnection</a></span>(int index, +<td class="colLast"><span class="typeNameLabel">Output.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/population/Output.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> +<div class="block">When mutating an output, the index parameter + is simply ignored and the output source is + set.</div> </td> </tr> </tbody> diff --git a/doc/jcgp/backend/population/class-use/Input.html b/doc/jcgp/backend/population/class-use/Input.html index 61c38ce..95aa7f2 100644 --- a/doc/jcgp/backend/population/class-use/Input.html +++ b/doc/jcgp/backend/population/class-use/Input.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_05) on Tue May 06 14:28:07 BST 2014 --> +<!-- Generated by javadoc (1.8.0_05) on Mon May 12 23:05:45 BST 2014 --> <title>Uses of Class jcgp.backend.population.Input</title> -<meta name="date" content="2014-05-06"> +<meta name="date" content="2014-05-12"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> diff --git a/doc/jcgp/backend/population/class-use/Mutable.html b/doc/jcgp/backend/population/class-use/Mutable.html new file mode 100644 index 0000000..bfa8719 --- /dev/null +++ b/doc/jcgp/backend/population/class-use/Mutable.html @@ -0,0 +1,228 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_05) on Mon May 12 23:05:45 BST 2014 --> +<title>Uses of Interface jcgp.backend.population.Mutable</title> +<meta name="date" content="2014-05-12"> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Uses of Interface jcgp.backend.population.Mutable"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="../package-summary.html">Package</a></li> +<li><a href="../../../../jcgp/backend/population/Mutable.html" title="interface in jcgp.backend.population">Class</a></li> +<li class="navBarCell1Rev">Use</li> +<li><a href="../package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-files/index-1.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?jcgp/backend/population/class-use/Mutable.html" target="_top">Frames</a></li> +<li><a href="Mutable.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h2 title="Uses of Interface jcgp.backend.population.Mutable" class="title">Uses of Interface<br>jcgp.backend.population.Mutable</h2> +</div> +<div class="classUseContainer"> +<ul class="blockList"> +<li class="blockList"> +<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> +<caption><span>Packages that use <a href="../../../../jcgp/backend/population/Mutable.html" title="interface in jcgp.backend.population">Mutable</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Package</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="#jcgp.backend.population">jcgp.backend.population</a></td> +<td class="colLast"> </td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<ul class="blockList"> +<li class="blockList"><a name="jcgp.backend.population"> +<!-- --> +</a> +<h3>Uses of <a href="../../../../jcgp/backend/population/Mutable.html" title="interface in jcgp.backend.population">Mutable</a> in <a href="../../../../jcgp/backend/population/package-summary.html">jcgp.backend.population</a></h3> +<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> +<caption><span>Classes in <a href="../../../../jcgp/backend/population/package-summary.html">jcgp.backend.population</a> that implement <a href="../../../../jcgp/backend/population/Mutable.html" title="interface in jcgp.backend.population">Mutable</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><code>class </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../jcgp/backend/population/Node.html" title="class in jcgp.backend.population">Node</a></span></code> +<div class="block">Nodes make up the main part of the chromosome, + where the actual functions are evolved.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>class </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../jcgp/backend/population/Output.html" title="class in jcgp.backend.population">Output</a></span></code> +<div class="block">This is a chromosome output.</div> +</td> +</tr> +</tbody> +</table> +<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> +<caption><span>Methods in <a href="../../../../jcgp/backend/population/package-summary.html">jcgp.backend.population</a> that return <a href="../../../../jcgp/backend/population/Mutable.html" title="interface in jcgp.backend.population">Mutable</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../jcgp/backend/population/Mutable.html" title="interface in jcgp.backend.population">Mutable</a></code></td> +<td class="colLast"><span class="typeNameLabel">Chromosome.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/population/Chromosome.html#getRandomMutable--">getRandomMutable</a></span>()</code> +<div class="block">This method is useful for mutating chromosomes.</div> +</td> +</tr> +</tbody> +</table> +<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> +<caption><span>Methods in <a href="../../../../jcgp/backend/population/package-summary.html">jcgp.backend.population</a> with parameters of type <a href="../../../../jcgp/backend/population/Mutable.html" title="interface in jcgp.backend.population">Mutable</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><span class="typeNameLabel">Node.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/population/Node.html#copyOf-jcgp.backend.population.Mutable-">copyOf</a></span>(<a href="../../../../jcgp/backend/population/Mutable.html" title="interface in jcgp.backend.population">Mutable</a> element)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><span class="typeNameLabel">Mutable.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/population/Mutable.html#copyOf-jcgp.backend.population.Mutable-">copyOf</a></span>(<a href="../../../../jcgp/backend/population/Mutable.html" title="interface in jcgp.backend.population">Mutable</a> element)</code> +<div class="block">Asserts if the specified element is a copy of the elements + this is called on.<br> + This method returns true if and only if: + + the elements being compared are not the same instance; + the connections of the compared elements are not the same instance; + the elements have the same function (in the case of Node); + the grid position of the elements themselves are the same; + the grid position of all equivalent connections are the same; + + <br><br> + The relationship computed by this method is: + + symmetric: a.copyOf(b) == b.copyOf(a); + not reflexive: a.copyOf(a) returns false; + not transitive: if a.copyOf(b) is true and b.copyOf(c) is true, a.copyOf(c) is + not necessarily true since it is possible that a == c. + </div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><span class="typeNameLabel">Output.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/population/Output.html#copyOf-jcgp.backend.population.Mutable-">copyOf</a></span>(<a href="../../../../jcgp/backend/population/Mutable.html" title="interface in jcgp.backend.population">Mutable</a> m)</code> </td> +</tr> +</tbody> +</table> +</li> +</ul> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="../package-summary.html">Package</a></li> +<li><a href="../../../../jcgp/backend/population/Mutable.html" title="interface in jcgp.backend.population">Class</a></li> +<li class="navBarCell1Rev">Use</li> +<li><a href="../package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-files/index-1.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?jcgp/backend/population/class-use/Mutable.html" target="_top">Frames</a></li> +<li><a href="Mutable.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/doc/jcgp/backend/population/class-use/Node.html b/doc/jcgp/backend/population/class-use/Node.html index 6dd76ee..6c7f8af 100644 --- a/doc/jcgp/backend/population/class-use/Node.html +++ b/doc/jcgp/backend/population/class-use/Node.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_05) on Tue May 06 14:28:07 BST 2014 --> +<!-- Generated by javadoc (1.8.0_05) on Mon May 12 23:05:45 BST 2014 --> <title>Uses of Class jcgp.backend.population.Node</title> -<meta name="date" content="2014-05-06"> +<meta name="date" content="2014-05-12"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> diff --git a/doc/jcgp/backend/population/class-use/Output.html b/doc/jcgp/backend/population/class-use/Output.html index 19bd12a..f5ac04b 100644 --- a/doc/jcgp/backend/population/class-use/Output.html +++ b/doc/jcgp/backend/population/class-use/Output.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_05) on Tue May 06 14:28:07 BST 2014 --> +<!-- Generated by javadoc (1.8.0_05) on Mon May 12 23:05:45 BST 2014 --> <title>Uses of Class jcgp.backend.population.Output</title> -<meta name="date" content="2014-05-06"> +<meta name="date" content="2014-05-12"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> diff --git a/doc/jcgp/backend/population/class-use/Population.html b/doc/jcgp/backend/population/class-use/Population.html index d98d156..befa15f 100644 --- a/doc/jcgp/backend/population/class-use/Population.html +++ b/doc/jcgp/backend/population/class-use/Population.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_05) on Tue May 06 14:28:07 BST 2014 --> +<!-- Generated by javadoc (1.8.0_05) on Mon May 12 23:05:45 BST 2014 --> <title>Uses of Class jcgp.backend.population.Population</title> -<meta name="date" content="2014-05-06"> +<meta name="date" content="2014-05-12"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -179,7 +179,7 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> -<td class="colLast"><span class="typeNameLabel">SymbolicRegressionProblem.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/modules/problem/SymbolicRegressionProblem.html#hasImprovement-jcgp.backend.population.Population-">hasImprovement</a></span>(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</code> </td> +<td class="colLast"><span class="typeNameLabel">TestCaseProblem.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html#hasImprovement-jcgp.backend.population.Population-">hasImprovement</a></span>(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>abstract int</code></td> @@ -190,22 +190,18 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> -<td class="colLast"><span class="typeNameLabel">DigitalCircuitProblem.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/modules/problem/DigitalCircuitProblem.html#hasImprovement-jcgp.backend.population.Population-">hasImprovement</a></span>(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</code> </td> +<td class="colLast"><span class="typeNameLabel">SymbolicRegressionProblem.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/modules/problem/SymbolicRegressionProblem.html#hasPerfectSolution-jcgp.backend.population.Population-">hasPerfectSolution</a></span>(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</code> </td> </tr> <tr class="altColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><span class="typeNameLabel">SymbolicRegressionProblem.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/modules/problem/SymbolicRegressionProblem.html#perfectSolutionFound-jcgp.backend.population.Population-">perfectSolutionFound</a></span>(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</code> </td> -</tr> -<tr class="rowColor"> <td class="colFirst"><code>abstract int</code></td> -<td class="colLast"><span class="typeNameLabel">Problem.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/modules/problem/Problem.html#perfectSolutionFound-jcgp.backend.population.Population-">perfectSolutionFound</a></span>(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</code> +<td class="colLast"><span class="typeNameLabel">Problem.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/modules/problem/Problem.html#hasPerfectSolution-jcgp.backend.population.Population-">hasPerfectSolution</a></span>(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</code> <div class="block">Used to assert whether a given population contains a perfect solution to the problem.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>int</code></td> -<td class="colLast"><span class="typeNameLabel">DigitalCircuitProblem.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/modules/problem/DigitalCircuitProblem.html#perfectSolutionFound-jcgp.backend.population.Population-">perfectSolutionFound</a></span>(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</code> </td> +<td class="colLast"><span class="typeNameLabel">DigitalCircuitProblem.</span><code><span class="memberNameLink"><a href="../../../../jcgp/backend/modules/problem/DigitalCircuitProblem.html#hasPerfectSolution-jcgp.backend.population.Population-">hasPerfectSolution</a></span>(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</code> </td> </tr> </tbody> </table> |