(self, pop, idx)
make sure that solutions fit to sample distribution, this interface will probably change.

        In particular the frequency of long vectors appearing in pop[idx] - self.mean is limited.
make sure that solutions fit to sample distribution, this interface will probably change.
make sure that solutions fit to sample distribution this interface will probably change .
def clip_or_fit_solutions(self, pop, idx):
        """make sure that solutions fit to sample distribution, this interface will probably change.

        In particular the frequency of long vectors appearing in pop[idx] - self.mean is limited.

        """
        for k in idx:
            self.repair_genotype(pop[k])
def clip_or_fit_solutions ( self , pop , idx ) : for k in idx : self . repair_genotype ( pop [ k ] )