def totalStops(citibike): """ Retorna el total de estaciones (vertices) del grafo """ return gr.numVertices(citibike["graph"])
def totalStops(analyzer): """ Retorna el total de estaciones (vertices) del grafo """ return gr.numVertices(analyzer['connections'])
def num_vertices(graph): return gr.numVertices(graph["graph"])
def totalStations(citibike): """ Retorna el total de estaciones (vertices) del grafo """ return gr.numVertices(citibike['connections'])
def totalCommunities(Inite): return gr.numVertices(Inite["Graph"])
def num_vert_mst(mst): grafo = mst['grafo'] return gr.numVertices(grafo)
def totalStations(analyzer): return gr.numVertices(analyzer['communityAreas'])
def numStations(citibike): """ Retorna el número de vértices (estaciones). """ return gr.numVertices(citibike['graph'])
def totalStops(taxis): """ Retorna el total de estaciones (vertices) del grafo """ return gr.numVertices(taxis['graph'])
def buscar_vertices(graph): return gr.numVertices(graph['grafo'])
def totalVertices(analyzer): return gr.numVertices(analyzer['connections'])