Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TournamentSelection

Tournament selection

Tournament Selection on Wikipedia

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Constructs a tournament selection.

    Parameters

    • Default value size: number = 5

      the size of a tournament

    • Default value probability: number = 0.5

      Selects the best individual (when probability = 1).

    Returns TournamentSelection

Properties

Readonly probability

probability: number

The probability of just picking the best network.

Readonly size

size: number

The size of a tournament.

Methods

select

Generated using TypeDoc