@Override
	public ISeq<Phenotype<G, C>> select(
		final Seq<Phenotype<G, C>> population,
		final int count,
		final Optimize opt
	) {
		requireNonNull(population, "Population");
		requireNonNull(opt, "Optimization");
		if (count < 0) {
			throw new IllegalArgumentException(format(
				"Selection count must be greater or equal then zero, but was %s",
				count
			));
		}

		final var random = RandomRegistry.random();
		return population.isEmpty()
			? ISeq.empty()
			: MSeq.<Phenotype<G, C>>ofLength(count)
				.fill(() -> select(population, opt, random))
				.toISeq();
	}
Return the sample size of the tournament selector.

@since 5.0

@return the sample size of the tournament selector
jenetics/src/main/java/io/jenetics/TournamentSelector.java