aboutsummaryrefslogtreecommitdiffstats
path: root/doc/jcgp/backend/parsers/ChromosomeParser.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/jcgp/backend/parsers/ChromosomeParser.html')
-rw-r--r--doc/jcgp/backend/parsers/ChromosomeParser.html43
1 files changed, 34 insertions, 9 deletions
diff --git a/doc/jcgp/backend/parsers/ChromosomeParser.html b/doc/jcgp/backend/parsers/ChromosomeParser.html
index 14862f6..800c572 100644
--- a/doc/jcgp/backend/parsers/ChromosomeParser.html
+++ b/doc/jcgp/backend/parsers/ChromosomeParser.html
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (1.8.0_05) on Tue May 06 14:28:04 BST 2014 -->
+<!-- Generated by javadoc (1.8.0_05) on Mon May 12 23:05:42 BST 2014 -->
<title>ChromosomeParser</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":9,"i1":9};
+var methods = {"i0":9,"i1":9,"i2":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -162,6 +162,13 @@ extends java.lang.Object</pre>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><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>&nbsp;chromosome,
+ <a href="../../../jcgp/backend/resources/Resources.html" title="class in jcgp.backend.resources">Resources</a>&nbsp;resources)</code>
+<div class="block">Writes a chromosome to the console in .chr format.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>static void</code></td>
<td class="colLast"><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&nbsp;file,
<a href="../../../jcgp/backend/population/Chromosome.html" title="class in jcgp.backend.population">Chromosome</a>&nbsp;chromosome,
<a href="../../../jcgp/backend/resources/Resources.html" title="class in jcgp.backend.resources">Resources</a>&nbsp;resources)</code>
@@ -224,16 +231,16 @@ extends java.lang.Object</pre>
by CGP.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>file</code> - the .chr file to parse from</dd>
-<dd><code>chromosome</code> - the chromosome to configure</dd>
-<dd><code>resources</code> - the experiment resources</dd>
+<dd><code>file</code> - the .chr file to parse from.</dd>
+<dd><code>chromosome</code> - the chromosome to configure.</dd>
+<dd><code>resources</code> - the experiment resources.</dd>
</dl>
</li>
</ul>
<a name="save-java.io.File-jcgp.backend.population.Chromosome-jcgp.backend.resources.Resources-">
<!-- -->
</a>
-<ul class="blockListLast">
+<ul class="blockList">
<li class="blockList">
<h4>save</h4>
<pre>public static&nbsp;void&nbsp;save(java.io.File&nbsp;file,
@@ -245,8 +252,26 @@ extends java.lang.Object</pre>
be read by the original CGP implementation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>file</code> - the file to write to</dd>
-<dd><code>chromosome</code> - the chromosome to save</dd>
+<dd><code>file</code> - the file to write to.</dd>
+<dd><code>chromosome</code> - the chromosome to save.</dd>
+<dd><code>resources</code> - a reference to the experiment's resources.</dd>
+</dl>
+</li>
+</ul>
+<a name="print-jcgp.backend.population.Chromosome-jcgp.backend.resources.Resources-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>print</h4>
+<pre>public static&nbsp;void&nbsp;print(<a href="../../../jcgp/backend/population/Chromosome.html" title="class in jcgp.backend.population">Chromosome</a>&nbsp;chromosome,
+ <a href="../../../jcgp/backend/resources/Resources.html" title="class in jcgp.backend.resources">Resources</a>&nbsp;resources)</pre>
+<div class="block">Writes a chromosome to the console in .chr format. Note
+ that, if using a GUI console, that console must be flushed for the
+ output to appear.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>chromosome</code> - the chromosome to save.</dd>
<dd><code>resources</code> - a reference to the experiment's resources.</dd>
</dl>
</li>