Handler.writejson(cid1,cid2,pathList)

  1. Returns a json file shown on the website. It is list of shortest path from source company to target company.
  2. Parameters:
  3. - cid1: company id, starting node
  4. - cid2: company id, ending node
  5. - pathList: list of shortest path
  6. Returns: four list of path
  7. Raises: NoPath: if no path exists between source and target, return null.
  8. Notes: give an example.
 
projs/clans/docs/sps/handler.writejson_cid1_cid2_pathlist.txt · Last modified: 2014/01/21 16:02 by yoyoliliu     Back to top