saealib.SobolInitializer#

class saealib.SobolInitializer(n_init_archive, n_init_population, seed=None)[source]#

Bases: Initializer

Sobol quasi-random sequence initializer.

Parameters:
  • n_init_archive (int)

  • n_init_population (int)

  • seed (int | None)

n_init_archive#

The number of individuals to initialize in the archive.

Type:

int

n_init_population#

The number of individuals to initialize in the population.

Type:

int

seed#

The seed for the random number generator.

Type:

int | None

Methods

__init__

contract

Return the Sobol initializer contract.

initialize

Initialize Population and Archive with scrambled Sobol samples.

Method Details

SobolInitializer.__init__(n_init_archive, n_init_population, seed=None)[source]#
Parameters:
  • n_init_archive (int)

  • n_init_population (int)

  • seed (int | None)

SobolInitializer.contract()[source]#

Return the Sobol initializer contract.

Return type:

ComponentContract

SobolInitializer.initialize(provider, problem)[source]#

Initialize Population and Archive with scrambled Sobol samples.

Parameters:
  • provider (ComponentProvider) – The component provider instance.

  • problem (Problem) – The problem instance.

Return type:

OptimizationState