Preserve solutions to task combinations via local nondominated survival.
Combine task fitness and within-bin behavioral diversity.
Every evaluated offspring competes in each bin using its original
vector of task scores. Survival uses NSGA-II front ranks and
crowding for the aggregate task score and mean behavioral distance.
Parent sampling is uniform over occupied bins and then their members.
:param task_count: Number of task scores returned per evaluation.
:param sample: Callable (rng) returning an initial genome iterable.
:param mutate: Callable (genome, rng) returning an offspring genome.
Treat genome elements as immutable.
:param bin_capacity: Maximum number of survivors in each task subset.
:param batch_size: New candidate evaluations before the next competition.
:param max_bins: Cap on automatically generated subsets, defaulting
to max(64, 2 * task_count). Large families retain all singletons,
the full task, and a seeded selection of other subsets.
:param subsets: Optional explicit collection of task index subsets.
Include the full task subset. This overrides automatic bin selection.
:param aggregate: "mean" or "product" for fitness within each subset.
:param seed: Seed for selection, variation, and evaluator seeds.
Definition at line 57 of file cmoea.py.