tournament: Tournament function

Description Usage Arguments Value

View source: R/tournament.R

Description

This function simulates selection of next generation of agents according to their fitness.

Usage

1
tournament(agents, fitness)

Arguments

agents

A list of agents to be assessed by fitness

fitness

The fitness vector on which agents will be assessed. Each element in the vector identifies a single agent's fitness

Value

agents A new list of agents selected according to fitness


gamesGA documentation built on March 26, 2020, 6:57 p.m.

Related to tournament in gamesGA...