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

    parse_doc_string(
        dummy, get_termination, {
            "type": "termination",
            "clazz": ":class:`~pymoo.model.termination.termination`",
            "options": options_to_string(get_termination_options())
        })