createSolution

open override fun createSolution(): BinarySolution

Creates a new solution:

  • For the first N-1 creations, generates masks with increasing fixed cardinalities K = 1, 2, …, N-1 to prime the population with diverse sizes.

  • Afterwards, generates a random non‑empty mask.