git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
116 lines
8.7 KiB
HTML
116 lines
8.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>EO: ParseTree</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.3.9.1 -->
|
|
<div class="qindex"> <form class="search" action="search.php" method="get">
|
|
<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
|
|
<h1>ParseTree</h1>Various functions for tree-based Genetic Programming.
|
|
<a href="#_details">More...</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_parse_tree.html">eoParseTree< FType, Node ></a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Implementation of parse-tree for genetic programming. <a href="classeo_parse_tree.html#_details">More...</a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_parse_tree_depth_init.html">eoParseTreeDepthInit< FType, Node ></a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">eoParseTreeDepthInit : the initializer class for <a class="el" href="classeo_parse_tree.html">eoParseTree</a> <a href="classeo_parse_tree_depth_init.html#_details">More...</a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_subtree_x_over.html">eoSubtreeXOver< FType, Node ></a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">eoSubtreeXOver --> subtree xover <a href="classeo_subtree_x_over.html#_details">More...</a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_branch_mutation.html">eoBranchMutation< FType, Node ></a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">eoBranchMutation --> replace a subtree with a randomly created subtree <a href="classeo_branch_mutation.html#_details">More...</a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_point_mutation.html">eoPointMutation< FType, Node ></a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">eoPointMutation --> replace a Node with a Node of the same arity <a href="classeo_point_mutation.html#_details">More...</a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_expansion_mutation.html">eoExpansionMutation< FType, Node ></a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">eoExpansionMutation --> replace a terminal with a randomly created subtree <a href="classeo_expansion_mutation.html#_details">More...</a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_collapse_subtree_mutation.html">eoCollapseSubtreeMutation< FType, Node ></a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">eoCollapseSubtree --> replace a subtree with a randomly chosen terminal <a href="classeo_collapse_subtree_mutation.html#_details">More...</a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_hoist_mutation.html">eoHoistMutation< FType, Node ></a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">eoHoistMutation --> replace the individual with one of its subtree's <a href="classeo_hoist_mutation.html#_details">More...</a><br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
<tr><td class="memTemplParams" nowrap colspan="2">template<class FType, class Node> </td></tr>
|
|
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group___parse_tree.html#ga0">eoInitRampedHalfAndHalf</a> (<a class="el" href="classeo_pop.html">eoPop</a>< <a class="el" href="classeo_parse_tree.html">eoParseTree</a>< FType, Node > > &pop, unsigned int population_size, unsigned int init_max_depth, std::vector< Node > &initializor)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">A template function for ramped half and half initialization of an <a class="el" href="classeo_parse_tree.html">eoParseTree</a> population. <a href="#ga0"></a><br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
Various functions for tree-based Genetic Programming.
|
|
<p>
|
|
<hr><h2>Function Documentation</h2>
|
|
<a class="anchor" name="ga0" doxytag="eoParseTreeDepthInit.h::eoInitRampedHalfAndHalf"></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" colspan="4">
|
|
template<class FType, class Node> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap valign="top">void eoInitRampedHalfAndHalf </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classeo_pop.html">eoPop</a>< <a class="el" href="classeo_parse_tree.html">eoParseTree</a>< FType, Node > > & </td>
|
|
<td class="mdname" nowrap> <em>pop</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>unsigned int </td>
|
|
<td class="mdname" nowrap> <em>population_size</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>unsigned int </td>
|
|
<td class="mdname" nowrap> <em>init_max_depth</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>std::vector< Node > & </td>
|
|
<td class="mdname" nowrap> <em>initializor</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
A template function for ramped half and half initialization of an <a class="el" href="classeo_parse_tree.html">eoParseTree</a> population.
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>pop</em> </td><td>the population to be created </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>population_size</em> </td><td>the size of the population to be created </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>init_max_depth</em> </td><td>the initial maximum tree depth </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>initializor</em> </td><td>A std::vector containing the possible nodes </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_parse_tree_depth_init_8h-source.html#l00179">179</a> of file <a class="el" href="eo_parse_tree_depth_init_8h-source.html">eoParseTreeDepthInit.h</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:07:01 2006 for EO by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
|
|
</body>
|
|
</html>
|