Ephemereal random constant (ERC) node of type double (Tree genotype). More...
#include <Terminal.h>
Public Member Functions | |
bool | initialize (StateP state) |
Initialize ERC value(s). | |
PrimitiveP | assignToNode (PrimitiveP primitive) |
Create (or choose) new unique ERC value and assign to tree node. | |
Protected Attributes | |
bool | useInterval_ |
Ephemereal random constant (ERC) node of type double (Tree genotype).
Possible values may be defined in the configuration with the interval [x y] or with a set {a b c ...}
Definition at line 188 of file Terminal.h.
PrimitiveP Tree::Primitives::ERCD::assignToNode | ( | PrimitiveP | primitive | ) | [inline, virtual] |
Create (or choose) new unique ERC value and assign to tree node.
pointer | to destination |
Reimplemented from Tree::Primitives::ERC< double >.
Definition at line 214 of file Terminal.h.
bool Tree::Primitives::ERCD::initialize | ( | StateP | state | ) | [inline, virtual] |
Initialize ERC value(s).
Read given values from config and store in vector.
Reimplemented from Tree::Primitives::ERC< double >.
Definition at line 191 of file Terminal.h.