metaheuristic_designer.operators.operator_functions.utils#

Functions

add_const(population_matrix, fitness_array)

Add a constant (or vector) to every gene of the population.

dummy_op(population_matrix, fitness_array[, ...])

Return a matrix of constant value f with the same shape as the input.

Classes

ObtainStatisticDef(operator_fn[, params, ...])

Wrap a statistic‑computing function into an Operator.

OperatorFnDef(operator_fn[, params, ...])

Bridge a matrix-to-matrix operator function into an Operator.

OperatorRandomDef(operator_fn[, params, ...])

Bridge a random-style operator function into an Operator.

OperatorSwarmDef(operator_fn[, params, ...])

Bridge a swarm operator function into an Operator.