simmod_localinh.hpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef SIMMOD_LOCALINH_HPP
  2. #define SIMMOD_LOCALINH_HPP
  3. #include "simmodules.hpp"
  4. /** @brief localized inhibitory connections
  5. @author Frank Michler,,, <frank@pc13365>
  6. */
  7. class SimMod_LocalInh : public SimModule, public Changable
  8. {
  9. public:
  10. SimMod_LocalInh(AnyOptionWrapper* _opt);
  11. ~SimMod_LocalInh();
  12. void SetCmdLineOptions();
  13. virtual layer* Setup(SimLoop* _MainSimLoop, layer* _ExLayer, bool LoadWeights=false, bool VecCon=false);
  14. VecConnection* ConExInh(){return mConExInh;};
  15. void changeParameter(ParameterSet* ParaSet);
  16. private:
  17. /** @brief relative lateral inhibition range
  18. width of gaussian kernal in excitatory layer, \n
  19. between 0 and 1 */
  20. float mRange;
  21. float mInhExNeuronRatio; //!< ratio inhibitory/excitatory neurons, between 0 and 1
  22. float mInhExStrength;
  23. float mExInhStrength;
  24. float mGlobalExInhStrength;
  25. float mGlobalInhExStrength;
  26. float mConnectivity;
  27. int mNumberOfChanges;
  28. layer* mInhLayer;
  29. VecConnection* mConInhEx;
  30. VecConnection* mConExInh;
  31. };
  32. #endif