1. degree distribution p(k)
probability that a randomly chosen node has degree k: p(k)=Nk/N inwhich,Nk=numberofnodeswithdegreek. 2. path length h
distance: the shortest path between two nodes
diameter: the maximum distance between any pair of nodes in a graph
average path length h=2Emax1⋅i,j=i∑hij Emax=2n(n−1) 3. clustering coefficient (for undirected graph) C to what extent do my friends know each other Ci=ki(ki−1)2ei inwhich,eiisthenumberofedgesofnodei; kiisthedegreeofnodei. 4. connectivity s
size of the largest connected component
BFS (breath first search)
2. Erdos_Renyi random graphs
Gnp: undirected graph with n nodes where each edge (u,v) appears i.i.d. (independently) with probability p Gnm: undirected graph with n nodes and m edges picked uniformly at random
Gnp:
1. degree distribution
it is binomial: P(k)=(kn−1)pk(1−p)n−1−k
average degree: k=p(n−1)≈pn
variance σ2=p(1−p)(n−1)
an important property kσ=p1−pn−11≈(n−1)1/21 asnincreases,thedistributionbecomesnarrowandthedegreeofanodeisinthevincinityofk
def: expansion: α basically it means given a subset of nodes S, the proportion of edges leaving S.
4. connectivity
k>1,largestconn.comp.exists Although real networks are not random graphs, the model Gnp is still extremely useful. It is the reference model for the rest of the class.
3. small-world network
key characteristics: high clustering and low path length