@evolite/core
    Preparing search index...

    Type Alias mutationMethod<Entity>

    mutationMethod: (individual: Entity) => Promise<Entity>

    Performs a genetic mutation on a single individual. *

    Type Parameters

    • Entity

      The type of individual being mutated.

    Type Declaration

      • (individual: Entity): Promise<Entity>
      • Parameters

        • individual: Entity

          The target individual to mutate.

        Returns Promise<Entity>

        A promise resolving to the mutated individual (either a modified clone or the modified original reference).