Calculate the expected average degree of a DCSBM

get_dcsbm_exav_deg(n, pri, B, ex_theta = 1)

Arguments

n

number of nodes

pri

distribution of node labels (K x 1)

B

connectivity matrix (K x K)

ex_theta

expected value of theta

Value

expected average degree of a DCSBM