Package dealib.components.initializers
Class RandInitializer
java.lang.Object
dealib.components.initializers.RandInitializer
- All Implemented Interfaces:
Initializer
RandInitializer is a class implementing a random scheme for the
initialization step over the interface Initializer.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Alicia Vazquez Ramos
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Executes rand initializer scheme over the a population, p.toString()
Gets a string representing the visualization by console of the Initializer.
-
Constructor Details
-
RandInitializer
Constructor.- Parameters:
exe
- Configurarion of the current execution.
-
-
Method Details
-
initializePopulation
Executes rand initializer scheme over the a population, p.- Specified by:
initializePopulation
in interfaceInitializer
- Parameters:
p
- current population.- Throws:
IncompatibleConfigurationException
- when initializer is not enabled with the defined configuration or when the Evaluator used throws this exception because of an incorrect dimensionality of the problem.
-
toString
Gets a string representing the visualization by console of the Initializer.
-