@evolite/core
    Preparing search index...

    Type Alias crossoverMethod<Entity>

    crossoverMethod: (parent1: Entity, parent2: Entity) => Promise<Entity>

    Combines the genetic traits of two parent individuals to produce a single offspring. *

    Type Parameters

    • Entity

      The type of individual being crossed.

    Type Declaration

      • (parent1: Entity, parent2: Entity): Promise<Entity>
      • Parameters

        • parent1: Entity

          The first parent entity.

        • parent2: Entity

          The second parent entity.

        Returns Promise<Entity>

        A promise resolving to the newly created child individual.