source: cpp/geno_fx/html/classGeno__ftest.html @ 3

Last change on this file since 3 was 3, checked in by Maciej Komosinski, 16 years ago

added geno_fx, a base class for genetic operations on genotypes

File size: 4.2 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>Geno_ftest class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5</head><body>
6<!-- Generated by Doxygen 1.2.17 -->
7<center>
8<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
9<hr><h1>Geno_ftest Class Reference</h1>A sample class for genetic operations on DNA-like genotypes.
10<a href="#_details">More...</a>
11<p>
12<p>Inheritance diagram for Geno_ftest:
13<p><center><img src="classGeno__ftest.png" usemap="#Geno_ftest_map" border="0" alt=""></center>
14<map name="Geno_ftest_map">
15<area href="classGeno__fx.html" alt="Geno_fx" shape="rect" coords="0,0,72,24">
16</map>
17<a href="classGeno__ftest-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
18<tr><td></td></tr>
19<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
20<tr><td nowrap align=right valign=top><a name="a0" doxytag="Geno_ftest::Geno_ftest"></a>
21&nbsp;</td><td valign=bottom><b>Geno_ftest</b> ()</td></tr>
22<tr><td nowrap align=right valign=top><a name="a1" doxytag="Geno_ftest::checkValidity"></a>
23int&nbsp;</td><td valign=bottom><a class="el" href="classGeno__ftest.html#a1">checkValidity</a> (const char *)</td></tr>
24<tr><td>&nbsp;</td><td><font size=-1><em>The only letters allowed are A,T,G,C.</em></font><br><br></td></tr>
25<tr><td nowrap align=right valign=top><a name="a2" doxytag="Geno_ftest::validate"></a>
26int&nbsp;</td><td valign=bottom><a class="el" href="classGeno__ftest.html#a2">validate</a> (char *&amp;)</td></tr>
27<tr><td>&nbsp;</td><td><font size=-1><em>Remove all invalid letters from the genotype.</em></font><br><br></td></tr>
28<tr><td nowrap align=right valign=top><a name="a3" doxytag="Geno_ftest::mutate"></a>
29int&nbsp;</td><td valign=bottom><a class="el" href="classGeno__ftest.html#a3">mutate</a> (char *&amp;g, float &amp;chg)</td></tr>
30<tr><td>&nbsp;</td><td><font size=-1><em>Very simple mutation.</em></font><br><br></td></tr>
31<tr><td nowrap align=right valign=top><a name="a4" doxytag="Geno_ftest::crossOver"></a>
32int&nbsp;</td><td valign=bottom><a class="el" href="classGeno__ftest.html#a4">crossOver</a> (char *&amp;g1, char *&amp;g2, float &amp;chg1, float &amp;chg2)</td></tr>
33<tr><td>&nbsp;</td><td><font size=-1><em>A simple one-point crossover.</em></font><br><br></td></tr>
34<tr><td nowrap align=right valign=top><a name="a5" doxytag="Geno_ftest::style"></a>
35unsigned long&nbsp;</td><td valign=bottom><a class="el" href="classGeno__ftest.html#a5">style</a> (const char *g, int pos)</td></tr>
36<tr><td>&nbsp;</td><td><font size=-1><em>Applying some colors and font styles...</em></font><br><br></td></tr>
37<tr><td nowrap align=right valign=top><a name="a6" doxytag="Geno_ftest::getSimplest"></a>
38char *&nbsp;</td><td valign=bottom><b>getSimplest</b> ()</td></tr>
39<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
40<tr><td nowrap align=right valign=top><a name="m0" doxytag="Geno_ftest::prob"></a>
41double&nbsp;</td><td valign=bottom><b>prob</b></td></tr>
42</table>
43<hr><a name="_details"></a><h2>Detailed Description</h2>
44A sample class for genetic operations on DNA-like genotypes.
45<p>
46<dl compact><dt><b>Author: </b></dt><dd>
47Maciej Komosinski</dl>This is a very simple class to illustrate basic genetic operations. To compile this code, you may need some GDK files. For a more sophisticated example of Geno_f4 derived from <a class="el" href="classGeno__fx.html">Geno_fx</a>, refer to the available source on developmental encoding and f4 genotype format.
48<p>
49<dl compact><dt><b>See also: </b></dt><dd>
50<a class="el" href="geno__ftest_8cpp.html#geno_ftest_example">geno_ftest_example</a> </dl>
51<p>
52<hr><address style="align: right;"><small>Generated on Sun Sep 15 00:58:40 2002 for Framsticks GenoFX by
53<a href="http://www.doxygen.org/index.html">
54<img src="doxygen.png" alt="doxygen" align="middle" border=0
55width=110 height=53></a>1.2.17 </small></address>
56</body>
57</html>
Note: See TracBrowser for help on using the repository browser.