码迷,mamicode.com
首页 >  
搜索关键字:vertex and frag    ( 617个结果
Unity3d 镜面反射 vertex and frag Shader源码
Unity3d 镜面反射 网上能找到的基本上是固定管道或表面渲染的shader, 特此翻译为顶点、片段渲染的Shader, 本源码只涉及shader与cs部分, Editor部分使用NGUI绘制的, 请自行下载NGUI unity3d 版本:v4.3.1...
分类:其他好文   时间:2014-05-18 18:32:29    阅读次数:389
最小生成树-Prim算法
【问题】 求一个给定的加权连通图的最小生成树问题。 【代码】 #include #include #define MAXNUM 1000 #define MAX_VERTEX_NUM 20 typedef char Vertextype; typedef struct node { int weight; }Adjmatrix[MAX_VERTEX_NUM][MAX_VERT...
分类:其他好文   时间:2014-05-13 23:55:49    阅读次数:464
hust 1013 Grid
题目描述There is a grid size of 1*N. The spanning tree of the grid connects all the vertices of the grid only with the edges of the grid, and every vertex...
分类:其他好文   时间:2014-05-10 19:00:03    阅读次数:337
深度优先搜索两个实例
参考算法导论第三版中译本,DFS的Pseudocode如下: 1 DFS(G) 2 for each vertex u ∈ G.V 3 u.color = WHITE 4 u.π = NIL 5 time = 0 6 for each ve...
分类:其他好文   时间:2014-05-08 06:44:52    阅读次数:380
Giraph添加应用程序Weakly Connected Components算法
目的:举例说明如何在Giraph中添加应用程序,以WCC(Weakly Connected Components)算法为例,描述怎么添加Vertex的子类,自定义输入输出格式和使用Combiner等。...
分类:其他好文   时间:2014-05-06 22:35:02    阅读次数:533
最小生成树-Prim算法
Prim算法1.概览普里姆算法(Prim算法),图论中的一种算法,可在加权连通图里搜索最小生成树。意即由此算法搜索到的边子集所构成的树中,不但包括了连通图里的所有顶点(英语:Vertex (graph theory)),且其所有边的权值之和亦为最小。该算法于1930年由捷克数学家沃伊捷赫·亚尔尼克(...
分类:其他好文   时间:2014-05-06 08:47:25    阅读次数:275
uva 11324
Problem B: The Largest CliqueGiven a directed graphG, consider the following transformation. First, create a new graphT(G)to have the same vertex set ...
分类:其他好文   时间:2014-05-01 14:09:34    阅读次数:357
617条   上一页 1 ... 60 61 62
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!