def __create_distance_calculator(self):
if self.__numpy is True:<EOL><INDENT>return self.__create_distance_calculator_numpy()<EOL><DEDENT>return self.__create_distance_calculator_basic()<EOL>
!
        @brief Creates distance metric calculator.

        @return (callable) Callable object of distance metric calculator.