文件名称:Topsort
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.04kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
所谓拓扑排序是指将顶点按照拓扑次序排列。有几种简单的算法可以求出一个图的拓扑次序。一种算法的思想如下:
(1)在有向图中查找一个没有后继(或前驱)的顶点并添加到顶点表中。
(2)从图中删除该顶点和所有以该顶点为头(尾)的弧。
-The so-called topological sorting refers to the vertex order in accordance with the topology. There are several simple algorithm can find the order of a topological map. The idea of an algorithm as follows: (1) in the directed graph to find a follow-up (or precursor) is added to the vertex and vertex table. (2) from the plan to remove all of the vertex and the vertex for the head (tail) of the arc.
(1)在有向图中查找一个没有后继(或前驱)的顶点并添加到顶点表中。
(2)从图中删除该顶点和所有以该顶点为头(尾)的弧。
-The so-called topological sorting refers to the vertex order in accordance with the topology. There are several simple algorithm can find the order of a topological map. The idea of an algorithm as follows: (1) in the directed graph to find a follow-up (or precursor) is added to the vertex and vertex table. (2) from the plan to remove all of the vertex and the vertex for the head (tail) of the arc.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
有向无环图的拓扑排序和关键路径.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.