Source code for stk.ea.fitness_normalizers.null

"""
Null Fitness Normalizer
=======================

"""

from .fitness_normalizer import FitnessNormalizer


[docs]class NullFitnessNormalizer(FitnessNormalizer): """ Does nothing. This normalizer just yields the molecule records passed to it, without changing them in any way. """
[docs] def normalize(self, population): yield from population