metaheuristic_designer.operators.factories.differential_evolution module#
Differential Evolution operator registry and factory.
- create_differential_evolution_operator(method, encoding=None, vectorized=True, name=None, **kwargs)[source]#
Create a DE operator by name.
- Return type:
- Parameters:
- methodstr
DE variant string, e.g.,
"de/rand/1".- encodingEncoding, optional
Encoding applied to the genotype.
- vectorizedbool, optional
Unused; kept for interface compatibility.
- namestr, optional
Display name; defaults to method.
- **kwargs
Forwarded to the DE operator function (e.g.,
F,Cr).
- Returns:
- OperatorFromLambda
The wrapped DE operator.
- Parameters:
method (str)
encoding (Encoding | None)
vectorized (bool)
name (str | None)