Operators#
Crossover#
Base class for crossover operators. |
|
BLX-alpha crossover operator. |
|
Simulated Binary Crossover (SBX) operator. |
|
Uniform crossover operator. |
|
One-point crossover operator. |
|
Two-point crossover operator. |
|
Simulated Binary Crossover (SBX) for integer-valued dimensions. |
|
Uniform crossover for categorical dimensions. |
Mutation#
Base class for mutation operators. |
|
Uniform mutation operator. |
|
Polynomial mutation operator. |
|
Gaussian mutation operator. |
|
Uniform integer mutation. |
|
Uniform categorical mutation. |
Selection#
Base class for parent selection operators. |
|
Tournament selection operator. |
|
Sequential selection operator. |
|
Parent selection using linear rank-based probabilities. |
|
Base class for survivor selection operators. |
|
Truncation selection operator. |
Repair#
- saealib.repair_clipping(candidates, bounds)[source]#
Repair operator that clips candidates to the given bounds.
- Parameters:
candidates (np.ndarray) – Candidate solutions to be repaired, shape (n, dim).
bounds (tuple[np.ndarray, np.ndarray]) – A (lb, ub) pair of lower and upper bound arrays.
- Returns:
Repaired candidates.
- Return type:
np.ndarray
Duplicate Elimination#
Filter offspring that duplicate any member of the current population. |
pymoo / External Library Adapters#
Adapter wrapping a pymoo crossover operator as a saealib |
|
Adapter wrapping a pymoo mutation operator as a saealib |