Type Alias GenerationBeforeCallback

GenerationBeforeCallback: (generation: number) => void

A callback function that is called before each generation.

Used in configuration type GeneticSearchFitConfig.

Type declaration

    • (generation: number): void
    • Parameters

      • generation: number

        The current generation number.

      Returns void