8 #ifndef HYPERDELIVERY_HPP_ 9 #define HYPERDELIVERY_HPP_ 11 #include "BaseDelivery.hpp" 12 #include "components/ArborList.hpp" 13 #include "components/WeightsPair.hpp" 43 enum AccumulateType { UNDEFINED, CONVOLVE, STOCHASTIC };
51 virtual void deliver()
override = 0;
58 int initialize(
char const *name,
HyPerCol *hc);
60 virtual void setObjectType()
override;
64 virtual Response::Status
65 communicateInitInfo(std::shared_ptr<CommunicateInitInfoMessage const> message)
override;
67 virtual Response::Status allocateDataStructures()
override;
69 double convertToRateDeltaTimeFactor(
double timeConstantTau)
const;
73 AccumulateType mAccumulateType = CONVOLVE;
74 bool mUpdateGSynFromPostPerspective =
false;
75 bool mConvertRateToSpikeCount =
false;
77 float mDeltaTimeFactor = 1.0f;
85 #endif // HYPERDELIVERY_HPP_ virtual void ioParam_convertRateToSpikeCount(enum ParamsIOFlag ioFlag)
convertRateToSpikeCount: If true, presynaptic activity is converted from a rate (spikes per second) t...
virtual bool isAllInputReady() override
virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override