9ec91005aa4b7f6e5ba3a2246524ee84b77c5222,osmnx/simplify.py,,is_endpoint,#Any#Any#Any#,20

Before Change



        // add all the edge OSM IDs for outgoing edges
        for v in G.successors(node):
            for key in G.edge[node][v]:
                osmids.append(G.edge[node][v][key]["osmid"])

        // if there is more than 1 OSM ID in the list of edge OSM IDs then it is

After Change


        // add all the edge OSM IDs for incoming edges
        for u in G.predecessors(node):
            for key in range(G.number_of_edges(u, node)):
                osmids.append(G.edges[u, node, key]["osmid"])

        // add all the edge OSM IDs for outgoing edges
        for v in G.successors(node):
            for key in range(G.number_of_edges(node, v)):
                osmids.append(G.edges[node, v, key]["osmid"])

        // if there is more than 1 OSM ID in the list of edge OSM IDs then it is
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: gboeing/osmnx
Commit Name: 9ec91005aa4b7f6e5ba3a2246524ee84b77c5222
Time: 2017-08-21
Author: gboeing@berkeley.edu
File Name: osmnx/simplify.py
Class Name:
Method Name: is_endpoint


Project Name: gboeing/osmnx
Commit Name: 9ec91005aa4b7f6e5ba3a2246524ee84b77c5222
Time: 2017-08-21
Author: gboeing@berkeley.edu
File Name: osmnx/save_load.py
Class Name:
Method Name: get_undirected


Project Name: gboeing/osmnx
Commit Name: 9ec91005aa4b7f6e5ba3a2246524ee84b77c5222
Time: 2017-08-21
Author: gboeing@berkeley.edu
File Name: osmnx/simplify.py
Class Name:
Method Name: is_endpoint


Project Name: gboeing/osmnx
Commit Name: 9ec91005aa4b7f6e5ba3a2246524ee84b77c5222
Time: 2017-08-21
Author: gboeing@berkeley.edu
File Name: osmnx/simplify.py
Class Name:
Method Name: simplify_graph