gemseo / algos / opt / core

updater_factory module

Factory for the trust updater

class gemseo.algos.opt.core.updater_factory.UpdaterFactory[source]

Bases: object

Creates the trust updater.


PENALTY = 'penalty'
RADIUS = 'radius'
TRUST_PARAMETERS = ['radius', 'penalty']
create(name, thresholds, multipliers, bound)[source]

Factory method to create a TrustUpdater subclass from an update name.

  • name (string) – update name

  • thresholds (tuple) – thresholds for the decreases ratio

  • multipliers (tuple) – multipliers for the trust parameter

  • bound – (lower or upper) bound for the trust parameter


trust updater