The resulting graph, as an igraph object. The vertices have a
"label" attribute.
Arguments
m
number of edges added at each step.
p
vector of label probabilities. If they don't sum 1, they will be scaled accordingly.
B
matrix indicating the affinity of vertices of each label.
t_max
maximum value of t (which corresponds to graph order)
G0
initial graph
t0
t value at which new vertex start to be attached. If G0 is provided,
this argument is ignored and assumed to be gorder(G0)+1. If it isn't, a G0
graph will be generated with order t0-1.
G0_labels
labels of the initial graph. If NULL, they will all be set to 1.