pub fn compute_lambda(strength: &StrengthGraph) -> Vec<f64>Expand description
Compute the measure of importance λ_i for each node.
λ_i = |{j : i strongly influences j}| + 0.5 * |{j : j strongly influences i, i ∈ F-set}|
In the initial phase (before F-set is known), returns:
lambda_i = |strong_neighbors[i]| (number of nodes i influences)
§Arguments
strength- The strength graph
§Returns
Vector of λ values indexed by node.