/**********************************************************************
 
	Copyright (C) 2003 Hirohisa MORI <joshua@nichibun.ac.jp>
 
	This program is free software; you can redistribute it 
	and/or modify it under the terms of the GLOBALBASE 
	Library General Public License (G-LGPL) as published by 

	http://www.globalbase.org/
 
	This program is distributed in the hope that it will be 
	useful, but WITHOUT ANY WARRANTY; without even the 
	implied warranty of MERCHANTABILITY or FITNESS FOR A 
	PARTICULAR PURPOSE.

**********************************************************************/



#ifndef ___GBPARAM_H___
#define ___GBPARAM_H___

#define GBP_PORT		9090
#define MAP_INDEX_INTERVAL	10
#define MAP_INDEX_TIMEOUT	(6*60*24*3*MAP_INDEX_INTERVAL)

#define DL_PITCH		256
#define LOAD_TASK_MAX		3
#define RECT_SIZE		256

#define RECT_LOGSIZE		8
#define LOUPH_PITCH		20

#define MAX_QUERY		5
#define IDLE_EXPIRE		60
#define DETOUCH_INTERVAL	5

#define MAX_TREE_NODE		(100000000/256/256/sizeof(long))
#define LEAF_RECT		2
#define LEAF_MAX		(LEAF_RECT*LEAF_RECT)

#define MAX_TRIC_NODE		1000
#define TRIC_MISS_RATE		5
#define TRIC_MAX_LOOP		1

typedef int	TIMESTAMP;


#endif

