Title :
Comparison of Prim and Kruskal on Shanghai and Shenzhen 300 Index Hierarchical Structure Tree
Author :
Huang, Feixue ; Gao, Pengfei ; Wang, Yu
Author_Institution :
Dept. of Econ., Dalian Univ. of Technol., Dalian, China
Abstract :
This study´s objective is to assess the performance of the common Prim and the Kruskal of the minimum spanning tree in building up super metric space. We proposed the use of complexity analysis and experimental methods to assess these two methods. After the analysis of the sample data of Shanghai and Shenzhen 300 index daily from the second half of 2005 to the second half of 2007, The results showed that when the number of shares is less than 100, judging from the space complexity, Kruskal algorithm is relatively superior to Prim algorithm; however, when the number of shares is greater than 100, from the time complexity´s aspect, Prim algorithm is more superior. This study´s conclusion indicates that matrix of Shanghai and Shenzhen 300 stock the inter-continental distance formed by the edge map more, so Prim better than Kruskal.
Keywords :
computational complexity; stock markets; trees (mathematics); Kruskal algorithm; Prim algorithm; Shanghai stock market index; Shenzhen 300 stock market index; complexity analysis; minimum spanning tree; space complexity; super metric space; time complexity; Aerospace industry; Algorithm design and analysis; Content management; Euclidean distance; Extraterrestrial measurements; Information systems; Investments; Software performance; Space technology; Stability analysis; Hierarchical structure tree index; Kruskal algorithm; Minimum spanning tree(MST); Prim algorithm; Super metric Spaces;
Conference_Titel :
Web Information Systems and Mining, 2009. WISM 2009. International Conference on
Conference_Location :
Shanghai
Print_ISBN :
978-0-7695-3817-4
DOI :
10.1109/WISM.2009.56