7 #include "CloneConn.hpp" 8 #include "columns/HyPerCol.hpp" 9 #include "components/CloneWeightsPair.hpp" 10 #include "components/DependentArborList.hpp" 11 #include "components/DependentPatchSize.hpp" 12 #include "components/DependentSharedWeights.hpp" 13 #include "delivery/CloneDeliveryFacade.hpp" 17 CloneConn::CloneConn(
char const *name, HyPerCol *hc) { initialize(name, hc); }
19 CloneConn::CloneConn() {}
21 CloneConn::~CloneConn() {}
23 int CloneConn::initialize(
char const *name, HyPerCol *hc) {
24 int status = HyPerConn::initialize(name, hc);
28 void CloneConn::defineComponents() {
29 HyPerConn::defineComponents();
30 mOriginalConnNameParam = createOriginalConnNameParam();
31 if (mOriginalConnNameParam) {
36 BaseDelivery *CloneConn::createDeliveryObject() {
return new CloneDeliveryFacade(name, parent); }
38 ArborList *CloneConn::createArborList() {
return new DependentArborList(name, parent); }
40 PatchSize *CloneConn::createPatchSize() {
return new DependentPatchSize(name, parent); }
42 SharedWeights *CloneConn::createSharedWeights() {
return new DependentSharedWeights(name, parent); }
44 WeightsPairInterface *CloneConn::createWeightsPair() {
return new CloneWeightsPair(name, parent); }
46 InitWeights *CloneConn::createWeightInitializer() {
return nullptr; }
48 NormalizeBase *CloneConn::createWeightNormalizer() {
return nullptr; }
50 BaseWeightUpdater *CloneConn::createWeightUpdater() {
return nullptr; }
52 OriginalConnNameParam *CloneConn::createOriginalConnNameParam() {
53 return new OriginalConnNameParam(name, parent);
56 Response::Status CloneConn::initializeState() {
return Response::NO_ACTION; }
virtual void addObserver(Observer *observer) override