def get_sampling(name, *args, d={}, **kwargs): return get_from_list(get_sampling_options(), name, args, {**d, **kwargs})
from pymoo.factory import get_algorithm_options, get_selection_options, get_crossover_options, \ get_mutation_options, get_termination_options, get_algorithm, get_selection, get_crossover, get_mutation, \ get_termination, get_sampling, get_sampling_options parse_doc_string( dummy, get_algorithm, { "type": "algorithm", "clazz": ":class:`~pymoo.model.algorithm.Algorithm`", "options": options_to_string(get_algorithm_options()) }) parse_doc_string( dummy, get_sampling, { "type": "sampling", "clazz": ":class:`~pymoo.model.sampling.Sampling`", "options": options_to_string(get_sampling_options()) }) parse_doc_string( dummy, get_selection, { "type": "selection", "clazz": ":class:`~pymoo.model.selection.Selection`", "options": options_to_string(get_selection_options()) }) parse_doc_string( dummy, get_crossover, { "type": "crossover", "clazz": ":class:`~pymoo.model.crossover.Crossover`", "options": options_to_string(get_crossover_options()) })