码迷,mamicode.com
首页 >  
搜索关键字:graph cut    ( 8632个结果
【Linux】鸟哥的Linux私房菜基础学习篇整理(六)
1. 正则表达式特殊符号。[:alnum:]:代表英文大小写字符及数字;[:alpha:]:代表英文大小写字符;[:blank:]:代表空格键与[Tab]键;[:cntrl:]:代表键盘上的控制键,即包括CR、LF、Tab、Del键;[:digit:]:代表数字;[:graph:]:除了空格符外的其...
分类:系统相关   时间:2014-08-08 15:20:56    阅读次数:300
数据结构--图--图的数组存储表示,深度优先搜索遍历和广度优先搜索遍历
图有四种存储结构:数组,邻接表,十字链表,邻接多重表。下面以数组为存储结构来实现图的深度优先搜索遍历和广度优先搜索遍历。其中广度优先搜索遍历中有用到STL中的queue,注意头文件的包含。具体代码如下: //图的数组(邻接矩阵)存储表示和深度优先遍历 const int MAX_VERTEX_NUM=20; //最大顶点数 typedef enum {DG,DN,UDG,UDN} Graph...
分类:其他好文   时间:2014-08-08 12:39:35    阅读次数:224
Perl语言学习笔记 day 1
1、Perl Practical Extraction and Report Language:实用摘录与报表语言 2、多行注释 (1) =需要顶格写 = description statement; =cut (2)末尾的description需要顶格写 description;   print "Hello,world!\n"; description 3、数字:...
分类:其他好文   时间:2014-08-07 00:51:37    阅读次数:238
数据结构之图 Part2 - 1
邻接矩阵 网上很少有C# 写图的数据结构的例子,实际的项目中也从来没用过Array 这坨东西,随手写个,勿喷。namespace LH.GraphConsole{ public struct Graph { public Graph(int vertexNumber, in...
分类:其他好文   时间:2014-08-07 00:28:47    阅读次数:234
数据结构之图 Part1
Part 1预计使用7天的时间来过掉图相关的数据结构。第一天主要是一天图的基本概念,熟练掌握定义是一切交流和沟通的基础。1定义1.1图有穷非空顶点,外加边。G(V,E) Graph Vertex Edge顶点就是 点,有穷非空。顶点之间的关系就是边,边可空。1.2 分类无向边:无方向的边。有向边:有...
分类:其他好文   时间:2014-08-06 22:52:42    阅读次数:244
UVA 10003 Cutting Sticks(区间dp)
DescriptionCutting SticksYou have to cut a wood stick into pieces. The most affordable company, The Analog Cutting Machinery, Inc. (ACM), charges mone...
分类:其他好文   时间:2014-08-06 01:43:50    阅读次数:254
UVa11324 - The Largest Clique(DAG+DP+SCC)
Problem B: The Largest Clique Given a directed graph G, consider the following transformation. First, create a new graph T(G) to have the same vertex set as G. Create a directed edge between two ve...
分类:其他好文   时间:2014-08-05 19:26:40    阅读次数:365
使用Graph工具观察FFT波形
2014年8月1日,经过很长时间的上网查阅资料,走了很多弯路,终于可以成功使用Graph工具仿真波形了,虽然这个的确很简单,但是经过自己摸索出来的,兴奋之情难于言表。明天就是七夕了,刚和女朋友分手的我,有点小郁闷。不发牢骚了,最后一句,祝天下所有有缘人都是失散多年的兄妹。/*************...
分类:其他好文   时间:2014-08-05 15:28:50    阅读次数:492
uva193 - Graph Coloring
Graph Coloring You are to write a program that tries to find an optimal coloring for a given graph. Colors are applied to the nodes of the graph and t...
分类:其他好文   时间:2014-08-05 13:31:49    阅读次数:215
Problem B Codeforces 295B 最短路(floyd)
DescriptionGreg has a weighed directed graph, consisting ofnvertices. In this graph any pair of distinct vertices has an edge between them in both dir...
分类:其他好文   时间:2014-08-04 13:30:27    阅读次数:317
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!