PetaVision  Alpha
InitSmartWeights.hpp
1 /*
2  * InitSmartWeights.hpp
3  *
4  * Created on: Aug 8, 2011
5  * Author: kpeterson
6  */
7 
8 #ifndef INITSMARTWEIGHTS_HPP_
9 #define INITSMARTWEIGHTS_HPP_
10 
11 #include "InitWeights.hpp"
12 
13 namespace PV {
14 
16  public:
17  InitSmartWeights(char const *name, HyPerCol *hc);
19  virtual ~InitSmartWeights();
20 
21  virtual void calcWeights(int patchIndex, int arborId) override;
22 
23  protected:
24  int initialize(char const *name, HyPerCol *hc);
25 
26  private:
27  void smartWeights(float *dataStart, int k);
28 }; // class InitSmartWeights
29 
30 } /* namespace PV */
31 #endif /* INITSMARTWEIGHTS_HPP_ */
virtual void calcWeights()