等级:备忘
技术含量:LOW
使用:
1、XML配置:
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task-3.1.xsd
2、JAVA实现类
@Componen...
分类:
编程语言 时间:
2015-05-17 21:55:03
阅读次数:
165
public static void quickSort(int[] arr, int low , int height){ int l=low, h = height; if(low arr[low]){ ...
分类:
编程语言 时间:
2015-05-17 10:42:59
阅读次数:
150
问题描述:已知点P(x,y)和多边形Poly,判断点P(x,y)是否在多边形内部。 基本方法:射线法 以点P为端点,向左方作射线L,由于多边形是有界的,所以射线L的左端一定在多边形外部,考虑沿着L从无究远处开始自左向右移动。 遇到和多边形的第一个交点的时候,进入到了多边形的内部,遇到第二个交点的时候...
分类:
其他好文 时间:
2015-05-16 20:28:21
阅读次数:
163
最近在写文章,但是一开始matlab生成的图形,让人看得好low,也没有单位什么的,一怒之下准备重新画一份,可是找了半天只找到fig图,没办法,只能尝试着直接修改fig图了,fig图包含了绘制图形时候的所有数据信息,因而理论上这也是可行的。原始效果图:
最终效果图:
下面放出源码:% --------------------【修改fig图属性】---------------------
% au...
分类:
其他好文 时间:
2015-05-16 13:30:16
阅读次数:
1414
如图所看到的:怎样依据提供的道路的shape file获得该路的high cross和low cross所谓的high cross就是图中的king st这条路,low cross是Gravers Ln这条路。详细实现的方法例如以下:#1 将道路的shape数据导入到 Sql Server中#2 在...
分类:
其他好文 时间:
2015-05-16 10:23:18
阅读次数:
93
using namespace std;
const int MAXE = 300010;
const int MAXP = 1010;
struct N
{
int v,next;
}edge[MAXE*2];
int head[MAXP];
int Top;
int high[MAXP];
int low[MAXP];
int subnet[MAXP];
int dfsClock;...
分类:
其他好文 时间:
2015-05-15 15:33:42
阅读次数:
136
多与DAG上的DP之类的问题一起出现。
using namespace std;
const int MAXE = 300010;
const int MAXP = 100010;
struct N
{
int v,next;
}edge[MAXE];
int head[MAXP];
int Top;
int ty[MAXP];
int high[MAXP];
int low...
分类:
移动开发 时间:
2015-05-15 12:10:51
阅读次数:
172
Endpoint主要用来提供基础的网络I/O服务,封装了网络通讯相关的细节。在AbstractProtocol中对Endpoint有这样一段注释
/**
* Endpoint that provides low - level
network I/O - must be matched to the
* ProtocolHandler im...
分类:
其他好文 时间:
2015-05-11 22:01:37
阅读次数:
196
语法:REPLACE [LOW_PRIORITY | DELAYED] [INTO] tbl_name [PARTITION (partition_name,...)] [(col_name,...)] {VALUES | VALUE} ({expr | DEFAULT},...
分类:
数据库 时间:
2015-05-11 12:21:15
阅读次数:
230
1 #include 2 #include 3 #include 4 using namespace std; 5 6 struct subArray{ 7 int low; 8 int high; 9 float sum; 10 }; 11 //分治策...
分类:
编程语言 时间:
2015-05-10 22:21:30
阅读次数:
243