Skip to content

Commit 0a8c662

Browse files
committed
convergence note
1 parent fb12e7d commit 0a8c662

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/centrality/algorithms.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,11 @@ where
351351
///
352352
/// a vector of `f64` representing eigenvector centralities of each node in the graph.
353353
///
354+
/// # Note
355+
///
356+
/// the katz centrality migh not converge if
357+
/// alpha is larger than the recipocal of the larger eigen value of the network.
358+
///
354359
/// # Example
355360
/// ```rust
356361
/// use graphina::centrality::algorithms::katz_centrality_impl;
@@ -460,6 +465,11 @@ where
460465
///
461466
/// a vector of `f64` representing eigenvector centralities of each node in the graph.
462467
///
468+
/// # Note
469+
///
470+
/// the katz centrality migh not converge if
471+
/// alpha is larger than the recipocal of the larger eigen value of the network.
472+
///
463473
/// # Example
464474
/// ```rust
465475
/// use graphina::centrality::algorithms::katz_centrality;
@@ -522,6 +532,11 @@ where
522532
///
523533
/// a vector of `f64` representing eigenvector centralities of each node in the graph.
524534
///
535+
/// # Note
536+
///
537+
/// the katz centrality migh not converge if
538+
/// alpha is larger than the recipocal of the larger eigen value of the network.
539+
///
525540
/// # Example
526541
/// ```rust
527542
/// use graphina::centrality::algorithms::katz_centrality_numpy;

0 commit comments

Comments
 (0)