def __calculate_cluster_difference(self, index_cluster, difference):
cluster_difference = <NUM_LIT:0.0><EOL>for index_point in self.__clusters[index_cluster]:<EOL><INDENT>cluster_difference += difference[index_point]<EOL><DEDENT>return cluster_difference<EOL>
!
        @brief Calculates distance from each object in specified cluster to specified object.

        @param[in] index_point (uint): Index point for which difference is calculated.

        @return (list) Distance from specified object to each object from input data in specified cluster.