metaheuristic_designer.operators.factories.debug module#
Debug operator registry and factory.
- create_debug_operator(method, encoding=None, name=None, **kwargs)[source]#
Create a debug operator by name.
- Return type:
- Parameters:
- methodstr
Key into
debug_ops_map.- encodingEncoding, optional
Encoding applied to the genotype.
- namestr, optional
Display name; defaults to method.
- **kwargs
Forwarded to the operator function.
- Returns:
- OperatorFromLambda
The wrapped debug operator.
- Parameters:
method (str)
encoding (Encoding | None)
name (str | None)