def parse_vertex(line, numV):
    fields = line.split(' ')
    title, refs = fields[0], fields[1:]
    outEdges = [Edge(ref) for ref in refs]
    return (title, Vertex(title, 1.0/numV, outEdges, True))
dataset/ETHPy150Open douban/dpark/examples/pagerank.py/parse_vertex/original