Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Mutation

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Static maxDeviation

maxDeviation: number = .1

Methods

Static deviate

  • deviate(chromosome: Chromosome, mutationRate: number): void
  • Parameters

    Returns void

Static exchange

Static insertion

Static random

  • random(chromosome: Chromosome, mutationRate: number, lower: number, upper: number, integer?: boolean): void
  • Parameters

    • chromosome: Chromosome
    • mutationRate: number
    • lower: number
    • upper: number
    • integer: boolean = false

    Returns void