def __store_clustering_results(self, amount_clusters, leaf_blocks):
self.__clusters = [[] for _ in range(amount_clusters)]<EOL>for block in leaf_blocks:<EOL><INDENT>index = block.get_cluster()<EOL>if index is not None:<EOL><INDENT>self.__clusters[index] += block.get_points()<EOL><DEDENT>else:<EOL><INDENT>self.__noise += block.get_points()<EOL><DEDENT><DEDENT>self.__clusters = [ list(set(cluster)) for cluster in self.__clusters ]<EOL>self.__noise = list(set(self.__noise))<EOL>
!
        @brief Stores clustering results in a convenient way.

        @param[in] amount_clusters (uint): Amount of cluster that was allocated during processing.
        @param[in] leaf_blocks (list): Leaf BANG-blocks (the smallest cells).