Generation of a mixture of directed preferential attachment (DPA) models
Generation of a mixture of directed preferential attachment (DPA) models
sampleDPAMixture(M, param)
Arguments
M: number of desired networks
param: list of list of parameters of the DPA models. Each element of param is a list with the following elements: prop(weightofthemixturecomponent),R (= number of iterations), alpha,beta , deltaIn,deltaOut (parameters of the DPA model)
Returns
list of 2 lists : the first (listAdj)isalistofMadjacencymatrices,thesecondalist(graphGroups) contains the true cluster labels