亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? indextest.c

?? TV-tree的c實(shí)現(xiàn)源碼
?? C
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/*                    COPYRIGHT NOTICE This material was developed by Christos Faloutsos and King-Ip Linat the University of Maryland, College Park, Department of Computer Science.Permission is granted to copy this software, to redistribute iton a nonprofit basis, and to use it for any purpose, subject tothe following restrictions and understandings. 1. Any copy made of this software must include this copyright noticein full. 2. All materials developed as a consequence of the use of thissoftware shall duly acknowledge such use, in accordance with the usualstandards of acknowledging credit in academic research. 3. The authors have made no warranty or representation that theoperation of this software will be error-free or suitable for anyapplication, and they are under under no obligation to provide anyservices, by way of maintenance, update, or otherwise.  The softwareis an experimental prototype offered on an as-is basis. 4. Redistribution for profit requires the express, written permissionof the authors. */// Author : $Author$// Date : $Date$// Id : $Id$// $Id: indextest.C,v 1.6 1996/04/18 21:50:24 kilin Exp kilin $ #include <iostream.h>#include <fstream.h>#include <assert.h>#include <stdlib.h>#include <String.h>#include "TVdefine.h"#include "TVconstants.h"#include "TVvector.h"#include "TVelement.h"#include "TVrectangle.h"#include "TVsimbuf.h"#include "TVnode.h"#include "TVindexstat.h"#include "TVindexpara.h"#include "TVindex.h"#include "TVutil.h"#include "dataadd.h"#include "indextest.h"extern "C" { char* strcpy(char*, const char*); int strcmp(const char*, const char*);//  unsigned int strlen(const char*);}#define DEBUG 1Storage *globstorage;int eletested;TVector GetTVector(DataPoints& dp, int dim = 0){   dim = (dim ? dim : 30);   TVector v(dim);    for (int i = 0; i < dim; i++)       v[i] = dp[i];   return v;}TestPara::TestPara() : ip(default_pagesize, default_sig_dim, default_min_fill_percent, default_reinsert_percent, default_pickbranch_compare_count){   optionfromfile = FALSE;   strcpy(osfilename, default_osfilename);   loadindex = FALSE;   strcpy(lifilename, default_lifilename);   performinsert = TRUE;   performsearch = TRUE;   numinput= default_numinput;   inskip= default_inskip;   numsearch= default_numsearch;   searchskip= default_searchskip;   searchskiphead= default_searchskiphead;   searchdist= default_searchdist;   searchcode = searchall;   searchoption = searchexact;   searchprint = FALSE;   searchprintfile = NULL;   strcpy(ifilename, default_ifilename);   strcpy(sfilename, default_sfilename);   saveindex = FALSE;   strcpy(svfilename, default_svfilename);   printindex = FALSE;   onedataperline = TRUE;   checkvalid = FALSE;   buffersize = default_buffersize;   disktime = default_disktime;   quicksearch = FALSE;}void ChangeOptions(int argc, char *argv[], TestPara& tp){   for (int i  = 2; i <= argc; i++)       {        if (!strcmp(argv[i-1], "-optf"))              // option file            {               tp.optionfromfile = TRUE;               strcpy(tp.osfilename, argv[i++]);               i = argc + 1;            }        else if (!strcmp(argv[i-1], "-li"))                // insert or search            {               tp.loadindex =  TRUE;	       tp.performinsert = FALSE;               strcpy(tp.lifilename, argv[i++]);            }        else if (!strcmp(argv[i-1], "-ps"))            // page size                {                   tp.ip.SetPageSize(atoi(argv[i++]));                }        else if (!strcmp(argv[i-1], "-ud"))            // unfold dim                {                   tp.ip.SetUnfoldDim(atoi(argv[i++]));                }        else if (!strcmp(argv[i-1], "-mfp"))            // min fill percent                {                   tp.ip.SetMinFillPercent(atof(argv[i++]));                }        else if (!strcmp(argv[i-1], "-rtp.ip"))            // reinsert percentage                {                   tp.ip.SetReinsertPercent(atof(argv[i++]));                }        else if (!strcmp(argv[i-1], "-pbcp"))            // pickbranch compare percentage                {                   tp.ip.SetPickTVBranchCompareCount(atoi(argv[i++]));                }        else if (!strcmp(argv[i-1], "-ni"))            // no insertion                {                   tp.performinsert = FALSE;                }        else if (!strcmp(argv[i-1], "-if"))            // insert file name                {                   strcpy(tp.ifilename, argv[i++]);                }        else if (!strcmp(argv[i-1], "-ic"))            // input count                {                   tp.performinsert = TRUE;                   tp.numinput = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-isc"))            // input skip count                {                   tp.inskip  = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-ns"))            // no search                {                   tp.performsearch = FALSE;                }        else if (!strcmp(argv[i-1], "-sf"))            // search file name                {                   strcpy(tp.sfilename, argv[i++]);                }        else if (!strcmp(argv[i-1], "-sc"))            // search count                {                   tp.numsearch = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-ssc"))            // search skip count                {                   tp.searchskip  = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-sshc"))            // search skip head                {                   tp.searchskiphead = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-se"))            // search exist                {                   tp.searchcode = searchexist;                 }        else if (!strcmp(argv[i-1], "-sap"))            // search approx rectangle                {                   tp.searchoption = searchappdia;                   tp.searchdist = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-saq"))            // search approx rectangle                {                   tp.searchoption = searchappsq;                   tp.searchdist = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-sed"))            // search approx word                {                   tp.searchoption = searcheditdist;                   tp.searchdist = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-sedns"))            // search approx word                {                   tp.searchoption = searcheditdistnosub;                   tp.searchdist = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-sp"))            //  print all found elements                {                   tp.searchprint = TRUE;                   if ((i < argc) && (argv[i][0] != '-'))		      {			tp.searchprintfile = new char[strlen(argv[i]) + 1];			strcpy(tp.searchprintfile, argv[i++]);		      }	                }        else if (!strcmp(argv[i-1], "-nsv"))            // no save index                {                  tp.saveindex = FALSE;                }        else if (!strcmp(argv[i-1], "-svi"))            // save file name                {                   tp.saveindex = TRUE;                   if ((i < argc) && (argv[i][0] != '-'))                      strcpy(tp.svfilename, argv[i++]);                }        else if (!strcmp(argv[i-1], "-pi"))            // print index                {                  tp.printindex = TRUE;                }        else if (!strcmp(argv[i-1], "-pin"))            // print index                {                  tp.printindex = TRUE;                  tp.onedataperline = FALSE;                }        else if (!strcmp(argv[i-1], "-cv"))            //  check validity                {                  tp.checkvalid = TRUE;                }        else if (!strcmp(argv[i-1], "-dd"))            // set dimension of data                 {                   DataPoints::dim = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-bs"))            // input count                {                   tp.buffersize = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-dt"))            // input count                {                   tp.disktime = atoi(argv[i++]);                }        else if (!strcmp(argv[i-1], "-qs"))            // no save index                {                  tp.quicksearch = TRUE;                }       }}void PrintOptions(TestPara& tp){  if (tp.loadindex)     cout << "Index read from file : " << tp.lifilename << "\n\n";  else    {     cout << "Index built from scratch.\n";     cout << "Index parameters :\n";     cout << tp.ip;     cout << "\n\n";    }  if (tp.performinsert)     {       cout << "Insert from file " << tp.ifilename << "\n";       cout << "Number of elements inserted " << tp.numinput << "\n";       cout << "Skip between element inserted :  " << tp.inskip << "\n";     }  else     cout << "No insertion performed\n";  cout << endl << endl;  if (tp.performsearch)     {       switch (tp.searchoption) {         case searchexact :  cout << "Exact search performed";                             break;         case searchappdia :  cout << "Approximate search rectangle region with radius " << tp.searchdist;                              break;         case searchappdis :  cout << "Approximate search with distance (no filtering) " << tp.searchdist;                             break;         case searcheditdist :  cout << "Approximate search with editing distance (do filtering) " << tp.searchdist;                             break;         default :		   break; 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线观看视频欧美| 毛片不卡一区二区| 一本到高清视频免费精品| 亚洲欧洲另类国产综合| www.在线成人| 亚洲精品视频免费看| 欧美日韩亚洲国产综合| 免费成人深夜小野草| 国产欧美日韩综合| 在线看日韩精品电影| 婷婷国产v国产偷v亚洲高清| 欧美岛国在线观看| 粉嫩在线一区二区三区视频| 亚洲激情欧美激情| 欧美一区二区三区日韩视频| 国产一区二区三区香蕉| 中文字幕在线免费不卡| 这里只有精品电影| 国产精品一区二区久久不卡 | av电影一区二区| 一区二区三区中文在线观看| 欧美性xxxxxxxx| 理论电影国产精品| 国产精品白丝在线| 日韩亚洲欧美在线| 不卡欧美aaaaa| 日韩精品免费专区| 国产精品福利一区| 日韩精品一区二区三区视频在线观看 | 欧美综合一区二区| 理论电影国产精品| 亚洲精品国产成人久久av盗摄| 欧美一区二区久久| 色综合久久综合网97色综合| 久久精品国产亚洲aⅴ| 亚洲品质自拍视频| 久久久久成人黄色影片| 欧美体内she精高潮| 成人天堂资源www在线| 日本成人在线一区| 一区二区三区在线视频免费观看| 精品成人私密视频| 精品视频一区 二区 三区| 国产福利一区二区三区视频| 亚洲大片免费看| 综合中文字幕亚洲| www欧美成人18+| 91精品在线免费| 欧美亚洲综合色| 不卡在线视频中文字幕| 国产伦精品一区二区三区免费迷| 亚洲愉拍自拍另类高清精品| 国产偷v国产偷v亚洲高清| 日韩午夜激情电影| 欧洲av在线精品| 99精品国产一区二区三区不卡| 国产精品夜夜爽| 看国产成人h片视频| 婷婷六月综合网| 亚洲国产精品久久久久婷婷884| 日韩理论片中文av| 中文字幕一区二区在线观看| 久久一区二区视频| 久久看人人爽人人| 精品国产凹凸成av人导航| 精品国产制服丝袜高跟| 日韩精品一区二区在线观看| 欧美电视剧免费全集观看| 欧美一区二区三区公司| 欧美一区二区三区白人| 欧美一级在线免费| 日韩美女一区二区三区| 日韩一卡二卡三卡四卡| 欧美一区二区大片| 日韩欧美二区三区| 久久影视一区二区| 欧美国产综合色视频| 中文字幕免费在线观看视频一区| 国产午夜一区二区三区| 亚洲国产成人午夜在线一区| 亚洲欧洲精品一区二区精品久久久| 中文久久乱码一区二区| 亚洲人一二三区| 亚洲高清三级视频| 亚洲成人一区在线| 人人超碰91尤物精品国产| 久99久精品视频免费观看| 国产一二精品视频| 成人精品视频一区二区三区尤物| 91在线免费视频观看| 在线免费观看成人短视频| 91精品视频网| 日本一区二区免费在线| 亚洲丝袜美腿综合| 亚洲综合av网| 久久精品国产99国产精品| 国内精品自线一区二区三区视频| 国产999精品久久久久久| caoporn国产一区二区| 91成人在线免费观看| 91精品国产综合久久国产大片| 欧美第一区第二区| 国产精品乱人伦| 亚洲图片欧美一区| 国产精品一区二区在线观看网站| 成人福利视频在线看| 欧美日韩亚洲综合一区二区三区| 精品国产乱码久久久久久老虎| 欧美经典三级视频一区二区三区| 亚洲国产wwwccc36天堂| 国产一区二区三区最好精华液| 色综合一区二区三区| 国产欧美日韩视频一区二区| 中文字幕日韩av资源站| 免费成人在线观看视频| av影院午夜一区| 日韩女优电影在线观看| 亚洲女同一区二区| 激情文学综合丁香| 欧美影视一区二区三区| 国产欧美精品一区二区色综合朱莉| 亚洲另类中文字| 国产一区二区剧情av在线| 在线观看日韩毛片| 中文字幕免费观看一区| 日韩国产一区二| 91丨porny丨中文| 2020国产成人综合网| 亚洲国产综合91精品麻豆| 国产iv一区二区三区| 欧美一区二区三区公司| 亚洲精品国产品国语在线app| 国产麻豆视频精品| 日韩精品一区二区三区在线观看| 亚洲蜜臀av乱码久久精品蜜桃| 国产美女精品一区二区三区| 欧美高清激情brazzers| 亚洲精品免费看| 成人听书哪个软件好| 久久男人中文字幕资源站| 日韩电影免费在线| 在线观看免费视频综合| 国产精品久久久爽爽爽麻豆色哟哟| 久久成人综合网| 欧美日韩高清影院| 亚洲最色的网站| 91在线视频网址| 国产精品国产三级国产有无不卡| 国产一区二区美女| 精品福利一二区| 久久99最新地址| 9191国产精品| 日产精品久久久久久久性色| 欧美日韩精品欧美日韩精品| 一级日本不卡的影视| 色婷婷久久久综合中文字幕| ...xxx性欧美| a在线播放不卡| 国产精品成人免费精品自在线观看| 国产精品一区二区在线播放| 久久综合九色综合97_久久久 | 精品一区二区三区日韩| 日韩欧美一级在线播放| 美国精品在线观看| 精品国精品自拍自在线| 国精产品一区一区三区mba桃花 | 欧美大片国产精品| 日本成人在线一区| 91麻豆精品国产自产在线观看一区 | 懂色av噜噜一区二区三区av| 欧美精品一区二区三区高清aⅴ | 一本色道久久加勒比精品| 免费国产亚洲视频| 91精品国产综合久久精品性色| 亚洲777理论| 欧美一区二区视频网站| 久久er99精品| 亚洲国产高清在线| 一本色道久久加勒比精品| 亚洲国产日产av| 91麻豆精品国产无毒不卡在线观看| 日韩不卡一区二区三区 | 国产欧美日韩在线看| 99久久精品免费看国产| 亚洲在线成人精品| 欧美一区二区三区日韩| 国产福利精品一区二区| 亚洲青青青在线视频| 欧美日韩国产另类一区| 久久成人综合网| ...中文天堂在线一区| 欧美日韩一区二区在线视频| 久久精品99国产精品| 亚洲国产精品成人久久综合一区| 色婷婷综合五月| 美女高潮久久久| 中文字幕在线免费不卡| 欧美精品v日韩精品v韩国精品v| 精品一区二区三区免费播放| 综合久久久久综合|