码迷,mamicode.com
首页 >  
搜索关键字:implicit graph trave    ( 4211个结果
leetcode - 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 separator for ea...
分类:其他好文   时间:2014-09-27 15:16:19    阅读次数:121
【struts2】OGNL
1OGNL概述 OGNL是对象图导航语言Object-Graph Navigation Language的缩写,它是一种功能强大的表达式语言(Expression Language,简称为EL),通过它简单一致的表达式语法,可以存取对象的属性,调用对象的方法,遍历整个对象的结构图,实现字段类型转化....
分类:其他好文   时间:2014-09-26 21:52:28    阅读次数:254
POJ 1463 Strategic game( 树形DP )
#include #include using namespace std; #define ABANDON 0 #define GET 1 deque graph[2010]; int DP[2010][2]; void DFS( int start, int parent ){ DP[start][ABANDON] = 0; DP[start][GET]...
分类:其他好文   时间:2014-09-26 20:53:58    阅读次数:144
graph使泳道图的label横向显示
1、如果需要将label靠左边对齐,则必须重写底层源码新增mxText的一个构造器,主要是增加了一个参数:x(代表当前的cell) 1 function mxText(a, b, c, d, e, f, g, h, k, i, l, m, n, o, p, q, t, u, v, w, x) { 2...
分类:其他好文   时间:2014-09-26 11:10:58    阅读次数:187
Modelsim打开时出现的Error
Modelsim之error “unable to check out a viewer license necessary for use of the modelsim graph.Vsim is closing” 原因:之前破解的modelsim对应PC的Physiacl Addres...
分类:其他好文   时间:2014-09-24 22:23:37    阅读次数:635
DirectShow学习笔记总结
DirectShow是微软公司在ActiveMovie和Video for Windows的基础上推出的新一代基于COM(Component Object Model)的流媒体处理的开发包,9.0之前与DirectX开发包一起发布,之后包含在windows SDK中。。DirectShow使用一种叫Filter Graph的模型来管理整个数据流的处理过程,运用DirectShow,我们可以很方便地...
分类:其他好文   时间:2014-09-24 20:28:09    阅读次数:703
Codeforces 466E Information Graph(dfs+并查集)
题目链接:Codeforces 466E Information Graph 题目大意:一开始有n个员工,他们互相独立。现在有三种操作。 1 u v,v称为u的上级2 u,从u发起一份文件,逐层递交给上级3 u v,询问u是否查阅过v号文件。 解题思路:将每个文件移动的范围处理出来,然后对于每次询问,将询问拆成两个标记,假设查询x是否浏览过第k号文件,第k号文件的范围为u-v,那...
分类:其他好文   时间:2014-09-24 20:22:37    阅读次数:172
UVa 10305 (拓扑排序) Ordering Tasks
题意:经典的拓扑排序。有n个任务,然后某些任务必须安排在某些任务前面完成,输出一种满足要求的序列。分析:拓扑排序用离散里面的话来说就是将偏序关系拓展为全序关系。我们将“小于”这种关系看做一条有向边,如果得到的图是有向无环图DAG(Directed Acyclic Graph),则是存在拓扑排序的,如...
分类:其他好文   时间:2014-09-24 19:34:57    阅读次数:210
[ACM] hdu 3549 Flow Problem (最大流模板题)
Flow Problem Problem Description Network flow is a well-known difficult problem for ACMers. Given a graph, your task is to find out the maximum flow for the weighted directed graph....
分类:其他好文   时间:2014-09-24 18:35:37    阅读次数:272
Graph Matching(一)
Paper(2004):Thirty years of graph matching in pattern recognition1.The category of graph matching1.1 Exact matching algorithmsExact matching algorithm...
分类:其他好文   时间:2014-09-24 12:44:26    阅读次数:339
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!