import numpy as np


class PopulationGenerator:

    def __init__(self, algorithm_configuration):
        self.__algorithm_configuration = algorithm_configuration

    def generate_population(self):
        return np.random.uniform(low=self.__algorithm_configuration.
            left_range_number, high=self.__algorithm_configuration.
            right_range_number, size=(self.__algorithm_configuration.
            population_number, self.__algorithm_configuration.variables_number)
            )

0eedfbbd55f1c979358679859f03543d20f0f867
<mask token>


class PopulationGenerator:
    <mask token>
    <mask token>

<mask token>


class PopulationGenerator:

    def __init__(self, algorithm_configuration):
        self.__algorithm_configuration = algorithm_configuration
    <mask token>

<mask token>


class PopulationGenerator:

    def __init__(self, algorithm_configuration):
        self.__algorithm_configuration = algorithm_configuration

    def generate_population(self):
        return np.random.uniform(low=self.__algorithm_configuration.
            left_range_number, high=self.__algorithm_configuration.
            right_range_number, size=(self.__algorithm_configuration.
            population_number, self.__algorithm_configuration.variables_number)
            )

import numpy as np


class PopulationGenerator:

    def __init__(self, algorithm_configuration):
        self.__algorithm_configuration = algorithm_configuration

    def generate_population(self):
        return np.random.uniform(low=self.__algorithm_configuration.
            left_range_number, high=self.__algorithm_configuration.
            right_range_number, size=(self.__algorithm_configuration.
            population_number, self.__algorithm_configuration.variables_number)
            )
