Differences

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

projs:clans:docs:sps [2014/01/21 01:31]
honeyzhaoqian
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]] +  - [[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. 
-  - Handler.do_GET() +  - [[projs:clans:docs:sps:handler.do_get()]] 
-  - Handler.calP(source,target) +  - [[projs:clans:docs:sps:handler.calp(source,target)]]: Return the shortest from source to target in a weighted graph G. 
-  - 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. 
-  - 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. 
-  - 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.1390239112.txt.gz · Last modified: 2014/01/21 01:31 by honeyzhaoqian     Back to top