Source code for evolutionary_optimization.evolutionary_algorithm.ea_data_model

from dataclasses import dataclass
from typing import Union, List


[docs]@dataclass class PerformancePlotting: """Dataclass storing information about the algorithm's state overtime.""" fitness_over_time: List[Union[float, int]] phenotype_over_time: List[Union[float, int]] genotype_over_time: List[Union[float, int, List[Union[float, int]]]]