Skip to content

BrainInfomation

Clifford Bohm edited this page Jan 24, 2021 · 1 revision

Brain Tools are a collection of functions that wrap other low-level entropy and time series functions. These are provided to make the most commonly used operations more accessible.

BrainTools exist in the BRAINTOOLS:: namespace. To use brain tools functions and objects:

BRAINTOOLS::getR(brain,WorldState);

Brain Tool Functions

saveStateToState takes a brain, a rule to discritize the brains states and a file name and saves a state to state network graph to the file.

void saveStateToState(std::shared_ptr<AbstractBrain> brain, std::string(fileName), TS::RemapRules remapRule = TS::RemapRules::BIT, std::vector<double> ruleParameter = { -1.0 });

getR takes a brain and a WorldState time series and returns R

double getR(std::shared_ptr<AbstractBrain> brain, TS::intTimeSeries worldFeatures, TS::RemapRules remapRule = TS::RemapRules::BIT, std::vector<double> ruleParameter = { -1.0 });
Clone this wiki locally