growing.random.game(n, m=1, directed=TRUE, citation=FALSE)
TRUE
a citation graph is created,
ie. in each time step the added edges are originating from the new
vertex.m
new edges are created. If
citation
is FALSE
these edges are connecting two
uniformly randomly chosen vertices, otherwise the edges are connecting
new vertex to uniformly randomly chosen old vertices.barabasi.game
, erdos.renyi.game
g <- growing.random.game(500, citation=FALSE)
g2 <- growing.random.game(500, citation=TRUE)
Run the code above in your browser using DataLab