首页 | 本学科首页   官方微博 | 高级检索  
     

AOV网中全拓扑排序算法的设计及应用
引用本文:朱立华,王汝传.AOV网中全拓扑排序算法的设计及应用[J].微机发展,2004,14(12):123-125.
作者姓名:朱立华  王汝传
作者单位:南京邮电学院计算机科学与技术系,南京邮电学院计算机科学与技术系 江苏南京210003,江苏南京210003
基金项目:国家自然科学基金资助项目(70271050)
摘    要:以顶点表示活动的网络(AOV网)可用来表示整个工程中各个子工程的先后次序制约关系,利用拓扑排序算法能求得子工程的线性序列———拓扑序列。按此序列安排各子工程,能保证整个工程的顺利完成。传统的拓扑排序算法基于栈结构实现,只能求得实际存在的多个拓扑序列中的一种,削弱了算法的实用价值。文中为了弥补这一缺陷,设计全拓扑排序算法求出了AOV网中实际存在的全部拓扑序列。给出了AOV网的定义及拓扑排序算法思想,分析了传统拓扑算法的不足,提出了一个全拓扑排序求解算法。并讨论了算法中用到的数据结构,以及算法的伪代码实现,通过一个应用实例验证了全拓扑排序算法的实用性和正确性。

关 键 词:以顶点表示活动的网络  拓扑排序  全拓扑排序算法  拓扑序列
文章编号:1005-3751(2004)12-0123-03
修稿时间:2004年4月12日

Design and Application of Overall Topological Sort Algorithm in AOV Network
ZHU Li-hua,WANG Ru-chuan.Design and Application of Overall Topological Sort Algorithm in AOV Network[J].Microcomputer Development,2004,14(12):123-125.
Authors:ZHU Li-hua  WANG Ru-chuan
Abstract:Activity on vertex network(AOV network)can present orders of all sub_-engineerings of one engineering,use topotogical sort algorithm to work out the linear sequence of all sub_-engineerings called topological sequence. If arrange sub_-engineerings according to the sequence,can ensure the whole engineering completed successfully.The traditional topological sort algorithm basedon stack can work out only one of all topological sequences, weakening its applied value. To remedy the defect,this paper designs an overall topological sort altorithm to work out all topological sequences existed in one AOV network. The paper presents the definition of AOV network and the thinking of topological sort algorithm, then it analyzes defect of the traditional topological sort algorithm, afterwards, it brings forward an overall topological sort algorithm. The paper discusses the data structures of the algorithm, and presents the implementation of the algorithm using pseudocode. At last an application of the certain algorithm is given , and its results show that the overall topological sort algorithm has high availability and exactitude.
Keywords:AOV network  topological sort  overall topological sort algorithm  topological sequence
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号