tournament {gamesGA} | R Documentation |
This function simulates selection of next generation of agents according to their fitness.
tournament(agents, fitness)
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 |
agents A new list of agents selected according to fitness