def __init__(self,
                 solution_size,
                 population_size=20):
        """Create an object that optimizes a given fitness function with random strings.

        Args:
            solution_size: The number of bits in every solution.
            population_size: The number of solutions in every iteration.
        """
        super(_RandomOptimizer, self).__init__(solution_size, population_size)
def __init__ ( self , solution_size , population_size = 20 ) : super ( _RandomOptimizer , self ) . __init__ ( solution_size , population_size )
Create an object that optimizes a given fitness function with random strings.

        Args:
            solution_size: The number of bits in every solution.
            population_size: The number of solutions in every iteration.