Package org.opt4j.optimizers.de
Class DifferentialEvolutionModule
java.lang.Object
com.google.inject.AbstractModule
org.opt4j.core.start.Opt4JModule
org.opt4j.core.optimizer.OptimizerModule
org.opt4j.optimizers.de.DifferentialEvolutionModule
- All Implemented Interfaces:
Module
-
Field Summary
Fields inherited from class org.opt4j.core.start.Opt4JModule
SINGLETON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfig()intgetAlpha()Returns the alpha.intReturns the generations.doubleReturns the scaling factor.voidsetAlpha(int alpha) Sets the alpha.voidsetGenerations(int generations) Sets the generations.voidsetScalingFactor(double scalingFactor) Sets the scaling factor.Methods inherited from class org.opt4j.core.start.Opt4JModule
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, constantMethods inherited from class com.google.inject.AbstractModule
configure
-
Constructor Details
-
DifferentialEvolutionModule
public DifferentialEvolutionModule()
-
-
Method Details
-
getAlpha
Returns the alpha.- Returns:
- the alpha
- See Also:
-
setAlpha
Sets the alpha.- Parameters:
alpha- the alpha to set- See Also:
-
getGenerations
Returns the generations.- Returns:
- the generations
- See Also:
-
setGenerations
Sets the generations.- Parameters:
generations- the generations to set- See Also:
-
getScalingFactor
Returns the scaling factor.- Returns:
- the scalingFactor
- See Also:
-
setScalingFactor
Sets the scaling factor.- Parameters:
scalingFactor- the scalingFactor to set- See Also:
-
config
-