void CTRNN::RandomizeCircuitOutput(double lb, double ub, RandomState &rs) { for (int i = 1; i <= size; i++) SetNeuronOutput(i, rs.UniformRandom(lb, ub)); }
void CTRNN::randomizeWeights(double lb, double ub, RandomState &rs) { for (int i = 0; i < size; i++) for (int j = 0; j < size; j++) setWeight(i, j, rs.UniformRandom(lb, ub)); }
double UniformRandom(double min,double max) { return GRS.UniformRandom(min, max);};
void CTRNN::randomizeOutput(double lb, double ub, RandomState &rs) { for (int i = 0; i < size; i++) setOutput(i, rs.UniformRandom(lb, ub)); }