pub struct Pagerank<T> where
T: Eq + Hash + Clone, { /* fields omitted */ }
Expand description
Sets the dumping factor. A value between 0 and 100 is expected.
Adds an node between two nodes
Returns the current score of a gien node
Returns the number of in edges for the given node
Returns the number of out edges for the given node
Returns the node_id for a given node name
Calculates PageRank with custom convergence
Calculates pagerank with custom convergence
Return all nodes, sorted by their pagerank
Calculates a single iteration of the PageRank
Return the number of vertices/nodes in the current graph
Returns the number of edges in the current graph
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.