码迷,mamicode.com
首页 >  
搜索关键字:maxflow graph cuts    ( 3774个结果
gnuplot 的安装
需要同时安装gnuplot和gnuplot-x11才能画出图sudo apt-get install gnuplot gnuplot-x11gnuplot not showing the graph window - Ask Ubuntu简单使用gnuplot>plot sin(x)
分类:其他好文   时间:2015-03-22 00:26:40    阅读次数:140
HDOJ 题目Graph’s Cycle Component(并查集)
Graph’s Cycle Component Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 2112    Accepted Submission(s): 775 Problem Description In gra...
分类:其他好文   时间:2015-03-21 12:42:43    阅读次数:143
hdu3549 flow
水水maxflow~,练练手 #include #include #include #include using namespace std; const int MAXN=35,MAXE=1000*10; const int inf=0x3f3f3f3f; int e[MAXE][3];int head[MAXN];int nume=0; void adde(int i,int j,i...
分类:其他好文   时间:2015-03-20 18:46:50    阅读次数:122
LeetCode – Refresh – Clone Graph
1. Use BFS to search the graph.2. Create a hashtable to record the one to one mapping. 1 /** 2 * Definition for undirected graph. 3 * struct Undirec.....
分类:其他好文   时间:2015-03-19 06:19:16    阅读次数:125
JavaScript实现图的深度广度优先遍历
function Graph(v) { this.vertices = v; //初始化顶点 this.edges = 0; //边数先设置为0 this.adj = []; //为每一个顶点准备一个链表,表示它和所有节点的关系 for (var i = 0...
分类:编程语言   时间:2015-03-18 17:42:17    阅读次数:377
[算法导论]拓扑排序 @ Python
class Graph: def __init__(self): self.V = []class Vertex: def __init__(self, x): self.key = x self.color = 'white' s...
分类:编程语言   时间:2015-03-17 17:37:35    阅读次数:182
FQL——facebook用户信息查询接口
FQL是FACEBOOK提供的一种类似SQL风格的查询语句,FQL可以查询FACEBOOK的Graph API暴露出来的数据。访问`https://api.facebook.com/method/fql.query?query=QUERY`,把QUERY部分替换成任意XML或JSON格式的查询参数...
分类:其他好文   时间:2015-03-17 16:06:07    阅读次数:252
POJ 1679 prime次小生成树判定生成树是否唯一
The Unique MSTTime Limit:1000MSMemory Limit:10000KTotal Submissions:21931Accepted:7784DescriptionGiven a connected undirected graph, tell if its minim...
分类:其他好文   时间:2015-03-17 00:45:15    阅读次数:217
[算法导论]强连通分量 @ Python
class Graph: def __init__(self): self.V = []class Vertex: def __init__(self, x): self.key = x self.color = 'white' s...
分类:编程语言   时间:2015-03-17 00:28:51    阅读次数:295
codeforces 505B Mr. Kitayuta's Colorful Graph(水题)
转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudMr. Kitayuta's Colorful GraphMr. Kitayuta has just bought an undirected graph consisting of n vertices...
分类:其他好文   时间:2015-03-15 00:27:26    阅读次数:922
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!