def get_nearest_index_entry(self, entry, type_measurement):
minimum_distance = float('<STR_LIT>');<EOL>nearest_index = <NUM_LIT:0>;<EOL>for candidate_index in range(<NUM_LIT:0>, len(self.entries)):<EOL><INDENT>candidate_distance = self.entries[candidate_index].get_distance(entry, type_measurement);<EOL>if (candidate_distance < minimum_distance):<EOL><INDENT>nearest_index = candidate_index;<EOL><DEDENT><DEDENT>return nearest_index<EOL>
!
        @brief Find nearest index of nearest entry of node for the specified entry.

        @param[in] entry (cfentry): Entry that is used for calculation distance.
        @param[in] type_measurement (measurement_type): Measurement type that is used for obtaining nearest entry to the specified.

        @return (uint) Index of nearest entry of node for the specified entry.