Sym Class Reference

Inheritance diagram for Sym:

EoSym< Fitness > List of all members.

Public Member Functions

 Sym ()
 Sym (token_t token, const SymVec &args)
 Sym (token_t token, const Sym &args)
 Sym (token_t var)
 Sym (SymIterator it)
 Sym (const Sym &oth)
 ~Sym ()
const Symoperator= (const Sym &oth)
UniqueNodeStatsextra_stats () const
int hashcode () const
unsigned refcount () const
bool operator== (const Sym &other) const
bool operator!= (const Sym &other) const
bool empty () const
unsigned arity () const
token_t token () const
const SymVec & args () const
unsigned size () const
unsigned depth () const
SymMap::iterator iterator () const
unsigned address () const

Static Public Member Functions

static SymMap & get_dag ()
static void set_factory_function (UniqueNodeStats *(*f)(const Sym &))
static void clear_factory_function ()
static const std::vector<
unsigned > & 
token_refcount ()

Private Member Functions

Sym private_get (size_t w) const
unsigned __unchecked_refcount () const
void incref ()
void decref ()

Private Attributes

SymIterator node

Static Private Attributes

static SymMap dag
static std::vector< unsigned > token_count
static UniqueNodeStats *(* factory )(const Sym &)

Friends

struct detail::SymKey::Hash
struct detail::SymKey

Detailed Description

Definition at line 53 of file Sym.h.


The documentation for this class was generated from the following file:
Generated on Thu Apr 19 11:02:34 2007 for EO by  doxygen 1.4.7