Skip to content

Commit 9717dee

Browse files
committed
New PageRank struct and supporting webgraph-rank cLI
1 parent af796aa commit 9717dee

9 files changed

Lines changed: 1457 additions & 1 deletion

File tree

algo/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@ pub use acyclicity::is_acyclic;
2525
pub mod llp;
2626
pub use llp::*;
2727

28+
pub mod rank;
2829
pub mod sccs;
2930
mod top_sort;
3031
pub use top_sort::top_sort;
3132
pub mod distances;
3233
pub mod prelude {
3334
pub use crate::acyclicity::is_acyclic;
3435
pub use crate::distances;
36+
pub use crate::rank;
3537
pub use crate::sccs::*;
3638
pub use crate::top_sort::top_sort;
3739
}

algo/src/rank/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Sebastiano Vigna
3+
*
4+
* SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
*/
6+
7+
pub mod pagerank;
8+
pub use pagerank::PageRank;

0 commit comments

Comments
 (0)