PetaVision  Alpha
ANNSquaredLayer.hpp
1 /*
2  * ANNSquaredLayer.hpp
3  *
4  * Created on: Sep 21, 2011
5  * Author: kpeterson
6  */
7 
8 #ifndef ANNSQUAREDLAYER_HPP_
9 #define ANNSQUAREDLAYER_HPP_
10 
11 #include "ANNLayer.hpp"
12 
13 #define NUM_ANNSQ_EVENTS 3
14 
15 namespace PV {
16 
17 class ANNSquaredLayer : public PV::ANNLayer {
18  public:
19  ANNSquaredLayer(const char *name, HyPerCol *hc);
20  virtual ~ANNSquaredLayer();
21  virtual Response::Status updateState(double time, double dt) override;
22 
23  protected:
25  int initialize(const char *name, HyPerCol *hc);
26 
27  private:
28  int initialize_base();
29 
30 }; // class ANNSquaredLayer
31 
32 } /* namespace PV */
33 #endif /* ANNSQUAREDLAYER_HPP_ */