PetaVision  Alpha
InitOneToOneWeightsWithDelays.hpp
1 /*
2  * InitOneToOneWeightsWithDelays.hpp
3  *
4  * Created on: Sep 20, 2013
5  * Author: wchavez
6  */
7 
8 #ifndef INITONETOONEWEIGHTSWITHDELAYS_HPP_
9 #define INITONETOONEWEIGHTSWITHDELAYS_HPP_
10 
11 #include "InitOneToOneWeights.hpp"
12 
13 namespace PV {
14 
16  public:
17  InitOneToOneWeightsWithDelays(char const *name, HyPerCol *hc);
19 
20  virtual void calcWeights(int patchIndex, int arborId) override;
21  void calcOtherParams(int patchIndex);
22 
23  protected:
25  int initialize(char const *name, HyPerCol *hc);
26  void
27  createOneToOneConnectionWithDelays(float *dataStart, int patchIndex, float iWeight, int arborId);
28 
29  protected:
30  float mWeightInit = 1.0f;
31 }; // class InitOneToOneWeightsWightDelays
32 
33 } // end namespace PV
34 
35 #endif // INITONETOONEWEIGHTSWITHDELAYS_HPP_
virtual void calcWeights()