如果您从 R 中使用 igraph,请使用此选项
sample_last_cit {igraph} | R 文档 |
sample_last_cit
创建一个图,其中顶点会老化,并根据上次引用发生的时间来获取新的连接。
sample_last_cit(
n,
edges = 1,
agebins = n/7100,
pref = (1:(agebins + 1))^-3,
directed = TRUE
)
last_cit(...)
sample_cit_types(
n,
edges = 1,
types = rep(0, n),
pref = rep(1, length(types)),
directed = TRUE,
attr = TRUE
)
cit_types(...)
sample_cit_cit_types(
n,
edges = 1,
types = rep(0, n),
pref = matrix(1, nrow = length(types), ncol = length(types)),
directed = TRUE,
attr = TRUE
)
cit_cit_types(...)
n |
顶点数。 |
边 |
每步的边数。 |
agebins |
老化箱的数量。 |
pref |
向量( |
有向 |
逻辑标量,是否生成有向网络。 |
... |
传递给实际的构造函数。 |
types |
长度为“ |
attr |
逻辑标量,是否将顶点类型作为名为“ |
sample_cit_cit_types
是一个随机块模型,其中图正在增长。
sample_cit_types
类似地是一个增长的随机块模型,但边的概率仅取决于(潜在的)被引用顶点。
一个新图。
Gabor Csardi csardi.gabor@gmail.com