An implementation of tournament selection, with a variable to set the number of members who participate in the tournament. More...
#include <TournamentSelector.h>
Public Member Functions | |
void | Init (int32 num) |
virtual TArray< FParentFitnessInfo > | SelectParents (TArray< FParentFitnessInfo > parentInfo, URandomGen *randomGen) |
Protected Member Functions | |
int32 | GetMax (TArray< FParentFitnessInfo > parents) |
Additional Inherited Members | |
Public Attributes inherited from UParentSelector | |
virtual TArray< FParentFitnessInfo > SelectParents(TArray< FParentFitnessInfo > parentInfo, URandomGen *randomGen) PURE_VIRTUAL(UParentSelector return | temp |
An implementation of tournament selection, with a variable to set the number of members who participate in the tournament.