8 #ifndef INITRANDOMWEIGHTS_HPP_ 9 #define INITRANDOMWEIGHTS_HPP_ 11 #include "InitWeights.hpp" 12 #include "columns/Random.hpp" 23 int initialize(
char const *name,
HyPerCol *hc);
24 virtual int initRNGs(
bool isKernel)
override;
25 virtual void calcWeights(
int patchIndex,
int arborId)
override;
26 virtual void randomWeights(
float *patchDataStart,
int patchIndex) = 0;
38 Random *mRandState =
nullptr;
virtual void calcWeights()