Empirical
|
#include <DataNode.h>
Public Member Functions | |
DataNodeModule () | |
void | AddPull (const std::function< VAL_TYPE()> &fun) |
void | AddPullSet (const std::function< emp::vector< VAL_TYPE >()> &fun) |
void | PrintDebug (std::ostream &os=std::cout) |
Protected Types | |
using | this_t = DataNodeModule< VAL_TYPE, data::Pull, MODS... > |
using | parent_t = DataNodeModule< VAL_TYPE, MODS... > |
using | base_t = DataNodeModule< VAL_TYPE > |
Protected Member Functions | |
void | PullData_impl () |
Protected Attributes | |
emp::FunctionSet< VAL_TYPE()> | pull_funs |
Functions to pull data. More... | |
emp::FunctionSet< emp::vector< VAL_TYPE >)> | pull_set_funs |
Functions to pull sets of data. More... | |
== data::Pull == This module makes it possible to give the DataNode a function that it can call to calculate new values or sets of values that it will then track. These functions are called every time the PullData method is called on this node, and the values they return are measured as specified by the other modules in this node.
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
protected |
Functions to pull data.
|
protected |
Functions to pull sets of data.