graphs.page_rank

Author: https://github.com/bhushan-borole

Attributes

graph

Classes

Node

Functions

main()

page_rank(nodes[, limit, d])

Module Contents

class graphs.page_rank.Node(name)
__repr__()
add_inbound(node)
add_outbound(node)
inbound = []
name
outbound = []
graphs.page_rank.main()
graphs.page_rank.page_rank(nodes, limit=3, d=0.85)
graphs.page_rank.graph = [[0, 1, 1], [0, 0, 1], [1, 0, 0]]