Package org.moeaframework.core
Interface Initialization
- All Known Implementing Classes:
InjectedInitialization
,RandomInitialization
public interface Initialization
Interface for an initialization routine. Initialization routines generate the initial population used by an
algorithm.
-
Method Summary
Modifier and TypeMethodDescriptionSolution[]
initialize
(int populationSize) Returns an array of solutions to become the initial population.
-
Method Details
-
initialize
Returns an array of solutions to become the initial population.- Parameters:
populationSize
- the number of solutions to create and initialize- Returns:
- an array of the initial solutions
-