def __create_weights_all_to_all(self, stimulus):
for i in range(len(stimulus)):<EOL><INDENT>for j in range(i + <NUM_LIT:1>, len(stimulus)):<EOL><INDENT>weight = self.__calculate_weight(stimulus[i], stimulus[j])<EOL>self.__weights[i][j] = weight<EOL>self.__weights[j][i] = weight<EOL>self.__weights_summary[i] += weight<EOL>self.__weights_summary[j] += weight<EOL><DEDENT><DEDENT>
!
        @brief Create weight all-to-all structure between neurons in line with stimulus.

        @param[in] stimulus (list): External stimulus for the chaotic neural network.