Public Member Functions | Protected Attributes

Tree::Primitives::ERCD Class Reference

Ephemereal random constant (ERC) node of type double (Tree genotype). More...

#include <Terminal.h>

Inheritance diagram for Tree::Primitives::ERCD:
Tree::Primitives::ERC< double > Tree::Primitives::Primitive

List of all members.

Public Member Functions

bool initialize (StateP state)
 Initialize ERC value(s). Read given values from config and store in vector.
PrimitiveP assignToNode (PrimitiveP primitive)
 Create (or choose) new unique ERC value and assign to tree node.

Protected Attributes

bool useInterval_

Detailed Description

Ephemereal random constant (ERC) node of type double (Tree genotype).

Possible values may be defined with the interval [x y] or with a set {a b c ...}

Definition at line 179 of file Terminal.h.


Member Function Documentation

PrimitiveP Tree::Primitives::ERCD::assignToNode ( PrimitiveP  primitive  )  [inline, virtual]

Create (or choose) new unique ERC value and assign to tree node.

Parameters:
pointer to destination

Reimplemented from Tree::Primitives::ERC< double >.

Definition at line 205 of file Terminal.h.


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