saealib.space.SamplingService# class saealib.space.SamplingService(*args, **kwargs)[source]# Bases: Protocol Service for drawing new genomes from a SearchSpace. Methods __init__ sample Draw n genomes from the space. Method Details SamplingService.__init__(*args, **kwargs)# SamplingService.sample(n, rng=None)[source]# Draw n genomes from the space. Parameters: n (int) rng (Generator | None) Return type: GenomeBatch