|
| EAOptimizer (List< EvoScript > initialPopulation, Arena arenaEvaluation, Mutation mutation=null, Crossover crossover=null, Selection selection=null) |
| The EA algorithm will maintain the size of the initial population after the selection phase. More...
|
|
void | Run (int maxEpochCount=1) |
|
List< EvoScript > | GetPopulation () |
|
EvoScript | GetBestIndividual () |
|
float | CalculatePopulationAverageDiversity () |
|
int | CalculatePopulationIdenticalFrontCount () |
|
|
int | PopulationSize => corePopulation.Count |
|
|
Random | random = new Random() |
|
List< EvoScript > | corePopulation |
|
List< EvoScript > | tempPopulation |
|
int | epochNumber = 0 |
|
int | populationSize = 0 |
|
Mutation | mutation = null |
|
Crossover | crossover = null |
|
Arena | arenaEvaluation = null |
|
Selection | selection = null |
|
|
double | ElitismRate [get, set] |
| Percent of most fit individuals in a population that will be considered for the next population without any change. More...
|
|
ElitismType | ElitismType = 0.2 [get, set] |
|
◆ EAOptimizer()
The EA algorithm will maintain the size of the initial population after the selection phase.
- Parameters
-
initialPopulation | Initial population to the EA algorithm. |
arenaEvaluation | |
mutation | |
crossover | |
selection | |
◆ ElitismRate
double Grail.Evolution.EAOptimizer.ElitismRate |
|
getset |
Percent of most fit individuals in a population that will be considered for the next population without any change.
The documentation for this class was generated from the following file:
- GrailEvolution/source/EAOptimizer.cs