12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef SIMMOD_LOCALINH_HPP
- #define SIMMOD_LOCALINH_HPP
- #include "simmodules.hpp"
- /** @brief localized inhibitory connections
- @author Frank Michler,,, <frank@pc13365>
- */
- class SimMod_LocalInh : public SimModule, public Changable
- {
- public:
- SimMod_LocalInh(AnyOptionWrapper* _opt);
- ~SimMod_LocalInh();
- void SetCmdLineOptions();
- virtual layer* Setup(SimLoop* _MainSimLoop, layer* _ExLayer, bool LoadWeights=false, bool VecCon=false);
- VecConnection* ConExInh(){return mConExInh;};
- void changeParameter(ParameterSet* ParaSet);
- private:
- /** @brief relative lateral inhibition range
- width of gaussian kernal in excitatory layer, \n
- between 0 and 1 */
- float mRange;
- float mInhExNeuronRatio; //!< ratio inhibitory/excitatory neurons, between 0 and 1
- float mInhExStrength;
- float mExInhStrength;
- float mGlobalExInhStrength;
- float mGlobalInhExStrength;
- float mConnectivity;
- int mNumberOfChanges;
- layer* mInhLayer;
- VecConnection* mConInhEx;
- VecConnection* mConExInh;
- };
- #endif
|