def __extract_clusters(self):
self.__clusters = []<EOL>self.__noise = []<EOL>current_cluster = self.__noise<EOL>for optics_object in self.__ordered_database:<EOL><INDENT>if (optics_object.reachability_distance is None) or (optics_object.reachability_distance > self.__eps):<EOL><INDENT>if (optics_object.core_distance is not None) and (optics_object.core_distance <= self.__eps):<EOL><INDENT>self.__clusters.append([ optics_object.index_object ])<EOL>current_cluster = self.__clusters[-<NUM_LIT:1>]<EOL><DEDENT>else:<EOL><INDENT>self.__noise.append(optics_object.index_object)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>current_cluster.append(optics_object.index_object)<EOL><DEDENT><DEDENT>
!
        @brief Extract clusters and noise from order database.