Handler.calC(source,target)

  1. Return the shortest path from source company to target company based on a weighted people social network.
  2. Parameters
  3. - source: company id
  4. - - Starting node
  5. - target: company id
  6. - - Ending node
  7. Return: path: list
  8. - List of shortest path.
  9. Raises: NoPath: if no path exists between source company to target company.
  10. Notes:
  11. - When calculate the shortest path between two companies, we use the chairmen or senior manager to represent the company in social network.
 
projs/clans/docs/sps/handler.calc_source_target.txt · Last modified: 2014/01/21 15:32 by yoyoliliu     Back to top