Package ai.libs.jaicore.ea.algorithm
Interface IEvolutionaryAlgorithmConfig
-
- All Superinterfaces:
org.aeonbits.owner.Accessible,org.aeonbits.owner.Config,org.api4.java.algorithm.IAlgorithmConfig,org.api4.java.common.control.IConfig,ai.libs.jaicore.basic.IOwnerBasedAlgorithmConfig,ai.libs.jaicore.basic.IOwnerBasedConfig,java.util.Map<java.lang.Object,java.lang.Object>,org.aeonbits.owner.Mutable,org.aeonbits.owner.Reloadable,java.io.Serializable
- All Known Subinterfaces:
IMOEAFrameworkAlgorithmConfig
public interface IEvolutionaryAlgorithmConfig extends ai.libs.jaicore.basic.IOwnerBasedAlgorithmConfigGeneral properties of an evolutionary algorithm.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.aeonbits.owner.Config
org.aeonbits.owner.Config.ConverterClass, org.aeonbits.owner.Config.DecryptorClass, org.aeonbits.owner.Config.DefaultValue, org.aeonbits.owner.Config.DisableableFeature, org.aeonbits.owner.Config.DisableFeature, org.aeonbits.owner.Config.EncryptedValue, org.aeonbits.owner.Config.HotReload, org.aeonbits.owner.Config.HotReloadType, org.aeonbits.owner.Config.Key, org.aeonbits.owner.Config.LoadPolicy, org.aeonbits.owner.Config.LoadType, org.aeonbits.owner.Config.PreprocessorClasses, org.aeonbits.owner.Config.Separator, org.aeonbits.owner.Config.Sources, org.aeonbits.owner.Config.TokenizerClass
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringK_EARLY_TERMINATION_EPSILONstatic java.lang.StringK_EARLY_TERMINATION_GENSstatic java.lang.StringK_EVALUATIONSstatic java.lang.StringK_GENERATIONSstatic java.lang.StringK_POPULATION_SIZE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubleearlyTerminationEpsilon()doubleearlyTerminationGenerations()Number of generations after which early termination criterion evaluates to true.intnumberOfEvaluations()intnumberOfGenerations()intpopulationSize()-
Methods inherited from interface org.aeonbits.owner.Accessible
fill, getProperty, getProperty, list, list, propertyNames, store, storeToXML
-
Methods inherited from interface ai.libs.jaicore.basic.IOwnerBasedAlgorithmConfig
cpus, getTimeout, memory, threads, timeout
-
Methods inherited from interface ai.libs.jaicore.basic.IOwnerBasedConfig
copy, loadPropertiesFromFile, loadPropertiesFromFileArray, loadPropertiesFromList, loadPropertiesFromResource
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Field Detail
-
K_EVALUATIONS
static final java.lang.String K_EVALUATIONS
- See Also:
- Constant Field Values
-
K_GENERATIONS
static final java.lang.String K_GENERATIONS
- See Also:
- Constant Field Values
-
K_POPULATION_SIZE
static final java.lang.String K_POPULATION_SIZE
- See Also:
- Constant Field Values
-
K_EARLY_TERMINATION_GENS
static final java.lang.String K_EARLY_TERMINATION_GENS
- See Also:
- Constant Field Values
-
K_EARLY_TERMINATION_EPSILON
static final java.lang.String K_EARLY_TERMINATION_EPSILON
- See Also:
- Constant Field Values
-
-
Method Detail
-
populationSize
@Key("population.size") @DefaultValue("100") int populationSize()
-
numberOfGenerations
@Key("generations") @DefaultValue("1000") int numberOfGenerations()
-
numberOfEvaluations
@Key("evaluations") @DefaultValue("-1") int numberOfEvaluations()
-
earlyTerminationEpsilon
@Key("earlytermination.epsilon") @DefaultValue("0.00001") double earlyTerminationEpsilon()
-
earlyTerminationGenerations
@Key("earlytermination.generations") @DefaultValue("-1") double earlyTerminationGenerations()Number of generations after which early termination criterion evaluates to true. If it is set to -1, no early termination is applied.- Returns:
- Number of generations with no change after which early termination becomes true.
-
-