def __init__(self, **kwargs):
    '\n        Initialize a new cuckoo search problem.\n        '
    self.__upper_boundary = kwargs.get('upper_boundary', 4.0)
    self.__lower_boundary = kwargs.get('lower_boundary', 0.0)
    self.__alpha = kwargs.pop('alpha', 1)
    self.__max_generations = kwargs.pop('max_generations', 10)
    self.__lambda = kwargs.pop('lambda', 1.5)
    self.__p_a = kwargs.pop('p_a', 0.1)
    self.__function = kwargs['function']
    self.__nests = [Nest(lower_boundary=self.__lower_boundary, upper_boundary=self.__upper_boundary, function=self.__function) for _ in range(kwargs['nests'])]
    kwargs['iteration_number'] = self.__max_generations
    self.__visualizer = Visualizer(**kwargs)
Initialize a new cuckoo search problem.
def __init__(self, **kwargs):
    '\n        \n        '
    self.__upper_boundary = kwargs.get('upper_boundary', 4.0)
    self.__lower_boundary = kwargs.get('lower_boundary', 0.0)
    self.__alpha = kwargs.pop('alpha', 1)
    self.__max_generations = kwargs.pop('max_generations', 10)
    self.__lambda = kwargs.pop('lambda', 1.5)
    self.__p_a = kwargs.pop('p_a', 0.1)
    self.__function = kwargs['function']
    self.__nests = [Nest(lower_boundary=self.__lower_boundary, upper_boundary=self.__upper_boundary, function=self.__function) for _ in range(kwargs['nests'])]
    kwargs['iteration_number'] = self.__max_generations
    self.__visualizer = Visualizer(**kwargs)