iwopy.interfaces.pygmo.algos.AlgoFactory

class iwopy.interfaces.pygmo.algos.AlgoFactory[source]

Bases: object

Creates a pygmo algorithm from parameters

__init__()

Methods

__init__()

new(type[, pop])

Create a pygmo algo.

static new(type, pop=False, **kwargs)[source]

Create a pygmo algo.

Optimizer parameters are extracted from kwargs.

Parameters:
  • type (str) – Name of the driver type

  • kwargs (dict, optional) – Additional parameters, type dependent

Returns:

The pygmo algorithm object

Return type:

imports.pygmo.algo