saealib.PostCrossoverEvent#
- class saealib.PostCrossoverEvent(ctx, candidates=None)[ソース]#
ベースクラス:
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.- パラメータ:
ctx (_EventContext)
candidates (ndarray | None)
Methods
Method Details
- PostCrossoverEvent.__init__(ctx, candidates=None)#
- パラメータ:
ctx (_EventContext)
candidates (ndarray | None)
- 戻り値の型:
None