def __init__(self, num_osc, stimulus = None, parameters = None, type_conn = None, type_conn_represent = conn_represent.MATRIX, ccore = True):
super().__init__(num_osc, conn_type.NONE, type_conn_represent);<EOL>if (stimulus is None):<EOL><INDENT>self._stimulus = [<NUM_LIT:0.0>] * num_osc;<EOL><DEDENT>else:<EOL><INDENT>self._stimulus = stimulus;<EOL><DEDENT>if (parameters is not None):<EOL><INDENT>self._params = parameters;<EOL><DEDENT>else:<EOL><INDENT>self._params = hhn_parameters();<EOL><DEDENT>self.__ccore_hhn_pointer = None;<EOL>self.__ccore_hhn_dynamic_pointer = None;<EOL>if ( (ccore is True) and ccore_library.workable() ):<EOL><INDENT>self.__ccore_hhn_pointer = wrapper.hhn_create(num_osc, self._params);<EOL><DEDENT>else:<EOL><INDENT>self._membrane_dynamic_pointer = None;        <EOL>self._membrane_potential        = [<NUM_LIT:0.0>] * self._num_osc;<EOL>self._active_cond_sodium        = [<NUM_LIT:0.0>] * self._num_osc;<EOL>self._inactive_cond_sodium      = [<NUM_LIT:0.0>] * self._num_osc;<EOL>self._active_cond_potassium     = [<NUM_LIT:0.0>] * self._num_osc;<EOL>self._link_activation_time      = [<NUM_LIT:0.0>] * self._num_osc;<EOL>self._link_pulse_counter        = [<NUM_LIT:0.0>] * self._num_osc;<EOL>self._link_deactivation_time    = [<NUM_LIT:0.0>] * self._num_osc;<EOL>self._link_weight3              = [<NUM_LIT:0.0>] * self._num_osc;<EOL>self._pulse_generation_time     = [ [] for i in range(self._num_osc) ];<EOL>self._pulse_generation          = [False] * self._num_osc;<EOL>self._noise = [random.random() * <NUM_LIT> - <NUM_LIT:1.0> for i in range(self._num_osc)];<EOL>self._central_element = [central_element(), central_element()];<EOL><DEDENT>
!
        @brief Constructor of oscillatory network based on Hodgkin-Huxley neuron model.

        @param[in] num_osc (uint): Number of peripheral oscillators in the network.
        @param[in] stimulus (list): List of stimulus for oscillators, number of stimulus should be equal to number of peripheral oscillators.
        @param[in] parameters (hhn_parameters): Parameters of the network.
        @param[in] type_conn (conn_type): Type of connections between oscillators in the network (ignored for this type of network).
        @param[in] type_conn_represent (conn_represent): Internal representation of connection in the network: matrix or list.
        @param[in] ccore (bool): If 'True' then CCORE is used (C/C++ implementation of the model).