GEP::ExpressionTree< Type > Class Template Reference

#include <ExpressionTree.h>

Collaboration diagram for GEP::ExpressionTree< Type >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExpressionTree ()
 ExpressionTree (const Chromosome< Type > *chromo)
 ExpressionTree (const ExpressionTree &cet)
 ~ExpressionTree ()
Type result ()
size_t getSize ()
std::string printGeneET (const u_short &gidx)

Public Attributes

std::string footprint

Private Member Functions

Node< Type > * getGeneHead (const Chromosome< Type > *chromo, const u_short &gidx)
Node< Type > * getTheHead (const Chromosome< Type > *chromo)
void appendNodePointer (u_short gidx, short element)

Private Attributes

std::vector< std::vector< Node
< Type > * > > 
_nodes
std::vector< Node< Type > * > _geneLinks
Node< Type > * _theHead

Static Private Attributes

static std::vector< oneArg
< Type > * > & 
_ref_oneArgFunctions
static std::vector< twoArg
< Type > * > & 
_ref_twoArgFunctions
static std::vector< Type > & _ref_terminals

template<class Type>
class GEP::ExpressionTree< Type >


Constructor & Destructor Documentation

template<class Type >
GEP::ExpressionTree< Type >::ExpressionTree (  )  [inline]
template<class Type >
GEP::ExpressionTree< Type >::ExpressionTree ( const Chromosome< Type > *  chromo  )  [inline]
template<class Type >
GEP::ExpressionTree< Type >::ExpressionTree ( const ExpressionTree< Type > &  cet  ) 
template<class Type >
GEP::ExpressionTree< Type >::~ExpressionTree (  )  [inline]

Member Function Documentation

template<class Type >
void GEP::ExpressionTree< Type >::appendNodePointer ( u_short  gidx,
short  element 
) [inline, private]
template<class Type >
Node< Type > * GEP::ExpressionTree< Type >::getGeneHead ( const Chromosome< Type > *  chromo,
const u_short &  gidx 
) [inline, private]
template<class Type >
size_t GEP::ExpressionTree< Type >::getSize (  )  [inline]
template<class Type >
Node<Type>* GEP::ExpressionTree< Type >::getTheHead ( const Chromosome< Type > *  chromo  )  [private]
template<class Type >
std::string GEP::ExpressionTree< Type >::printGeneET ( const u_short &  gidx  )  [inline]
template<class Type >
Type GEP::ExpressionTree< Type >::result (  )  [inline]

Member Data Documentation

template<class Type >
std::vector<Node<Type> *> GEP::ExpressionTree< Type >::_geneLinks [private]
template<class Type >
std::vector< std::vector<Node<Type> *> > GEP::ExpressionTree< Type >::_nodes [private]
template<class Type >
std::vector< oneArg< Type > * > & GEP::ExpressionTree< Type >::_ref_oneArgFunctions [inline, static, private]
template<class Type >
std::vector< Type > & GEP::ExpressionTree< Type >::_ref_terminals [inline, static, private]
template<class Type >
std::vector< twoArg< Type > * > & GEP::ExpressionTree< Type >::_ref_twoArgFunctions [inline, static, private]
template<class Type >
Node<Type>* GEP::ExpressionTree< Type >::_theHead [private]
template<class Type >
std::string GEP::ExpressionTree< Type >::footprint

The documentation for this class was generated from the following file:

Generated on Fri Dec 11 22:28:17 2009 for LibGEP by  doxygen 1.6.1