diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-14 01:32:51 +0100 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-14 01:32:51 +0100 |
commit | c35a6806df01481c1b169cd0fc47660ea1cc10fb (patch) | |
tree | 7a9a90d88a9b962bcc091533997df798ac454423 /doc/jcgp/backend/modules/problem/DigitalCircuitProblem.html | |
parent | 95b4a9421923cec63b6e0e8f58972d146100bd0f (diff) |
Refactored Mutable, commented a little bit of the GUI package
Diffstat (limited to 'doc/jcgp/backend/modules/problem/DigitalCircuitProblem.html')
-rw-r--r-- | doc/jcgp/backend/modules/problem/DigitalCircuitProblem.html | 55 |
1 files changed, 13 insertions, 42 deletions
diff --git a/doc/jcgp/backend/modules/problem/DigitalCircuitProblem.html b/doc/jcgp/backend/modules/problem/DigitalCircuitProblem.html index d9d3011..21bdb2b 100644 --- a/doc/jcgp/backend/modules/problem/DigitalCircuitProblem.html +++ b/doc/jcgp/backend/modules/problem/DigitalCircuitProblem.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>DigitalCircuitProblem</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> @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10}; +var methods = {"i0":10,"i1":10,"i2":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -198,9 +198,9 @@ extends <a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html" </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>int</code></td> -<td class="colLast"><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> -<div class="block">Used to assert whether a given population has a chromosome that is an improvement over - the current best chromosome.</div> +<td class="colLast"><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> +<div class="block">Used to assert whether a given population contains a perfect solution + to the problem.</div> </td> </tr> <tr id="i2" class="altColor"> @@ -212,20 +212,13 @@ extends <a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html" test cases.</div> </td> </tr> -<tr id="i3" class="rowColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><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> -<div class="block">Used to assert whether a given population contains a perfect solution - to the problem.</div> -</td> -</tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.jcgp.backend.modules.problem.TestCaseProblem"> <!-- --> </a> <h3>Methods inherited from class jcgp.backend.modules.problem.<a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html" title="class in jcgp.backend.modules.problem">TestCaseProblem</a></h3> -<code><a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html#addTestCase-java.lang.String:A-java.lang.String:A-">addTestCase</a>, <a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html#clearTestCases--">clearTestCases</a>, <a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html#getTestCases--">getTestCases</a>, <a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html#parseProblemData-java.io.File-jcgp.backend.resources.ModifiableResources-">parseProblemData</a></code></li> +<code><a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html#addTestCase-java.lang.String:A-java.lang.String:A-">addTestCase</a>, <a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html#clearTestCases--">clearTestCases</a>, <a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html#getTestCases--">getTestCases</a>, <a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html#hasImprovement-jcgp.backend.population.Population-">hasImprovement</a>, <a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html#parseProblemData-java.io.File-jcgp.backend.resources.ModifiableResources-">parseProblemData</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.jcgp.backend.modules.problem.Problem"> @@ -338,21 +331,21 @@ extends <a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html" </dl> </li> </ul> -<a name="perfectSolutionFound-jcgp.backend.population.Population-"> +<a name="hasPerfectSolution-jcgp.backend.population.Population-"> <!-- --> </a> -<ul class="blockList"> +<ul class="blockListLast"> <li class="blockList"> -<h4>perfectSolutionFound</h4> -<pre>public int perfectSolutionFound(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</pre> -<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../jcgp/backend/modules/problem/Problem.html#perfectSolutionFound-jcgp.backend.population.Population-">Problem</a></code></span></div> +<h4>hasPerfectSolution</h4> +<pre>public int hasPerfectSolution(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../jcgp/backend/modules/problem/Problem.html#hasPerfectSolution-jcgp.backend.population.Population-">Problem</a></code></span></div> <div class="block">Used to assert whether a given population contains a perfect solution to the problem. It is up to the problem to define what qualifies a perfect solution, as some problems (subject ones such as music and art evolution, for example) might not have perfect solutions at all.</div> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> -<dd><code><a href="../../../../jcgp/backend/modules/problem/Problem.html#perfectSolutionFound-jcgp.backend.population.Population-">perfectSolutionFound</a></code> in class <code><a href="../../../../jcgp/backend/modules/problem/Problem.html" title="class in jcgp.backend.modules.problem">Problem</a></code></dd> +<dd><code><a href="../../../../jcgp/backend/modules/problem/Problem.html#hasPerfectSolution-jcgp.backend.population.Population-">hasPerfectSolution</a></code> in class <code><a href="../../../../jcgp/backend/modules/problem/Problem.html" title="class in jcgp.backend.modules.problem">Problem</a></code></dd> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>population</code> - the population to search through for a perfect chromosome.</dd> <dt><span class="returnLabel">Returns:</span></dt> @@ -360,28 +353,6 @@ extends <a href="../../../../jcgp/backend/modules/problem/TestCaseProblem.html" </dl> </li> </ul> -<a name="hasImprovement-jcgp.backend.population.Population-"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>hasImprovement</h4> -<pre>public int hasImprovement(<a href="../../../../jcgp/backend/population/Population.html" title="class in jcgp.backend.population">Population</a> population)</pre> -<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../jcgp/backend/modules/problem/Problem.html#hasImprovement-jcgp.backend.population.Population-">Problem</a></code></span></div> -<div class="block">Used to assert whether a given population has a chromosome that is an improvement over - the current best chromosome. A typical implementation of this method - will simply compare chromosome fitness values, though the problem type - is free to implement this in any way.</div> -<dl> -<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> -<dd><code><a href="../../../../jcgp/backend/modules/problem/Problem.html#hasImprovement-jcgp.backend.population.Population-">hasImprovement</a></code> in class <code><a href="../../../../jcgp/backend/modules/problem/Problem.html" title="class in jcgp.backend.modules.problem">Problem</a></code></dd> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>population</code> - the population potentially containing a fitter chromosome.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>the index of the first chromosome in the population that is an improvement, -1 if none is found.</dd> -</dl> -</li> -</ul> </li> </ul> </li> |