码迷,mamicode.com
首页 >  
搜索关键字:graph cut    ( 8632个结果
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
ArcGIS Pro体验04——菜单栏
对菜单栏进行熟悉一下: 1.地图菜单 剪切板(Clipboard):剪切(Cut)、复制(Copy)、粘贴(Paste),这些不用说了,在ArcMap中是放在"编辑"菜单下面的。当然,在ArcGIS Pro的"编辑"菜单也有"剪切板"。 导航(Navigate):识别(Explore),缩放到全图(...
分类:其他好文   时间:2015-03-21 11:05:24    阅读次数:268
一键安装smokeping脚本
#!/bin/bashlocal_ip=`/sbin/ifconfig|grep‘inetaddr:‘|grep-Ev‘127.0.0.1‘|cut-d:-f2|awk‘{print$1}‘|head-n1`#installepelreporpm-Uvhhttp://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm#installrequiresoftwareyum-yinstallp..
分类:其他好文   时间:2015-03-20 22:17:16    阅读次数:213
hdu 1455 Sticks DFS 又是一个花样剪枝 ,累觉不爱
Problem Description George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to the original state, but he forgot how many sticks he had originally and how long they were origin...
分类:其他好文   时间:2015-03-20 11:05:11    阅读次数:129
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
Topcoder SRM 655 DIV1 250 CountryGroupHard
题意:不同国家的人站在一起,同一个国家的人相邻站,给你一个数组,表示 这个位置属于的国家有几个人,0可以是任何数字,问你能不能确定这个数组(只有一个解)解题思路:搜索解题代码: 1 // BEGIN CUT HERE 2 /* 3 4 */ 5 // END CUT HERE 6 #l...
分类:其他好文   时间:2015-03-18 12:10:34    阅读次数:191
[算法导论]拓扑排序 @ 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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!