Pathfinder算法优化研究-计算机应用与软件.PDF
文本预览下载声明
第32卷第11期 计算机应用与软件 Vol32No.11
2015年11月 ComputerApplicationsandSoftware Nov.2015
Pathfinder算法优化研究
汤 天 波
(上海市科学学研究所 上海200235)
摘 要 Pathfinder算法是复杂网络分析及可视化的重要方法,但现有算法时间复杂度大,难以在大数据环境下广泛应用。提出
一种基于Prim算法的Pathfinder优化算法,在求解复杂网络图的最小生成树的过程中,通过距离矩阵计算得到Pathfinder算法的结
2
果图。算法时间复杂度可稳定为O(n)。实验结果表明,在顶点数为500的稠密网络上,该算法的运行时间有较大的优势。
关键词 复杂网络 可视化 Pathfinder算法 Prim算法
中图分类号 TP3 文献标识码 A DOI:10.3969/j.issn.1000386x.2015.11.064
RESEARCHONPATHFINDERALGORITHMOPTIMISATION
TangTianbo
(ShanghaiInstituteforScienceofScience,Shanghai200235,China)
Abstract Pathfinderalgorithmisanimportantmethodforcomplexnetworkanalysisandvisualisation.However,thetimecomplexityof
existingalgorithmsistoobigtobewidelyappliedinbigdataenvironment.WeproposedaPrimalgorithmbasedoptimisationofPathfinderal
gorithm,whichcangettheresultgraphofPathfinderalgorithmbycalculatingthedistancematrixintheprocessofsolvingtheminimumspan
2
ningtreeofthecomplexnetworksgraph.ThetimecomplexityofthealgorithmcanbelevelledofftoO(n).Experimentalresultsshowthat
thealgorithmhasagreatadvantageinrunningtimeondensenetworkswithvertexnumberof500.
Keywords Complexnetworks Visualisation Pathfinderalgorithm Primalgorithm
k
1/r
w(P)=[ r] (1)
w
0 引 言
显示全部