码迷,mamicode.com
首页 >  
搜索关键字:moral graph    ( 3648个结果
[leetcode] 133 Clone Graph
问题描述: 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 uniquely. We use # as a separat...
分类:其他好文   时间:2015-01-17 19:34:16    阅读次数:186
Docker中的Graph架构
分类:其他好文   时间:2015-01-17 06:42:35    阅读次数:163
正则表达式笔记 sed工具
[:alnum:]代表英文大小写字符及数字,即0-9A-Za-z[:alpha:]代表任何英文大小写字符,即A-Za-z[:blank:]代表空格键与TAB键[:cntrl:]代表键盘上面的控制案件,即包括CRLFTABDEL等[:digit:]代表数字0-9[:graph:]除了空格键与TAB键外其他的所有键[:lower:]代表小写字符a-z[:print:]..
分类:其他好文   时间:2015-01-16 16:57:31    阅读次数:244
(次小生成树) poj 1679
The Unique MSTTime Limit:1000MSMemory Limit:10000KTotal Submissions:21358Accepted:7560DescriptionGiven a connected undirected graph, tell if its minim...
分类:其他好文   时间:2015-01-16 16:18:13    阅读次数:172
Hello Giraph
Apache Giraph http://blog.cloudera.com/blog/2014/02/how-to-write-and-run-giraph-jobs-on-hadoop/ http://blog.cloudera.com/blog/2014/05/how-to-manage-time-dependent-multilayer-networks-in-apache-hadoo...
分类:其他好文   时间:2015-01-16 13:09:18    阅读次数:813
codeforces#285--C - Misha and Forest(拓扑排序变形)
C - Misha and Forest Time Limit:1000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Submit Status Description Let's define a forest as a non-directed acyclic graph (also...
分类:编程语言   时间:2015-01-16 10:05:48    阅读次数:174
数据结构基础(20) --图的存储结构
图的结构定义    图是由一个顶点集 V 和一个弧集 E构成的数据结构。     Graph = (V , E )   其中,E = {| v,w∈V 且 P(v,w)} 表示从 v 到 w 的一条弧,并称 v 为弧尾,w 为弧头。谓词 P(v,w) 定义了弧 的意义或信息。   由顶点集和边集构成的图称作无向图。   如果”弧”是有方向的,则称由顶点集和弧集构成的图为有向图。 邻接矩阵   定义...
分类:其他好文   时间:2015-01-14 16:56:54    阅读次数:238
数据结构基础(21) --DFS与BFS
DFS    从图中某个顶点V0 出发,访问此顶点,然后依次从V0的各个未被访问的邻接点出发深度优先搜索遍历图,直至图中所有和V0有路径相通的顶点都被访问到(使用堆栈). //使用邻接矩阵存储的无向图的深度优先遍历 template void Graph::DFS() { stack iStack; showVertex(0); vertexList[0]->wasVi...
分类:其他好文   时间:2015-01-14 16:55:55    阅读次数:204
codeforce #501 c Misha and Forest
Let's define a forest as a non-directed acyclic graph (also without loops and parallel edges). One day Misha played with the forest consisting of n vertices. For each vertex v from 0 to n?-?1 he ...
分类:其他好文   时间:2015-01-13 15:58:19    阅读次数:211
[LeetCode#133]Clone Graph
The problem:Clone an undirected graph. Each node in the graph contains alabeland a list of itsneighbors.OJ's undirected graph serialization:Nodes are ...
分类:其他好文   时间:2015-01-13 00:04:10    阅读次数:135
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!