source: cpp/geno_fx/html/geno__fx_8h.html @ 97

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

added geno_fx, a base class for genetic operations on genotypes

File size: 6.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_fx.h File 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_fx.h File Reference</h1>
10<p>
11<a href="geno__fx_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
12<tr><td></td></tr>
13<tr><td colspan=2><br><h2>Compounds</h2></td></tr>
14<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGeno__fx.html">Geno_fx</a></td></tr>
15<tr><td>&nbsp;</td><td><font size=-1><em>Base class for genetic operations on genotypes of some genetic format.</em> <a href="classGeno__fx.html#_details">More...</a><em></em></font><br><br></td></tr>
16<tr><td colspan=2><br><h2>Return codes for genetic operators</h2></td></tr>
17<tr><td nowrap align=right valign=top><a name="a0" doxytag="geno_fx.h::GENOPER_OK"></a>
18#define&nbsp;</td><td valign=bottom><a class="el" href="geno__fx_8h.html#a0">GENOPER_OK</a>&nbsp;&nbsp;&nbsp;0</td></tr>
19<tr><td>&nbsp;</td><td><font size=-1><em>operation successful</em></font><br><br></td></tr>
20<tr><td nowrap align=right valign=top><a name="a1" doxytag="geno_fx.h::GENOPER_OPFAIL"></a>
21#define&nbsp;</td><td valign=bottom><a class="el" href="geno__fx_8h.html#a1">GENOPER_OPFAIL</a>&nbsp;&nbsp;&nbsp;-1</td></tr>
22<tr><td>&nbsp;</td><td><font size=-1><em>operation failed or could not be completed</em></font><br><br></td></tr>
23<tr><td nowrap align=right valign=top><a name="a2" doxytag="geno_fx.h::GENOPER_REPAIR"></a>
24#define&nbsp;</td><td valign=bottom><a class="el" href="geno__fx_8h.html#a2">GENOPER_REPAIR</a>&nbsp;&nbsp;&nbsp;-2</td></tr>
25<tr><td>&nbsp;</td><td><font size=-1><em>do not use in <a class="el" href="classGeno__fx.html">Geno_fx</a>. GenMan uses it in checkValidity()... but will not. only f4 uses it</em></font><br><br></td></tr>
26<tr><td nowrap align=right valign=top><a name="a3" doxytag="geno_fx.h::GENOPER_NOOPER"></a>
27#define&nbsp;</td><td valign=bottom><a class="el" href="geno__fx_8h.html#a3">GENOPER_NOOPER</a>&nbsp;&nbsp;&nbsp;-3</td></tr>
28<tr><td>&nbsp;</td><td><font size=-1><em>do not use in <a class="el" href="classGeno__fx.html">Geno_fx</a>. GenMan uses it for "no suitable operator for this genotype format"</em></font><br><br></td></tr>
29<tr><td colspan=2><br><h2>gene/character predefined styles (for style() method)</h2></td></tr>
30<tr><td nowrap align=right valign=top><a name="a4" doxytag="geno_fx.h::GENSTYLE_NONE"></a>
31#define&nbsp;</td><td valign=bottom><a class="el" href="geno__fx_8h.html#a4">GENSTYLE_NONE</a>&nbsp;&nbsp;&nbsp;0</td></tr>
32<tr><td>&nbsp;</td><td><font size=-1><em>no style specified (=normal font)</em></font><br><br></td></tr>
33<tr><td nowrap align=right valign=top><a name="a5" doxytag="geno_fx.h::GENSTYLE_INVALID"></a>
34#define&nbsp;</td><td valign=bottom><a class="el" href="geno__fx_8h.html#a5">GENSTYLE_INVALID</a>&nbsp;&nbsp;&nbsp;1</td></tr>
35<tr><td>&nbsp;</td><td><font size=-1><em>this char cannot be accepted</em></font><br><br></td></tr>
36<tr><td nowrap align=right valign=top><a name="a6" doxytag="geno_fx.h::GENSTYLE_BOLD"></a>
37#define&nbsp;</td><td valign=bottom><a class="el" href="geno__fx_8h.html#a6">GENSTYLE_BOLD</a>&nbsp;&nbsp;&nbsp;2</td></tr>
38<tr><td>&nbsp;</td><td><font size=-1><em>bold</em></font><br><br></td></tr>
39<tr><td nowrap align=right valign=top><a name="a7" doxytag="geno_fx.h::GENSTYLE_ITALIC"></a>
40#define&nbsp;</td><td valign=bottom><a class="el" href="geno__fx_8h.html#a7">GENSTYLE_ITALIC</a>&nbsp;&nbsp;&nbsp;4</td></tr>
41<tr><td>&nbsp;</td><td><font size=-1><em>italic</em></font><br><br></td></tr>
42<tr><td nowrap align=right valign=top><a name="a8" doxytag="geno_fx.h::GENSTYLE_STRIKEOUT"></a>
43#define&nbsp;</td><td valign=bottom><a class="el" href="geno__fx_8h.html#a8">GENSTYLE_STRIKEOUT</a>&nbsp;&nbsp;&nbsp;8</td></tr>
44<tr><td>&nbsp;</td><td><font size=-1><em>strikeout (not recommended)</em></font><br><br></td></tr>
45<tr><td colspan=2><br><h2>other useful style/color macros</h2></td></tr>
46<tr><td nowrap align=right valign=top><a name="a9" doxytag="geno_fx.h::GENRGB"></a>
47#define&nbsp;</td><td valign=bottom><b>GENRGB</b>(r, g, b)&nbsp;&nbsp;&nbsp;((unsigned long)(((unsigned char)(r)|((unsigned short)((unsigned char)(g))&lt;&lt;8))|(((unsigned long)(unsigned char)(b))&lt;&lt;16)))</td></tr>
48<tr><td nowrap align=right valign=top><a name="a10" doxytag="geno_fx.h::GENSTYLE_RGBS"></a>
49#define&nbsp;</td><td valign=bottom><b>GENSTYLE_RGBS</b>(r, g, b, s)&nbsp;&nbsp;&nbsp;((unsigned long)((unsigned char)s)&lt;&lt;24 | GENRGB(r,g,b))</td></tr>
50<tr><td nowrap align=right valign=top><a name="a11" doxytag="geno_fx.h::GENSTYLE_CS"></a>
51#define&nbsp;</td><td valign=bottom><b>GENSTYLE_CS</b>(rgb, s)&nbsp;&nbsp;&nbsp;((unsigned long)((unsigned char)s)&lt;&lt;24 | rgb)</td></tr>
52<tr><td nowrap align=right valign=top><a name="a12" doxytag="geno_fx.h::GENGETSTYLE"></a>
53#define&nbsp;</td><td valign=bottom><b>GENGETSTYLE</b>(style)&nbsp;&nbsp;&nbsp;((style)&gt;&gt;24)</td></tr>
54<tr><td nowrap align=right valign=top><a name="a13" doxytag="geno_fx.h::GENGETCOLOR"></a>
55#define&nbsp;</td><td valign=bottom><b>GENGETCOLOR</b>(style)&nbsp;&nbsp;&nbsp;((style)&amp;0x00ffffff)</td></tr>
56<tr><td nowrap align=right valign=top><a name="a14" doxytag="geno_fx.h::GENCOLOR_TEXT"></a>
57#define&nbsp;</td><td valign=bottom><a class="el" href="geno__fx_8h.html#a14">GENCOLOR_TEXT</a>&nbsp;&nbsp;&nbsp;GENRGB(0,0,0)</td></tr>
58<tr><td>&nbsp;</td><td><font size=-1><em>recommended color to use for text genes</em></font><br><br></td></tr>
59<tr><td nowrap align=right valign=top><a name="a15" doxytag="geno_fx.h::GENCOLOR_NUMBER"></a>
60#define&nbsp;</td><td valign=bottom><a class="el" href="geno__fx_8h.html#a15">GENCOLOR_NUMBER</a>&nbsp;&nbsp;&nbsp;GENRGB(200,0,0)</td></tr>
61<tr><td>&nbsp;</td><td><font size=-1><em>recommended color to use for number genes</em></font><br><br></td></tr>
62</table>
63<hr><a name="_details"></a><h2>Detailed Description</h2>
64
65<p>
66<hr><address style="align: right;"><small>Generated on Sun Sep 15 00:58:40 2002 for Framsticks GenoFX by
67<a href="http://www.doxygen.org/index.html">
68<img src="doxygen.png" alt="doxygen" align="middle" border=0
69width=110 height=53></a>1.2.17 </small></address>
70</body>
71</html>
Note: See TracBrowser for help on using the repository browser.