1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef __PARAMS_H__
- #define __PARAMS_H__
- /*
- * params.h
- *
- * This file is part of the refactored Izhikevich polychronization model application.
- *
- * Copyright (C) 2018, Author: G. Trensch
- *
- * The refactored Izhikevich polychronization model application is free software:
- * you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * It is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this application. If not, see <http://www.gnu.org/licenses/>.
- *
- */
- // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- // = S I M U L A T I O N S E T U P
- // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- #include "params_create_5_selected_states.h"
- // #include "params_simulate_selected_state_1.h"
- // #include "params_simulate_selected_state_2.h"
- // #include "params_simulate_selected_state_3.h"
- // #include "params_simulate_selected_state_4.h"
- // #include "params_simulate_selected_state_5.h"
- // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- // = S O U R C E C O D E V E R S I O N A N D D E B U G
- // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- #define __DEBUG__ false // print connection, weight and delay matrix
- #define __RUN_REFACTORED_VERSION__ true // run the refactored version of poly_spnet.cpp
- // available for download at
- // https://www.izhikevich.org/publications/spnet.htm
- // set to false to run the original version
- #define LOG_MIN_MAX_V_U true
- // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- // = O D E S O L V E R P A R A M E T E R S
- // =
- // = The parameters do also apply to the poly_spnet.cpp source.
- // = It has been modified to be able to run with the refined ODE solver to
- // = test for the number of polychronous groups.
- // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- // #define ODE_SOLVER_REFINEMENT false // corresponds to Iteration I, Trensch et al., Gutzen et al.
- #define ODE_SOLVER_REFINEMENT true // corresponds to Iteration II and III, Trensch et al., Gutzen et al.
- #define ODE_SOLVER_STEPS (int)(16)
- #endif // __PARAMS_H__
|