8 #include "PoolingConn.hpp" 9 #include "columns/HyPerCol.hpp" 10 #include "components/PatchSize.hpp" 11 #include "delivery/PoolingDelivery.hpp" 15 PoolingConn::PoolingConn(
char const *name, HyPerCol *hc) { initialize(name, hc); }
17 PoolingConn::PoolingConn() {}
19 PoolingConn::~PoolingConn() {}
21 int PoolingConn::initialize(
char const *name, HyPerCol *hc) {
22 int status = BaseConnection::initialize(name, hc);
26 void PoolingConn::defineComponents() {
27 BaseConnection::defineComponents();
28 mPatchSize = createPatchSize();
32 mWeightsPair = createWeightsPair();
38 BaseDelivery *PoolingConn::createDeliveryObject() {
return new PoolingDelivery(name, parent); }
40 PatchSize *PoolingConn::createPatchSize() {
return new PatchSize(name, parent); }
42 WeightsPairInterface *PoolingConn::createWeightsPair() {
43 return new ImpliedWeightsPair(name, parent);
virtual void addObserver(Observer *observer) override