saealib.SobolInitializer#

class saealib.SobolInitializer(n_init_archive, n_init_population, seed=None)[ソース]#

ベースクラス: Initializer

Sobol quasi-random sequence initializer.

パラメータ:
  • 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)[ソース]#
パラメータ:
  • n_init_archive (int)

  • n_init_population (int)

  • seed (int | None)

SobolInitializer.contract()[ソース]#

Return the Sobol initializer contract.

戻り値の型:

ComponentContract

SobolInitializer.initialize(provider, problem)[ソース]#

Initialize Population and Archive with scrambled Sobol samples.

パラメータ:
  • provider (ComponentProvider) -- The component provider instance.

  • problem (Problem) -- The problem instance.

戻り値の型:

OptimizationState