updater_factory module¶
Factory for the trust updater¶
-
class
gemseo.algos.opt.core.updater_factory.UpdaterFactory[source]¶ Bases:
objectCreates the trust updater.
Initializer.
-
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.
- Parameters
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
- Returns
trust updater
-