public class EvolutionOptimizationStrategy extends HyperParameterTuningStrategy
Constructor and Description |
---|
EvolutionOptimizationStrategy() |
Modifier and Type | Method and Description |
---|---|
int |
getAmountOfEliteChromosomes() |
int |
getAmountOfGenerations() |
double |
getCrossingoverProbability() |
CrossoverStrategy |
getCrossoverStgy() |
double |
getMutationProbability() |
String |
getName()
Returns the name of strategy.
|
long |
getSeed() |
SelectionStrategy |
getSelectionStgy() |
EvolutionOptimizationStrategy |
withCrossingoverProbability(double crossingoverProbability) |
EvolutionOptimizationStrategy |
withCrossoverStgy(CrossoverStrategy crossoverStgy) |
EvolutionOptimizationStrategy |
withMutationProbability(double mutationProbability) |
EvolutionOptimizationStrategy |
withSeed(long seed)
Set up the seed number.
|
EvolutionOptimizationStrategy |
withSelectionStgy(SelectionStrategy selectionStgy) |
public long getSeed()
public int getAmountOfGenerations()
public int getAmountOfEliteChromosomes()
public double getCrossingoverProbability()
public double getMutationProbability()
public CrossoverStrategy getCrossoverStgy()
public SelectionStrategy getSelectionStgy()
public EvolutionOptimizationStrategy withSeed(long seed)
seed
- Seed.public EvolutionOptimizationStrategy withCrossingoverProbability(double crossingoverProbability)
crossingoverProbability
- Crossingover probability.public EvolutionOptimizationStrategy withMutationProbability(double mutationProbability)
mutationProbability
- Mutation probability.public EvolutionOptimizationStrategy withCrossoverStgy(CrossoverStrategy crossoverStgy)
crossoverStgy
- Crossover strategy.public EvolutionOptimizationStrategy withSelectionStgy(SelectionStrategy selectionStgy)
selectionStgy
- Selection strategy.public String getName()
getName
in class HyperParameterTuningStrategy
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024