码迷,mamicode.com
首页 >  
搜索关键字:moral graph    ( 3648个结果
Clone Graph
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. How we serialize an undirected graph: Nodes are labele ...
分类:其他好文   时间:2016-08-29 08:00:51    阅读次数:134
图的拓扑排序(转)
一、概述 对一个有向无环图(Directed Acyclic Graph简称DAG)G进行拓扑排序,是将G中所有顶点排成一个线性序列,使得图中任意一对顶点u和v,若<u,v> ∈E(G),则u在线性序列中出现在v之前。 通常,这样的线性序列称为满足拓扑次序(TopoiSicai Order)的序列, ...
分类:编程语言   时间:2016-08-28 22:27:10    阅读次数:271
POJ1679(次小生成树)
The Unique MST Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 27651 Accepted: 9909 Description Given a connected undirected graph, tell if ...
分类:其他好文   时间:2016-08-28 22:26:17    阅读次数:255
Gym 100801G Graph 拓扑排序
http://codeforces.com/gym/100801/attachments 用set维护一下入度为零的点,每次将当前指针和下一个指针连一条边 写博客只是为了纪念一下第一次用set,还有我逝去的4小时青春 PS.iterator在迭代器中不要xjb改 ...
分类:编程语言   时间:2016-08-28 06:30:25    阅读次数:437
十大开源游戏引擎深入比较(转)
在国内外,业界盛传有十大开源游戏引擎,分别是OGRE、Irrlicht、Panda3D、Crystal Space、jME、Blender Game Engine、Reality Factory、The Nebula Device 2、RealmForge、OpenScene- Graph。我们对这 ...
分类:其他好文   时间:2016-08-27 12:43:11    阅读次数:399
Clone Graph -- LeetCode
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ's undirected graph serialization: Nodes are labeled ...
分类:其他好文   时间:2016-08-27 10:01:38    阅读次数:180
一个用UpdateLayeredWindow实现窗体半透明的delphi的代码
http://www.pudn.com/downloads171/sourcecode/windows/detail791686.html unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graph ...
分类:Windows程序   时间:2016-08-27 06:25:34    阅读次数:254
文本处理小公举(cut,sort,uniq,head,tail,tr,wc,diff)
tr作用:可搭配集对应字符对字符的转换和删除集对应字符[:alnum:]:字母和数字[:alpha:]:字母[:cntrl:]:控制(非打印)字符[:digit:]:数字[:graph:]:图形字符[:lower:]:小写字母[:print:]:可打印字符[:punct:]:标点符号[:space:]:空白字符[:upper:]:大写字母[:xdigit:..
分类:其他好文   时间:2016-08-25 22:03:20    阅读次数:361
图的深度优先搜索和广度优先搜索算法、最小生成树两种算法 --C++实现
一:通用图结构 #ifndef _GRAPH_H #define _GRAPH_H #include #include #include #include using namespace::...
分类:编程语言   时间:2016-08-25 21:48:58    阅读次数:119
图的拓扑排序、关键路径、最短路径算法 -- C++实现
一:拓扑排序 对一个有向无环图(Directed Acyclic Graph简称DAG)G进行拓扑排序,是将G中所有顶点排成一个线性序列,使得图中任意一对顶点u和v,若边(u,v)∈E(G),则u在...
分类:编程语言   时间:2016-08-25 21:33:34    阅读次数:213
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!