Differences

This shows you the differences between two versions of the page.

projs:clans:docs:sps [2014/01/21 16:07]
yoyoliliu
projs:clans:docs:sps [2014/01/28 03:26] (current)
yoyoliliu
Line 17: Line 17:
  - networkx:[[https://pypi.python.org/pypi/networkx/]]   - networkx:[[https://pypi.python.org/pypi/networkx/]]
====== Function====== ====== Function======
-  - [[projs:clans:docs:sps:threadhttpserver.initdataset()]] Create the social network and initial data set. +  - [[projs:clans:docs:sps:threadhttpserver.initdataset()]]: Create the social network and initial data set. 
-  - [[projs:clans:docs:sps:threadhttpserver.getdata()]] +  - [[projs:clans:docs:sps:threadhttpserver.getdata()]]: Get dataSet. 
-  - [[projs:clans:docs:sps:threadhttpserver.getcompanydataset]] +  - [[projs:clans:docs:sps:threadhttpserver.getcompanydataset()]]: Get company information. 
-  - [[projs:clans:docs:sps:handler.do_get]] +  - [[projs:clans:docs:sps:handler.do_get()]] 
-  - [[projs:clans:docs:sps:handler.calp_source_target]] +  - [[projs:clans:docs:sps:handler.calp(source,target)]]: Return the shortest from source to target in a weighted graph G. 
-  - [[projs:clans:docs:sps:handler.calc_source_target]] +  - [[projs:clans:docs:sps:handler.calc(source,target)]]: Return the shortest path from source company to target company based on a weighted people social network. 
-  - [[projs:clans:docs:sps:handler.writejson_path]] +  - [[projs:clans:docs:sps:handler.writejson(path)]]: Return a json file shown on the website about shortest path from person to person. 
-  - [[projs:clans:docs:sps:handler.writejson_cid1_cid2_pathlist]]+  - [[projs:clans:docs:sps:handler.writejson(cid1,cid2,pathlist)]]: Returns a json file shown on the website. It is list of shortest path from source company to target company.
-====== Flow Chat ======+====== Implementation ======
  - Main idea:   - Main idea:
  -   - call initDataset() as long as the server running   -   - call initDataset() as long as the server running
 
projs/clans/docs/sps.1390291640.txt.gz · Last modified: 2014/01/21 16:07 by yoyoliliu     Back to top