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 Type
    Method
    Description
    initialize(int populationSize)
    Returns an array of solutions to become the initial population.
  • Method Details

    • initialize

      Solution[] initialize(int populationSize)
      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