Skip to contents

Tournament Selection

Usage

tournament_selection(population, pop_size, tour_size)

Arguments

population

Matrix with last two columns being rankingIndex and density.

pop_size

Integer.

tour_size

Integer.

Value

Selected subpopulation matrix.