自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

算法,时空数据挖掘

Spatial-Temporal Application and Data Analysis

  • 博客(8)
  • 资源 (7)
  • 收藏
  • 关注

转载 转载一个写的挺不错的后缀树的文章

偶然看到一个后缀树的文章,觉得很有意思,转载一下:http://blog.csdn.net/g9yuayon/article/details/2574781 不过不确定这个是不是原创。。在pongba的讨论组上看到一道Amazon的面试题:找出给定字符串里的最长回文。例子:输入XMADAMYX。则输出MADAM。这道题的流行解法是用后缀树(Suffix Tree)。这坨数据结构最酷的地方是用它

2012-03-31 17:42:02 762

原创 poj2590

#include#includeusing namespace std;int main(){double  k,x[1000],y[1000];double a,b;int i,count,stepnum;cin>>count;for(i=0;icin>>x[i]>>y[i];for(i=0;i{  if(x[i]==y[i]){

2012-03-18 23:42:52 660

原创 poj2328简单模拟

#includeusing namespace std;int main(){char str1[10];char str2[10];char ch;int turn;int tempint;int i;int guess[2];//0代表左边那个,1代表右边那个while(1){guess[0]=0;guess[1]=11;wh

2012-03-18 23:40:58 592

原创 poj3321 dfs+树状数组

很早以前做的了,拿出来记录下。#include#includeconst int N=100001;struct Node{int v;struct Node *next;Node(int n=0,struct Node *P=NULL){v=n;next=P;}}node[N];struct Range{int b,e;}r

2012-03-18 23:39:15 512

原创 poj3626广搜

#includeusing namespace std;#define MAXSIZE 10000class QElemType{public:int x,y;};class SQueue{public:int len;int front;//头指针,若队列不空,指向队列头元素int rear;//尾指针,若队列不

2012-03-18 23:37:28 774

原创 poj3266一道典型线段树

因为最近想做的一个东西和区间统计有关,心血来潮玩了下线段树。   #includeusing namespace std;#define MAXNUMBER 1class TreeNode{public:TreeNode();int leftIndex;int rightIndex;int maxHeight;int minHei

2012-03-18 23:34:41 805

转载 DataTemplate

.NET Framework 4.5.NET Framework 3.5.NET Framework 3.0        11 out of 17 rated this helpfulRate this topicThe WPF data templating model provides you with great flexibility to define

2012-03-15 12:58:47 922

原创 如何遍历C# 中 Dictionary。

关键利用KeyValuePair。    定义一个Dictionary:    Dictionary aggUpGroupPointDic = new Dictionary();   遍历它:   foreach (KeyValuePairkeyValuePair  inaggDownGroupPointDic)  {     Console.WriteLine(“Poin

2012-03-08 17:16:59 910

一个Silverlight的DateBinding和DataTemplate的Demo

一个Silverlight的DateBinding和DataTemplate的小Demo。通过DataBinding在界面上显示我个人事务的类TaskCollection。

2012-04-28

基于GPU的3D空间精确三角形拾取

用Directx11的ComputeShader和GeometryShader做的3D空间精确拾取,点击左键,程序判断是否选中了模型某个三角形,如果选中了则显示该三角形,其他以网格方式显示。

2011-12-21

串行的BitonicSort双调排序

CPU串行的BitonicSort双调排序

2011-12-20

Directx11绘制立方体

Directx11绘制一个立方体和四面体,用了我博客一个简单的框架封装,适合初学者学Directx11程序。

2011-12-20

InteliShade

InteliShade,vs的插件,安装后可以高亮.FX文件。

2011-08-17

usertype.dat

HLSL的关键字,放在vs的IDE文件下,以在vs中高亮HLSL的关键字

2011-08-17

Directx11中使用PhysX

在Directx11中使用PhysX物理引擎的小Demo。按a健就会看到盒子掉下来。

2011-08-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除