This is an old revision of the document!


Class: SocialNetwork

Description

Class SocialNetwork calculates basic features of social network. For example, each college is a component. We calculate the component basic features such as density, diameter, average path length, number of nodes, average degree, average degree centrality, average people PageRank, average closeness and average betweenness.

Parameter

  1. Graph G

Return

  1. Matrix SN with row denotes different college, columns denote basic feature value.

Detail Information

  1. related python modules: networkx, MySQLdb

Functions

  1. ShowInformation()
  2. GetDensity()
  3. GetAPL()
  4. GetPeopleRank()
  5. GetBetweenness()
  6. GetCloseness()
  7. GetDegree()
  8. GetDegreeCentrality()
 
projs/clans/docs/snbf.1390184260.txt.gz · Last modified: 2014/01/20 10:17 by yoyoliliu     Back to top