def __merge_by_signle_link(self):
minimum_single_distance = float('<STR_LIT>');<EOL>indexes = None;<EOL>for index_cluster1 in range(<NUM_LIT:0>, len(self.__clusters)):<EOL><INDENT>for index_cluster2 in range(index_cluster1 + <NUM_LIT:1>, len(self.__clusters)):<EOL><INDENT>candidate_minimum_distance = self.__calculate_nearest_distance(index_cluster1, index_cluster2);<EOL>if (candidate_minimum_distance < minimum_single_distance):<EOL><INDENT>minimum_single_distance = candidate_minimum_distance;<EOL>indexes = [index_cluster1, index_cluster2];<EOL><DEDENT><DEDENT><DEDENT>self.__clusters[indexes[<NUM_LIT:0>]] += self.__clusters[indexes[<NUM_LIT:1>]];  <EOL>self.__clusters.pop(indexes[<NUM_LIT:1>])<EOL>
!
        @brief Merges the most similar clusters in line with single link type.