#include <gp/eoParseTreeDepthInit.h>
Inheritance diagram for eoParseTreeDepthInit< FType, Node >:

Public Types | |
|
typedef eoParseTree< FType, Node > | EoType |
Public Member Functions | |
| eoParseTreeDepthInit (unsigned _max_depth, const std::vector< Node > &_initializor, bool _grow=true, bool _ramped_half_and_half=false) | |
| Constructor. | |
| virtual std::string | className () const |
| My class name. | |
| void | operator() (EoType &_tree) |
| initialize a tree | |
Private Member Functions | |
| void | generate (std::list< Node > &sequence, int the_max, int last_terminal=-1) |
Private Attributes | |
| unsigned | max_depth |
| std::vector< Node > | initializor |
| bool | grow |
| bool | ramped_half_and_half |
| unsigned | current_depth |
Definition at line 48 of file eoParseTreeDepthInit.h.
|
||||||||||||||||||||||||
|
Constructor. _max_depth The maximum depth of a tree
Definition at line 69 of file eoParseTreeDepthInit.h. |
|
||||||||||
|
initialize a tree
Definition at line 96 of file eoParseTreeDepthInit.h. |
1.3.9.1