source: cpp/geno_fx/html/geno__ftest_8h-source.html @ 176

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

added geno_fx, a base class for genetic operations on genotypes

File size: 3.6 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.h Source File</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.h</h1><a href="geno__ftest_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// This file is a part of Framsticks GenoFX library.</span>
1000002 <span class="comment">// Copyright (C) 2002  Maciej Komosinski.  See LICENSE.txt for details.</span>
1100003 <span class="comment">// Refer to http://www.frams.alife.pl/ for further information.</span>
1200004
1300005 <span class="preprocessor">#ifndef _GENO_FTEST_H_</span>
1400006 <span class="preprocessor"></span><span class="preprocessor">#define _GENO_FTEST_H_</span>
1500007 <span class="preprocessor"></span>
1600008 <span class="preprocessor">#include "param.h"</span>
1700009 <span class="preprocessor">#include "sstring.h"</span>
1800010 <span class="preprocessor">#include "<a class="code" href="geno__fx_8h.html">geno_fx.h</a>"</span>
1900011
2000014
2100015
22<a name="l00026"></a><a class="code" href="classGeno__ftest.html">00026</a> <span class="keyword">class </span><a class="code" href="classGeno__ftest.html">Geno_ftest</a> : <span class="keyword">public</span> <a class="code" href="classGeno__fx.html">Geno_fx</a>
2300027 {
2400028  <span class="keyword">public</span>:
2500029    <a class="code" href="classGeno__ftest.html">Geno_ftest</a>();
2600030    <span class="keywordtype">int</span> <a class="code" href="classGeno__ftest.html#a1">checkValidity</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *);
2700031    <span class="keywordtype">int</span> <a class="code" href="classGeno__ftest.html#a2">validate</a>(<span class="keywordtype">char</span> *&amp;);
2800032    <span class="keywordtype">int</span> <a class="code" href="classGeno__ftest.html#a3">mutate</a>(<span class="keywordtype">char</span> *&amp;g,<span class="keywordtype">float</span>&amp; chg);
2900033    <span class="keywordtype">int</span> <a class="code" href="classGeno__ftest.html#a4">crossOver</a>(<span class="keywordtype">char</span> *&amp;g1,<span class="keywordtype">char</span> *&amp;g2,<span class="keywordtype">float</span>&amp; chg1,<span class="keywordtype">float</span>&amp; chg2);
3000034    <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classGeno__ftest.html#a5">style</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *g, <span class="keywordtype">int</span> pos);
3100035    <span class="keywordtype">char</span>* <a class="code" href="classGeno__fx.html#a5">getSimplest</a>() {<span class="keywordflow">return</span> <span class="stringliteral">"GTTCAGATC"</span>;}
3200036
3300037    <span class="keywordtype">double</span> prob;
3400038 };
3500039
3600040 <span class="preprocessor">#endif</span>
3700041 <span class="preprocessor"></span>
38</pre></div><hr><address style="align: right;"><small>Generated on Sun Sep 15 00:58:39 2002 for Framsticks GenoFX by
39<a href="http://www.doxygen.org/index.html">
40<img src="doxygen.png" alt="doxygen" align="middle" border=0
41width=110 height=53></a>1.2.17 </small></address>
42</body>
43</html>
Note: See TracBrowser for help on using the repository browser.