打了怎么久...终于打出了个三角形!!! 我画爆! OpenGLDemo.cpp fragmentShaderSource.frag vertexShaderSource.vert ...
分类:
其他好文 时间:
2018-09-24 17:03:31
阅读次数:
192
The "Hamilton cycle problem" is to find a simple cycle that contains every vertex in a graph. Such a cycle is called a "Hamiltonian cycle". In this pr ...
分类:
其他好文 时间:
2018-09-22 14:45:43
阅读次数:
196
Split The Tree 题目描述 You are given a tree with n vertices, numbered from 1 to n. ith vertex has a value wiWe define the weight of a tree as the number ...
分类:
其他好文 时间:
2018-09-05 21:56:38
阅读次数:
262
The "Hamilton cycle problem" is to find a simple cycle that contains every vertex in a graph. Such a cycle is called a "Hamiltonian cycle". In this pr ...
分类:
其他好文 时间:
2018-09-01 21:53:45
阅读次数:
144
The "Hamilton cycle problem" is to find a simple cycle that contains every vertex in a graph. Such a cycle is called a "Hamiltonian cycle". In this pr ...
分类:
其他好文 时间:
2018-09-01 21:48:56
阅读次数:
161
图(graph):表示“多对多”的关系六度空间理论(Six Degrees Separation)包含:1.一组顶点:通常用V(Vertex)表示顶点集合2.一组边:通常用E(edge)表示边的集合 边是顶点对:(v, w) 属于E, v , w 属于V 有向边<v, w>表示v 指向w的边(单行线 ...
分类:
其他好文 时间:
2018-08-25 21:22:00
阅读次数:
240
A vertex cover of a graph is a set of vertices such that each edge of the graph is incident to at least one vertex of the set. Now given a graph with ...
分类:
其他好文 时间:
2018-08-20 17:53:26
阅读次数:
219
Description You are given a rooted tree with n vertices. The vertices are numbered from 1 to n, the root is the vertex number 1. Each vertex has a col ...
分类:
其他好文 时间:
2018-08-17 21:35:04
阅读次数:
324
以一个简单的波纹效果为例: 一、引入shader脚本文件。 1、vertex shader 2、fragment shader 3、cocos2d-js code 二、直接嵌入shader脚本 原文地址:https://www.cnblogs.com/fingerblog/p/5179853.htm ...
分类:
Web程序 时间:
2018-08-10 17:11:19
阅读次数:
872
You are given a tree (a connected acyclic undirected graph) of n vertices. Vertices are numbered from 1 to n and each vertex is assigned a character f ...
分类:
其他好文 时间:
2018-08-07 13:10:27
阅读次数:
189