Exemplo n.º 1
0
def filter_by_splitting_nodes(tr_nodes: [], graph_rem_one: gc.Graph):
    return list(
        filter(lambda node: not graph_rem_one.splits_graph(node), tr_nodes))
Exemplo n.º 2
0
def __filter_splitting_nodes(node_list: List[int], graph: gc.Graph):
    return list(filter(lambda x: not graph.splits_graph(x), node_list))