rostok.graph_grammar.mutation

Functions

add_mut(graph, nodes_list[, type_distribution])

Mutation to add nodes while maintaining properties DAG and rostok builder.

add_node_after_leaf(psedo_edge, graph, node)

add_node_between(edge, graph, node)

add_node_mutation(node, graph)

available_for_add_bodies_edges(graph)

available_for_add_joint_edges(graph)

available_for_add_transform_edges(graph)

available_for_del_body(graph)

check_edge(functors_before, functors_after, edge)

check_pass_node_types(functors, node)

del_mut(graph, nodes_list[, type_distribution])

Mutation to remove nodes while maintaining properties DAG and rostok builder

del_node(node_id, graph)

delete_node_mutation(node, graph)

get_random_node(nodes_list[, type_distribution])

split_by_feature(list_ids, graph, is_separator)