Differences
This shows you the differences between two versions of the page.
projs:clans:docs:sps:handler.writejson_cid1_cid2_pathlist [2014/01/21 15:57] yoyoliliu |
projs:clans:docs:sps:handler.writejson_cid1_cid2_pathlist [2014/01/21 16:02] (current) yoyoliliu |
||
---|---|---|---|
Line 2: | Line 2: | ||
- Returns a json file shown on the website. It is list of shortest path from source company to target company. | - Returns a json file shown on the website. It is list of shortest path from source company to target company. | ||
- Parameters: | - Parameters: | ||
- | - | + | - - 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. |