虫虫首页|资源下载|资源专辑|精品软件
登录|注册

vertex

  • This toolbox contains Matlab code for several graph and mesh partitioning methods, including geometr

    This toolbox contains Matlab code for several graph and mesh partitioning methods, including geometric, spectral, geometric spectral, and coordinate bisection. It also has routines to generate recursive multiway partitions, vertex separators, and nested dissection orderings and it has some sample meshes and mesh generators. The toolbox contains a Matlab interface to Leland and Hendrickson s Chaco partitioning package, but it doesn t contain Chaco itself. The file "chaco/README" tells how to install the interface to Chaco. It also contains a Matlab interface to Karypis et al. s Metis partitioning package, using Robert Bridson s "metismex" code.

    标签: partitioning including contains toolbox

    上传时间: 2015-05-25

    上传用户:tzl1975

  • 现在市面上流行的3D游戏画面越来越炫目

    现在市面上流行的3D游戏画面越来越炫目,不过也有一些为了营造一种特殊的效果而使用了卡通渲染技术,比如PC游戏中的《杀手XIII》,《忍者神龟》;PS2游戏中的《真红之泪》,《犬夜叉》等等。这些游戏的画面看上去很像漫画,感觉比较有趣。下面就介绍一种简单的实现方法。 所谓用卡通渲染技术绘制的三维物体一般都有两个明显的特征,一个特征是物体表面覆盖着大块的单调颜色,而且光影变化比较剧烈;另一个特征是物体拥有粗重的边缘效果。如果能自己控制光照和阴影,就可以达到目的。而DirectX 9.0 中的顶点渲染(vertex Shaders)提供了这样一个途径,使我们可以实现自己的想法。 顶点渲染与以前的T&L在渲染流程中处于二选一的地位,一段代码最多只能有128条指令,而且不能有循环,判断和跳转指令,全是线性执行指令。每次只能有一个Shader程序是激活的,vertex Shaders让我们可以实时地控制模型的空间变换,光照处理以及像素渲染。 那么现在先来解决第一个问题。我们可以用光线的亮度值作为物体的纹理坐标,这就产生一种带状纹理的效果,然后再调整相应的颜色即可。

    标签: 3D游戏 画面

    上传时间: 2013-12-10

    上传用户:ruan2570406

  • 北京大学ACM题 Here is a geometric problem. You have an angle and some squares in the first quadrant of

    北京大学ACM题 Here is a geometric problem. You have an angle and some squares in the first quadrant of the plane rectangular coordinates. The vertex of the angle is fixed on the origin O of the coordinates, and both of its radial lines are specified by the input. The sizes of the squares are also specified by the input, and the squares can shift vertically and horizontally. Now your job is to use the squares and the radial lines of the angle to enclose the maximum area, which excludes the area of the squares (see Figure 1). You should note that the edges of the squares must be parallel to the axes.

    标签: geometric quadrant problem squares

    上传时间: 2013-12-25

    上传用户:ynzfm

  • xilinx官方PCIcore 有详细说明文档

    xilinx官方PCIcore 有详细说明文档,支持Spartan,vertex

    标签: PCIcore xilinx 文档

    上传时间: 2016-10-05

    上传用户:changeboy

  • c pgm to find redundant paths in a graph.Many fault-tolerant network algorithms rely on an underlyin

    c pgm to find redundant paths in a graph.Many fault-tolerant network algorithms rely on an underlying assumption that there are possibly distinct network paths between a source-destination pair. Given a directed graph as input, write a program that uses depth-first search to determine all such paths. Note that, these paths are not vertex-disjoint i.e., the vertices may repeat but they are all edge-disjoint i.e., no two paths have the same edges. The input is the adjacency matrix of a directed acyclic graph and a pair(s) of source and destination vertices and the output should be the number of such disjoint paths and the paths themselves on separate lines. In case of multiple paths the output should be in order of paths with minimum vertices first. In case of tie the vertex number should be taken in consideration for ordering.

    标签: fault-tolerant algorithms redundant underlyin

    上传时间: 2013-12-17

    上传用户:jkhjkh1982

  • Edge Disjoint Cycles. You are given an input graph that is either directed or undirected. Write a pr

    Edge Disjoint Cycles. You are given an input graph that is either directed or undirected. Write a program that reads in a vertex number and lists the number of edge disjoint cycles that start and end at this vertex. The output should also list the edges in each of the cycle discovered. Input will be the adjacency matrix preceded by a 0 or 1 representing Directed or Undirected graphs respectively.

    标签: undirected Disjoint directed Cycles

    上传时间: 2017-04-08

    上传用户:13188549192

  • Specification File adjacencyListGragh class GeneralGraph: use adjacency list to implement the gr

    Specification File adjacencyListGragh class GeneralGraph: use adjacency list to implement the graph which data structure is vector Construct methods: * public GeneralGraph(): contain an empty vector store the vertex and a boolean determines whether graph is directed or not, defaulted is undirected

    标签: adjacencyListGragh Specification GeneralGraph adjacency

    上传时间: 2013-12-13

    上传用户:lyy1234

  • 13、堆 MinHeap.h test.cpp 14、哈夫曼树 BinTreeNode.h BinaryTree.h MinHeap.h Huffman.h Test.

    13、堆 MinHeap.h test.cpp 14、哈夫曼树 BinTreeNode.h BinaryTree.h MinHeap.h Huffman.h Test.cpp 15、树 164 QueueNode.h LinkQueue.h TreeNode.h Tree.h 170 test.cpp 16、B+树 BTreeNode.h BTree.h 192 test.cpp 17、图 217 MinHeap.h Edge.h 222 vertex.h Graph.h 224 test.cpp 18、排序 Data.h 249 QueueNode.h LinkQueue.h Sort.h 263 test.cpp

    标签: MinHeap BinTreeNode BinaryTree Huffman

    上传时间: 2017-08-14

    上传用户:AbuGe

  • Implementation of Edmonds Karp algorithm that calculates maxFlow of graph. Input: For each test c

    Implementation of Edmonds Karp algorithm that calculates maxFlow of graph. Input: For each test case, the first line contains the number of vertices (n) and the number of arcs (m). Then, there exist m lines, one for each arc (source vertex, ending vertex and arc weight, separated by a space). The nodes are numbered from 1 to n. The node 1 and node n should be in different sets. There are no more than 30 arcs and 15 nodes. The arc weights vary between 1 and 1 000 000. Output: The output is a single line for each case, with the corresponding minimum size cut. Example: Input: 7 11 1 2 3 1 4 3 2 3 4 3 1 3 3 4 1 3 5 2 4 6 6 4 5 2 5 2 1 5 7 1 6 7 9 Output: 5

    标签: Implementation calculates algorithm Edmonds

    上传时间: 2014-01-03

    上传用户:kiklkook

  • Matlab 画三维立体图形

    Matlab 画三维立体图形 The aim of geom3d library is to handle and visualize 3D geometric primitives such as points, lines, planes, polyhedra... It provides low-level functions for manipulating 3D geometric primitives, making easier the development of more complex geometric algorithms.      Some features of the library are:   - creation of various shapes (3D points, 3D lines, planes, polyhedra...)     through an intuitive syntax.      Ex: createPlane(p1, p2, p3) to create a plane through 3 points.     - derivation of new shapes: intersection between 2 planes, intersection between     a plane and a line, between a sphere and a line...   - functions for 3D polygons and polyhedra. Polyhedra use classical vertex-faces     arrays (face array contain indices of vertices), and support faces with any     number of vertices. Some basic models are provided (createOctaedron,     createCubeoctaedron...), as well as some computation (like faceNormal or     centroid)      - manipulation of planar transformation. Ex.:     ROT = createRotationOx(THETA);     P2  = transformPoint3d(P1, ROT);     - direct drawing of shapes with specialized functions. Clipping is performed      automatically for infinite shapes such as lines or rays. Ex:     drawPoint3d([50 50 25; 20 70 10], 'ro');    % draw some points     drawLine3d([X0 Y0 Z0 DX DY DZ]);            % clip and draw straight line Some functions require the geom2d package.       Additional help is provided in geom3d/Contents.m file, as well as summary files     like 'points3d.m' or 'lines3d.m'.

    标签: Matlab 画三维立体图形

    上传时间: 2015-11-02

    上传用户:A1321