记得之前写过2篇关于底部菜单的实现,由于使用的是过时的TabHost类,虽然一样可以实现我们想要的效果,但作为学习,还是需要来了解下这个新引入类FragmentTabHost 安卓开发复习笔记——TabHost组件(二)(实现底部菜单导航) activity_main.xml(主布局文件) frag
分类:
移动开发 时间:
2016-03-17 14:37:53
阅读次数:
205
图由数据元素和连接数据元素的线构成。在图中数据元素称为顶点(Vertex),连接顶点的线称为边(Edge)。一个图是由顶点集合和边集合组成的。一般记为形式:G=(V,E),或G=(V(G),E(G))。 1.有向图和无向图无向图:边没有方向。例(V1,V2),也可写为(V2,V1)。有向图:边有方向
分类:
其他好文 时间:
2016-03-16 23:57:22
阅读次数:
328
D. Water Tree Mad scientist Mike has constructed a rooted tree, which consists of n vertices. Each vertex is a reservoir which can be either empty or
分类:
其他好文 时间:
2016-03-11 22:12:47
阅读次数:
259
VC709E 增强版 基于FMC接口的Xilinx Vertex-7 FPGA V7 XC7VX690T PCIeX8 接口卡 一、板卡概述 本板卡基于Xilinx公司的FPGA XC7VX690T-FFG1761I 芯片,支持PCIeX8、64bit DDR3容量2GByte,HPC的FMC连接器
分类:
其他好文 时间:
2016-03-11 12:13:33
阅读次数:
351
题目链接 Fill a DP table such as the following bottom-up: DP[v][0] = the number of ways that the subtree rooted at vertex v has no black vertex. DP[v][1]
分类:
移动开发 时间:
2016-03-10 18:40:28
阅读次数:
250
///通过队列,找出最小的dis[]值,取出配对的vertex值。 /// stack priority_queue set struct edge { int to; int cost; } ; vector <edge>G[MZX_V];///表 typedef pair<int ,int >
分类:
编程语言 时间:
2016-03-02 23:44:17
阅读次数:
182
重要:在目前市面上常见的游戏引擎中,主要采用以下三种灯光实现方式:顶点照明渲染路径细节 Vertex Lit Rendering Path Details正向渲染路径细节 Forward Rendering Path Details延迟光照渲染路径的细节 Deferred Lighting Rendering Path Details 以unity3d为例,以下将详细讲解三种灯光渲染方式的实现、...
分类:
编程语言 时间:
2016-03-01 13:01:46
阅读次数:
471
// define head function
#ifndef PS_ALGORITHM_H_INCLUDED
#define PS_ALGORITHM_H_INCLUDED
#include
#include
#include "cv.h"
#include "highgui.h"
#include "cxmat.hpp"
#include "cxcore.hpp"
#include "m...
分类:
其他好文 时间:
2016-02-23 11:30:48
阅读次数:
253
分类:C#、Android; 日期:2016-02-04 3.3 示例3--MapFragment的使用 一、简介 TextureMapFragment:用于显示地图片段。 二、示例3--Demo03MapFragment.cs 文件名:Demo02MapFragment.cs 简介:介绍在Frag
分类:
移动开发 时间:
2016-02-04 07:27:15
阅读次数:
164
以一个简单的波纹效果为例: 一、引入shader脚本文件。 1、vertex shader attribute vec4 a_position; attribute vec2 a_texCoord; attribute vec4 a_color; varying vec4 v_fragmentCol
分类:
Web程序 时间:
2016-02-03 16:25:27
阅读次数:
148