r - What is the value of assortativity for k-regular graphs? -
i want know value of assortativity special kinds of graphs.
tools exist analyzing graph structures , calculation of measures on them (these measures used in social networks , in general complex networks field). generated undirected k-regular graphs , running igraph library of r calculating assortativity result of library nan (not number) of generated graphs.
don't know in theory value not defined or correct value 1 or 0 , there limitation situations in implementation , programming of library.
i use code using igraph package of r assortativity.degree(sg, directed=false)
sg
k-regular graphs generated snap project (http://snap.stanford.edu/) loads file , entire of process done other kinds of networks , assortativity calculated correctly k-regular graphs problem exist.
see page mentioned same problem ring graphs , notes on value of assortativity @ last can't solve question completely!
the definition of assortativity implies any graph degrees equal will undefined because denominator of assortativity formula zero. in other words, assortativity measure not well-defined regular graphs.
Comments
Post a Comment