Differences

This shows you the differences between two versions of the page.

projs:clans:docs:functions [2014/01/27 10:37]
yoyoliliu
projs:clans:docs:functions [2014/02/12 17:59] (current)
jfeng0
Line 3: Line 3:
^  API  ^  Description  ^ ^  API  ^  Description  ^
|  [[projs:clans:docs:getrelatedpeople|getRelatedPeople(people_name,[reuqired_page])]]  |  Return a list of people whose name is related with people_name  |   |  [[projs:clans:docs:getrelatedpeople|getRelatedPeople(people_name,[reuqired_page])]]  |  Return a list of people whose name is related with people_name  |  
-|  getRelatedCompany(company_name)  |  Return a list of companies whose name is related with company_name  |  +|  [[projs:clans:docs:getrelatedcompany|getRelatedCompany(company_name)]] |  Return a list of companies whose name is related with company_name  |  
|  getRelatedPeople(people_name1, people_name2, [including_people_list, excluding_people_list])  |  Return 2 list of people whose name is related with people_name1 and people_name2  |   |  getRelatedPeople(people_name1, people_name2, [including_people_list, excluding_people_list])  |  Return 2 list of people whose name is related with people_name1 and people_name2  |  
|  getRelatedCompany(company_name1, company_name2, [including_company_list, excluding_company_list])  |  Return 2 list of companies whose name is related with company_name1 and company_name2  |   |  getRelatedCompany(company_name1, company_name2, [including_company_list, excluding_company_list])  |  Return 2 list of companies whose name is related with company_name1 and company_name2  |  
Line 21: Line 21:
|  getGraphStatistics(social_network_type)  |  return radius, spectral_radius, average_clustering_coefficient, average_shortest_path_length, center, density, periphery, is_strongly_connected, number_of_strongly_connected_components, strongly_connected_components, is_weakly_connected, number_of_weakly_connected_components, weakly_connected_components  |   |  getGraphStatistics(social_network_type)  |  return radius, spectral_radius, average_clustering_coefficient, average_shortest_path_length, center, density, periphery, is_strongly_connected, number_of_strongly_connected_components, strongly_connected_components, is_weakly_connected, number_of_weakly_connected_components, weakly_connected_components  |  
|  getGraphStatistics(social_network_type, unique_node_id)  |  return closeness, betweenness, in_degree_centrality, out_degree_centrality, in_degree, out_degree, eccentricity  |   |  getGraphStatistics(social_network_type, unique_node_id)  |  return closeness, betweenness, in_degree_centrality, out_degree_centrality, in_degree, out_degree, eccentricity  |  
-|  getShortestPath(pid1, pid2, [including_pid_list, excluding_pid_list]) |  return shortest path between two people  |  +|  getShortestPath(pid1, pid2, [including_pid_list, excluding_pid_list]) |  return shortest path between two people  |  
|  getShortestPath(stock_id1, stock_id2, [including_stock_id_list, excluding_stock_id_list])  |  return shortest path between two companies  |   |  getShortestPath(stock_id1, stock_id2, [including_stock_id_list, excluding_stock_id_list])  |  return shortest path between two companies  |  
|  getShortestPath(stock_id, pid, [including_stock_id_list, excluding_stock_id_list, including_pid_list, excluding_pid_list])  |  return shortest path between people and company  |   |  getShortestPath(stock_id, pid, [including_stock_id_list, excluding_stock_id_list, including_pid_list, excluding_pid_list])  |  return shortest path between people and company  |  
|  getRelationBridge(stock_id1, stock_id2, [duration])  |  return bridge between companies  |   |  getRelationBridge(stock_id1, stock_id2, [duration])  |  return bridge between companies  |  
|  getPeopleBridge(stock_id1, stock_id2, [duration])  |  return people who connect two companies  |   |  getPeopleBridge(stock_id1, stock_id2, [duration])  |  return people who connect two companies  |  
-| GetSubIndustyD(industry) | return colleges which alumnus are most common working in sub industry. | +| [[projs:clans:docs:snd:getindustrydistribution|GetSubIndustyD(subIndustry)]]| return colleges which alumnus are most common working in sub industry. | 
-| GetIndistryD(college,industry) | return a list of colleges which alumnus are most common working in this industry. | +| [[projs:clans:docs:snd:getindistryd|GetIndistryD(industry,top)]] | return a list of colleges which alumnus are most common working in this industry. | 
-| GetCompanyDistribution(college,top) | return the most common companies which are most alumnus of this college work in. | +| [[projs:clans:docs:snd:getcompanydistribution|GetCompanyDistribution(college,top)]]| return the most common companies which are most alumnus of this college work in. | 
-| GetTitleDistribution(college,top) |  return a sorted list of title which alumnus of this college most get. |+| [[projs:clans:docs:snd:gettitledistribution|GetTitleDistribution(college,top)]] |  return a sorted list of title which alumnus of this college most get. |
Line 88: Line 88:
|  [[projs:clans:docs:ifnewpersonexistinxml|ifNewPersonExistInXML(person,information_list)]]  |  whether the new person exist in the current data  | |  [[projs:clans:docs:ifnewpersonexistinxml|ifNewPersonExistInXML(person,information_list)]]  |  whether the new person exist in the current data  |
|  [[projs:clans:docs:addnewperson|addNewRecord(person,information_list, update_date, source)]]  |  add new person  |   |  [[projs:clans:docs:addnewperson|addNewRecord(person,information_list, update_date, source)]]  |  add new person  |  
-|  [[projs:clans:docs:mergenewpersoninxml|mergeNewPersonInXML(person, information_list, update_date, source)]]  |  merge perple's information in the current xml file  |  +|  [[projs:clans:docs:mergenewpersoninxml|mergeNewPersonInXML(person, information_list, update_date, source)]]  |  merge people's information in the current xml file  |  
|  [[projs:clans:docs:updateperson|updatePerson(pid, information_list, update_date, source)]]  |  update exist person's information  |   |  [[projs:clans:docs:updateperson|updatePerson(pid, information_list, update_date, source)]]  |  update exist person's information  |  
 
projs/clans/docs/functions.1390790232.txt.gz · Last modified: 2014/01/27 10:37 by yoyoliliu     Back to top