def __init__(self, data, amount_centers):
self.__data = data<EOL>self.__amount = amount_centers<EOL>self.__available_indexes = set(list(range(len(self.__data))))<EOL>if self.__amount <= <NUM_LIT:0>:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>if self.__amount > len(self.__data):<EOL><INDENT>raise ValueError("<STR_LIT>" % self.__amount)<EOL><DEDENT>
!
        @brief Creates instance of random center initializer.

        @param[in] data (list): List of points where each point is represented by list of coordinates.
        @param[in] amount_centers (unit): Amount of centers that should be initialized.