6fc9d1d79e448968770ad45f118fbad8fb7aba45,gem/utils/graph_util.py,,print_graph_stats,#Any#,39

Before Change




def print_graph_stats(G):
    print("// of nodes: %d, // of edges: %d" % (G.number_of_nodes(),
                                              G.number_of_edges()))


def sample_graph(di_graph, n_sampled_nodes=None):

After Change




def print_graph_stats(G):
    print("// of nodes: %d, // of edges: %d" % (len(G.nodes),
                                              len(G.edges)))


def sample_graph(di_graph, n_sampled_nodes=None):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: palash1992/GEM
Commit Name: 6fc9d1d79e448968770ad45f118fbad8fb7aba45
Time: 2020-03-20
Author: borjamolina13@gmail.com
File Name: gem/utils/graph_util.py
Class Name:
Method Name: print_graph_stats


Project Name: palash1992/GEM
Commit Name: 6fc9d1d79e448968770ad45f118fbad8fb7aba45
Time: 2020-03-20
Author: borjamolina13@gmail.com
File Name: gem/utils/graph_util.py
Class Name:
Method Name: saveGraphToEdgeListTxt


Project Name: palash1992/GEM
Commit Name: 6fc9d1d79e448968770ad45f118fbad8fb7aba45
Time: 2020-03-20
Author: borjamolina13@gmail.com
File Name: gem/evaluation/evaluate_graph_reconstruction.py
Class Name:
Method Name: expGR


Project Name: palash1992/GEM
Commit Name: 6fc9d1d79e448968770ad45f118fbad8fb7aba45
Time: 2020-03-20
Author: borjamolina13@gmail.com
File Name: gem/utils/graph_util.py
Class Name:
Method Name: print_graph_stats