Differences
This shows you the differences between two versions of the page.
projs:clans:docs:sps:handler.writejson_cid1_cid2_pathlist [2014/01/21 01:30] honeyzhaoqian created |
projs:clans:docs:sps:handler.writejson_cid1_cid2_pathlist [2014/01/21 16:02] (current) yoyoliliu |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Handler.writejson(cid1,cid2,pathList) ====== | ====== Handler.writejson(cid1,cid2,pathList) ====== | ||
- | ====== Description ====== | + | - Returns a json file shown on the website. It is list of shortest path from source company to target company. |
- | ====== Parameter ====== | + | - Parameters: |
- | ====== Detail Information ====== | + | - - cid1: company id, starting node |
+ | - - cid2: company id, ending node | ||
+ | - - pathList: list of shortest path | ||
+ | - Returns: four list of path | ||
+ | - Raises: NoPath: if no path exists between source and target, return null. | ||
+ | - Notes: give an example. |