Esempio n. 1
0
def get_selection(name, *args, d={}, **kwargs):
    return get_from_list(get_selection_options(), name, args, {**d, **kwargs})
Esempio n. 2
0
            "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())
        })

    parse_doc_string(
        dummy, get_mutation, {
            "type": "mutation",
            "clazz": ":class:`~pymoo.model.mutation.Mutation`",
            "options": options_to_string(get_mutation_options())
        })