View source: R/centrality-batch18.R
| centrality_cda | R Documentation |
Wang et al.'s CDA returns the propagation-capability score
PC_i=CD_i+\sum_j(w_{ij}/w_{\max})CD_j, where
CD_i=[\alpha d_i+(1-\alpha)s_i]/[1+\exp(-C_i^w)].
Here d is degree, s is strength, and Cw is Barrat's weighted local
clustering coefficient. The maximum edge weight is taken over the
whole graph, including other connected components. Inner CD scores
remain raw until the final optional normalization of PC.
centrality_cda(x, cda_alpha = 0.5, ...)
x |
Network input accepted by |
cda_alpha |
Degree-versus-strength mixing weight between zero and one. Default 0.5 follows the source; endpoints select strength and degree respectively while retaining weighted clustering and neighbor contributions. |
... |
Additional arguments to |
Uses finite nonnegative weights on an undirected graph. Zero-weight edges are absent connections. Clustering is set to zero for nodes with fewer than two positive-weight neighbors; this convention agrees with the source's leaf example. Isolates and edgeless graphs score zero. Weights retain their original units: scaling all weights can change scores and rankings because degree and strength are combined. At alpha zero, uniform weight scaling scales scores proportionally; at alpha one, scores are invariant to that scaling. Binary inputs are independent of alpha because their degree and strength coincide.
Self-loops are removed. For weighted directed inputs, opposite arcs
are added into undirected edge weights. Parallel weights are combined
by simplify first, with any remaining parallel edges added.
Without weights, the simple undirected skeleton is used. These are
explicit cograph projections to the source's undirected domain.
mode and shortest-path weight inversion do not affect CDA.
Nonfinite intermediate strengths or scores raise an error, including
when normalization is requested.
Named numeric vector in input node order.
Wang, Q., Ren, J., Wang, Y., Zhang, B., Cheng, Y., & Zhao, X. (2018). CDA: A Clustering Degree Based Influential Spreader Identification Algorithm in Weighted Complex Network. IEEE Access, 6, 19550-19559. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1109/ACCESS.2018.2822844")}.
centrality_cda(igraph::make_ring(5), cda_alpha = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.