SmartEngine  1.6.0
Public Attributes | List of all members
SmartEngine::GeneticTrainingInfo Struct Reference

GeneticTrainer parameter info More...

#include <GeneticTrainer.h>

Public Attributes

float countTopPerformers = 0.1f
 How many of the top chromosomes are marked as top performers. The mutation standard deviation will be adjusted depending on if a new chromosome enters the top performers list. More...
 
float countToKeepUnchanged = 0.4f
 How many of the top chromosomes should be left unchanged during each step. More...
 
float countToRandomize = 0.1f
 How many of the bottom chromosomes should be completely randomized. More...
 
MutationInfo mutation
 Mutation info More...
 
GeneSwapInfo geneSwap
 Gene swap info More...
 

Detailed Description

GeneticTrainer parameter info

Member Data Documentation

◆ countToKeepUnchanged

float SmartEngine::GeneticTrainingInfo::countToKeepUnchanged = 0.4f

How many of the top chromosomes should be left unchanged during each step.

A value [0..1] will unchange that percent of the population

A negative integer (-Population Count, 0) will keep that exact number of chromosomes

◆ countTopPerformers

float SmartEngine::GeneticTrainingInfo::countTopPerformers = 0.1f

How many of the top chromosomes are marked as top performers. The mutation standard deviation will be adjusted depending on if a new chromosome enters the top performers list.

A value [0..1] equates to a percent of the population

A negative integer (-Population Count, 0) equates to that exact number of chromosomes.

◆ countToRandomize

float SmartEngine::GeneticTrainingInfo::countToRandomize = 0.1f

How many of the bottom chromosomes should be completely randomized.

A value [0..1] will randomize that percent of the population

A negative integer (-Population Count, 0) will randomize that exact number of the population

◆ geneSwap

GeneSwapInfo SmartEngine::GeneticTrainingInfo::geneSwap

Gene swap info

◆ mutation

MutationInfo SmartEngine::GeneticTrainingInfo::mutation

Mutation info