saealib.PostCrossoverEvent#
- class saealib.PostCrossoverEvent(ctx, candidates=None)[source]#
Bases:
EventFired after crossover and repair.
candidatesis exposed for observation only; reassigning it does not change the pipeline’s output (algorithms keep using their own local array reference after dispatch). To actually alter crossover output, usewith_post(fn)on theCrossoverinstance instead.- Parameters:
ctx (_EventContext)
candidates (ndarray | None)
Methods
Method Details
- PostCrossoverEvent.__init__(ctx, candidates=None)#
- Parameters:
ctx (_EventContext)
candidates (ndarray | None)
- Return type:
None