params_create_5_selected_states.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #ifndef __PARAMS_CREATE_5_SELECTED_STATES_H__
  2. #define __PARAMS_CREATE_5_SELECTED_STATES_H__
  3. /*
  4. * params_create_5_selected_states.h
  5. *
  6. * This file is part of the refactored Izhikevich polychronization model application.
  7. *
  8. * Copyright (C) 2018, Author: G. Trensch
  9. *
  10. * The refactored Izhikevich polychronization model application is free software:
  11. * you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License as published by
  13. * the Free Software Foundation, either version 2 of the License, or
  14. * (at your option) any later version.
  15. *
  16. * It is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * GNU General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU General Public License
  22. * along with this application. If not, see <http://www.gnu.org/licenses/>.
  23. *
  24. */
  25. // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  26. // = P R O G R A M P A R A M E T E R S
  27. // =
  28. // = Select five network states, after 1, 2, 3, 4, and 5 hours.
  29. // = Run the simulation for 5+ hours with STDP on, and save the five network states, that is, the connection and
  30. // = delay matrix (same for all states), and the weight matrices: w(t1), ... w(t5).
  31. // = Additionally, the random input data is recorded as well as the network activity data.
  32. // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  33. #define PARAM_INFO_STRING "CREATE FIVE NETWORK STATES WITH STDP"
  34. #define SIM_TIME (int)(60*60*5+120) // seconds
  35. #define GENERATE_NETWORK_FROM_EXTERNAL_DATA false
  36. #define USE_EXTERNAL_STIMULUS false
  37. #define USE_STDP true
  38. #define SELECTED_STATE_1_AFTER_N_SECONDS (int)(60*60*1) // seconds
  39. #define SELECTED_STATE_2_AFTER_N_SECONDS (int)(60*60*2)
  40. #define SELECTED_STATE_3_AFTER_N_SECONDS (int)(60*60*3)
  41. #define SELECTED_STATE_4_AFTER_N_SECONDS (int)(60*60*4)
  42. #define SELECTED_STATE_5_AFTER_N_SECONDS (int)(60*60*5)
  43. #define OUTFILE_CONNECTIONS "../data/conMatrix.dat"
  44. #define OUTFILE_DELAYS "../data/delayMatrix.dat"
  45. #define OUTFILE_STATE_1_WEIGHT_MATRIX "../data/weightMatrix_after1h.dat"
  46. #define OUTFILE_STATE_2_WEIGHT_MATRIX "../data/weightMatrix_after2h.dat"
  47. #define OUTFILE_STATE_3_WEIGHT_MATRIX "../data/weightMatrix_after3h.dat"
  48. #define OUTFILE_STATE_4_WEIGHT_MATRIX "../data/weightMatrix_after4h.dat"
  49. #define OUTFILE_STATE_5_WEIGHT_MATRIX "../data/weightMatrix_after5h.dat"
  50. #define OUTFILE_STIMULUS "../data/randomNetworkInput.dat"
  51. #define OUTFILE_FIRINGS "../data/firings.dat"
  52. #endif // __PARAMS_CREATE_5_SELECTED_STATES_H__