Maximum Clique Problem Description Given a graph G(V, E), a clique is a sub-graph g(v, e), so that for all vertex pairs v1, v2 in v, there exists an e ...
分类:
其他好文 时间:
2017-02-18 22:29:12
阅读次数:
212
使用android-support-v4.jar包,在使用与Fragment相关的Api时,必须用android-support-v4包中的,其能安装到低版本(1.6)的手机; 一:静态加载Fragment 1:Activity必须继承v4包的 FragmentActivity ; 2:定义Frag ...
分类:
其他好文 时间:
2017-02-11 17:58:45
阅读次数:
194
D3D11中的Resource主要可以分为Buffers和Textures两类。Resource可以被绑定到渲染管线的特定阶段,有些绑定是直接的(比如ID3D11DeviceContext::IASetVertexBuffers就直接把一定数量的Vertex Buffers绑定到管线的Input A ...
分类:
其他好文 时间:
2017-01-29 19:54:23
阅读次数:
312
Given a graph G(V, E), a clique is a sub-graph g(v, e), so that for all vertex pairs v1, v2 in v, there exists an edge (v1, v2) in e. Maximum clique i ...
分类:
其他好文 时间:
2017-01-24 20:12:21
阅读次数:
222
对于每条连边i->j,a[i][j]--,a[i]++ 对无向图有向图同时成立 求矩阵det即可 BZOJ3659 wikipeida: We denote these in- and out-degree of a vertex v by deg(v). The BEST theorem stat ...
分类:
其他好文 时间:
2017-01-06 15:24:52
阅读次数:
211
HTTP: The Definitive Guide 2.2.7 Fragments Some resource types, such as HTML, can be divided further than just the resource level. For example, for a ...
分类:
Web程序 时间:
2017-01-05 23:45:02
阅读次数:
212
详细解读DialogFragment 相信看这篇文章的人都应该知道android中的Dialog了吧,如果对于Dialog还不是很了解可以看我之前的一篇详解文章: Dialog详解:http://www.cnblogs.com/tianzhijiexian/p/3867731.html 随着Frag ...
分类:
其他好文 时间:
2017-01-04 12:49:09
阅读次数:
390
什么是Geometry Shader GS存在于vertext shader和固定功能vertex post-processing stage之间,它是可选的不是必要的。GS的输入是单个primitive,输出可能是0个或多个primitive. GS的作用 GS的主要作用就是从已有的primiti ...
分类:
其他好文 时间:
2016-12-28 18:57:43
阅读次数:
574
1. vertex,pixel以及geometry shaders共享一个programming model,即common-shader core,在GPU架构中的unified shader可以和这个core很好的契合。 common-shader core是API,支持unified shad ...
分类:
其他好文 时间:
2016-12-28 12:18:53
阅读次数:
205
使用一个比喻很形象地说明:客户端有个疑问打电话请教服务端,但服务端无法现场给出解答,相互之间约定:服务端一旦有答案,使用电话的方式反馈给客户端。 以上有三个主体:客户端、服务端和接口(方式)。 接口回调的原理框图说明: (1) 其中ToDoListActivity的布局XML文件设计为:使用frag... ...
分类:
移动开发 时间:
2016-12-24 11:56:10
阅读次数:
197