Differences
This shows you the differences between two versions of the page.
projs:clans:docs:sps [2014/01/21 16:16] yoyoliliu |
projs:clans:docs:sps [2014/01/28 03:26] (current) yoyoliliu |
||
---|---|---|---|
Line 20: | Line 20: | ||
- [[projs:clans:docs:sps:threadhttpserver.getdata()]]: Get dataSet. | - [[projs:clans:docs:sps:threadhttpserver.getdata()]]: Get dataSet. | ||
- [[projs:clans:docs:sps:threadhttpserver.getcompanydataset()]]: Get company information. | - [[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)]]: Return the shortest from source to target in a weighted graph G. | - [[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)]]: Return the shortest path from source company to target company based on a weighted people social network. | - [[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. | ||
Line 26: | Line 26: | ||
- [[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. | - [[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 |