def __get_nearest_feature(self, point, feature_collection):
minimum_distance = float("<STR_LIT>");<EOL>index_nearest_feature = -<NUM_LIT:1>;<EOL>for index_entry in range(<NUM_LIT:0>, len(feature_collection)):<EOL><INDENT>point_entry = cfentry(<NUM_LIT:1>, linear_sum([ point ]), square_sum([ point ]));<EOL>distance = feature_collection[index_entry].get_distance(point_entry, self.__measurement_type);<EOL>if (distance < minimum_distance):<EOL><INDENT>minimum_distance = distance;<EOL>index_nearest_feature = index_entry;<EOL><DEDENT><DEDENT>return (minimum_distance, index_nearest_feature)<EOL>
!
        @brief Find nearest entry for specified point.

        @param[in] point (list): Pointer to point from input dataset.
        @param[in] feature_collection (list): Feature collection that is used for obtaining nearest feature for the specified point.

        @return (double, uint) Tuple of distance to nearest entry to the specified point and index of that entry.