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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tvindex.h

?? TV-tree的c實現源碼
?? H
字號:
/*                    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: index.h,v 1.4 1996/04/18 21:50:24 kilin Exp kilin $ // To return result for insertionclass LinkedList;enum InsertReturnType {nochange = 0,                       newele   = 1,  // new element from inserting leaf                       newbound = 2,  // one new bound formed (adjusting child, etc)                       newbranch = 3,		       fromsplit = 4                      };// This is to store info to pass up during recursive call to insertion// irt  : what kind of info is stored being passed up // branch : array storing the new branches// bound  : array storing the new bounds class RecurInsertReturn{public:   RecurInsertReturn();   ~RecurInsertReturn();   RecurInsertReturn(const RecurInsertReturn&);   RecurInsertReturn& operator=(const RecurInsertReturn&);   RecurInsertReturn& FromSplit(const SplitReturn&);   RecurInsertReturn& Onebound(const TVRectangle&);   RecurInsertReturn& Twobound(const TVRectangle&, const TVRectangle&);   RecurInsertReturn& Nbound(TVRectangle *, int n);   RecurInsertReturn& Nbound(TVBranch *, int n); // the bounding region of the branches are the bounds    InsertReturnType irt ;   int newcount;   TVBranch *branch;   TVRectangle *bound;};enum Searchcode {searchexist = 0,		 searchall = 1,};// The index classclass TVTree {    friend ostream& operator<< (ostream&, TVTree&);public:        // Initalize empty index    TVTree();          // Initialize empty index    TVTree(istream&);     // Initialize empty index, read in all the parameters 			 // from standard input    TVTree(istream&, int);  // Initialize empty index, read in all the parameters 			   // (except number of phases, which is the second paramter)                           //  from standard input    TVTree(ifstream&);	   // Same as above, but reading from a file    TVTree(ifstream&, int); // Same as above, but reading from a file    TVTree(TVTree_Para&, int);  // Empty index, with parameter given    // Copy function    TVTree(const TVTree&); // Note: the tree is SHARED between the 2 implementations    // Load an index from disk:    //   filename  : Name of file    //   ReadData  : Read the data to be indexed. Returned as the character(byte) array    //               The integer will store the number of bytes at the end of the    // 		     procedure.    TVTree(char *filename, char *(*ReadData)(ifstream&, int&), VCOM_TYPE (*gfeat)(int, char*));  //  load an index from file    ~TVTree();    TVTree& operator=(const TVTree&);    float GetMinFillPercent() const;  // get min_fill_percentage    int GetUnfolddim() const;  // get dimensions to unfold    int GetHeight() const; // Get Height of tree-> 0 one node    void IncrementPhase();    // Insertion    TVTree& Insert(char *e, int size, VCOM_TYPE (*gfeat)(int, char*));	    TVTree& InsertElement(Leaf_Element&, VCOM_TYPE (*gfeat)(int, char*));  // insert an element;    TVTree& InsertTVBranch(TVBranch &b);    // Check validity    int TVTree::ValidityCheck();    // Save index    void SaveTVTree(char* filename, void(*WriteData)(ofstream&, char *, int));    // Print index    ostream& TVTreePrint(ostream& os, void(*PrintData)(ostream&, char *), int oneperline = FALSE);    // Gather statistics    void PrintStats(ostream& os);    void RecurGatherTreeStats(TVNode *n);    void GatherTreeStats();    int GetIntStat(int  code);    // All searches routines below returns number of items in the result array     // Search (For exact match)    // Parameters :     //   e    -- pointer to the object to be searched    //   size -- # of bytes for object e    //   res  -- Reference to an array of pointers, each entry points to an     //           array storing each of the element returned    //   GetResult -- A procedure to extract the desired bytes from those who stored    //   gfeat     -- Feature generation function.    //   equal     -- Function check if e is equal to an element stored    //    //    int Search(char *e, int size, char**& res, char *(GetResult)(char *, int, int&), VCOM_TYPE (*gfeat)(int, char*), int (*equal)(char *, char *), Searchcode searchcode = searchall);    // Range searches:    //   The algorithm with return all the objects which feature vectors have a Hamming distance    //    less than "dist", and than use Distance() to filter out the unwanted results.    //    (Note that the distance between the feature vector must be an underestimate to the real    //     distance)    //    // Extra Parameters     //   dist : the distance  	    //   Distance( , ) : A function to calculate the real distance between the two objects,    // 			 to do the filtering.    int Search(float dist, char *e, int size, char**& res, char *(GetResult)(char *, int, int&), VCOM_TYPE (*gfeat)(int, char*), float (*Distance)(char *, char *), Searchcode searchcode = searchall);    // Same Range search function, but does not do the filtering    int Search(float dist, char *e, int size, char**& res, char *(GetResult)(char *, int, int&), VCOM_TYPE (*gfeat)(int, char*),  Searchcode searchcode = searchall);    // Feature search:    // User provide an array of lower/upper distance from the search element    // for each feature     // The user find points that fulfill all the conditions	    //    // Extra parameters    //    fdim: number of features provided for lower and upper bound    //    lbound : array storing the lower bound for each feature    //    ubound : array storing the upper bound for each feature    // (to do)    int Search(char *e, int size, int fdim, float *lbound, float *ubound, char**& res, char *(GetResult)(char *, int, int&), VCOM_TYPE (*gfeat)(int, char*),  Searchcode searchcode = searchall);    int Count() const; // count number of elements in the tree    // Free the memories for the tree    void FreeTree();private :    int RecurSearch(TVNode *n, Leaf_Element& le,  LinkedList *reslist, VCOM_TYPE (*gfeat)(int, char*), int (*equal)(char *, char *), Searchcode searchcode);    int RecurSearch(TVNode *n, Leaf_Element& le,  float dis, LinkedList *reslist, VCOM_TYPE (*gfeat)(int, char*), float (*Distance)(char *, char *), Searchcode searchcode = searchall);    int RecurSearch(TVNode *n, Leaf_Element& le,  float dis, LinkedList *reslist, VCOM_TYPE (*gfeat)(int, char*), Searchcode searchcode = searchall);    int RecurSearch(TVNode *n, TVRectangle& testrect, LinkedList *reslist, VCOM_TYPE (*gfeat)(int, char*), Searchcode searchcode);    RecurInsertReturn RecurInsertElement(TVNode *, Leaf_Element, const TVNodehandle& nh, ReInsertClass&, VCOM_TYPE (*gfeat)(int, char*));    TVTree& InsertElement1(Leaf_Element& e1, ReInsertClass& reinsertd, VCOM_TYPE (*gfeat)(int, char*));    void NewRoot(RecurInsertReturn& rir, int rootlevel, ReInsertClass&, TVRectangle* rootbound = NULL);    RecurInsertReturn RecurInsertTVBranch(TVNode *n, TVBranch &b, int level, const TVNodehandle& nh, ReInsertClass& reinsertd);    TVTree& InsertTVBranch1(TVBranch &b, ReInsertClass &reinsertd);    void RecurFreeTree(TVNode *n);    TVNode *root;    TVTree_Para ip;    TVTree_Stat stats;};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩丝袜情趣美女图片| 色94色欧美sute亚洲线路二| 一区二区三区高清在线| 国产情人综合久久777777| 日韩欧美一区二区三区在线| 在线播放欧美女士性生活| 欧美亚洲综合另类| 欧美性猛交xxxx黑人交| 欧美丝袜丝交足nylons| 精品视频一区 二区 三区| 欧美专区日韩专区| 7777精品伊人久久久大香线蕉最新版 | 91成人免费在线视频| 97久久人人超碰| 欧美中文字幕亚洲一区二区va在线 | 久久99最新地址| 国产美女视频91| 9l国产精品久久久久麻豆| 色综合久久精品| 欧美乱熟臀69xxxxxx| 在线不卡免费欧美| 国产清纯美女被跳蛋高潮一区二区久久w| 久久嫩草精品久久久精品| 国产精品日日摸夜夜摸av| 亚洲手机成人高清视频| 日韩国产欧美在线观看| 国产综合色产在线精品| 91色.com| 欧美精品v国产精品v日韩精品| 精品欧美一区二区久久| 国产精品护士白丝一区av| 午夜精品久久久久久不卡8050| 精品一区二区三区蜜桃| jizz一区二区| 欧美日韩mp4| 国产日韩av一区| 亚洲黄色小视频| 久久成人免费网站| 91老师国产黑色丝袜在线| 91精品福利在线一区二区三区| 中文字幕av在线一区二区三区| 亚洲愉拍自拍另类高清精品| 国产一区美女在线| 欧美性感一区二区三区| 日本一二三四高清不卡| 久久国产麻豆精品| 欧美午夜精品久久久久久孕妇 | 韩国av一区二区三区在线观看| 色综合久久综合网97色综合| 欧美va在线播放| 一二三四区精品视频| 国产精品99久久久久久宅男| 在线不卡a资源高清| 亚洲激情图片小说视频| 成人动漫一区二区在线| 精品国产乱码久久久久久久久| 亚洲一区二区三区四区在线免费观看 | 亚洲欧美偷拍卡通变态| 蜜乳av一区二区三区| 欧美色窝79yyyycom| 中文字幕中文在线不卡住| 国产尤物一区二区在线| 日韩一区二区中文字幕| 婷婷国产在线综合| 91久久线看在观草草青青| 国产精品天天看| 国产精品 日产精品 欧美精品| 日韩午夜小视频| 欧美96一区二区免费视频| 欧美午夜精品电影| 一级女性全黄久久生活片免费| 成人午夜短视频| 国产精品免费视频网站| 高清在线不卡av| 中文字幕国产一区| 岛国av在线一区| 国产精品女人毛片| 91视频在线看| 亚洲精品自拍动漫在线| 91国模大尺度私拍在线视频| 亚洲素人一区二区| 日本道色综合久久| 亚洲一区二区三区视频在线 | 欧美日韩中文另类| 香蕉加勒比综合久久| 欧美日韩精品一区二区三区蜜桃| 亚洲综合在线免费观看| 欧美亚日韩国产aⅴ精品中极品| 一区二区国产盗摄色噜噜| 在线亚洲高清视频| 爽爽淫人综合网网站| 欧美一区二区三区四区在线观看| 久久国产精品99久久久久久老狼 | 国产一区在线观看视频| 国产欧美1区2区3区| 成人少妇影院yyyy| 亚洲一区二区三区中文字幕| 欧美群妇大交群的观看方式| 看电视剧不卡顿的网站| 国产清纯美女被跳蛋高潮一区二区久久w | 亚洲视频小说图片| 欧美色图第一页| 国产做a爰片久久毛片| 国产精品久久久久影院| 欧美视频一区二区三区四区| 久久精品国产成人一区二区三区| 国产午夜精品一区二区三区嫩草| 成年人网站91| 视频一区欧美日韩| 亚洲国产精品黑人久久久| 91激情五月电影| 极品美女销魂一区二区三区免费| 国产日韩精品一区二区浪潮av| 在线观看亚洲专区| 激情偷乱视频一区二区三区| 亚洲日本青草视频在线怡红院| 91麻豆精品国产自产在线观看一区| 国产成人av电影在线| 无码av免费一区二区三区试看| 久久久国产综合精品女国产盗摄| 日本韩国一区二区| 国产乱码精品一区二区三| 亚洲一区中文日韩| 中文无字幕一区二区三区| 欧美精品久久天天躁| 91香蕉视频黄| 国产成人在线免费观看| 日本中文字幕一区二区视频 | 日韩欧美国产麻豆| 欧美午夜在线观看| jlzzjlzz欧美大全| 国产福利一区二区| 美国一区二区三区在线播放| 亚洲黄色性网站| 国产精品久久精品日日| 久久久国产午夜精品 | 日本不卡视频在线观看| 亚洲黄一区二区三区| 中文字幕av不卡| 欧美精品一区二区三区四区| 欧美欧美午夜aⅴ在线观看| 91麻豆免费看片| 成人爱爱电影网址| 成人综合婷婷国产精品久久免费| 丝袜a∨在线一区二区三区不卡| 樱桃视频在线观看一区| 亚洲丝袜精品丝袜在线| 国产精品久久久久久久久动漫| 久久精品综合网| 久久亚洲春色中文字幕久久久| 日韩欧美区一区二| 日韩欧美亚洲国产精品字幕久久久| 欧洲av在线精品| 欧美色欧美亚洲另类二区| 色8久久精品久久久久久蜜| 91久久一区二区| 欧美日韩国产小视频在线观看| 在线视频国内一区二区| 欧美专区在线观看一区| 欧美日韩免费视频| 91麻豆精品91久久久久久清纯| 欧美一区二区私人影院日本| 欧美人动与zoxxxx乱| 欧美一区二区三区四区五区| 欧美成人精精品一区二区频| 亚洲精品在线免费播放| 久久久亚洲精品一区二区三区| 国产三级精品视频| 亚洲欧洲日产国产综合网| 亚洲欧洲日韩综合一区二区| 亚洲精品高清在线| 婷婷成人激情在线网| 精品一区二区三区香蕉蜜桃 | 亚洲午夜精品在线| 蜜桃久久久久久久| 国产成都精品91一区二区三| 91女人视频在线观看| 欧美日韩一区二区在线观看| 精品少妇一区二区三区在线视频| 精品国产乱子伦一区| 亚洲欧美另类小说视频| 日韩中文欧美在线| 丁香六月综合激情| 欧美偷拍一区二区| 久久免费电影网| 亚洲精品日日夜夜| 精一区二区三区| 色天天综合久久久久综合片| 日韩欧美电影一二三| 亚洲欧洲日韩一区二区三区| 日本特黄久久久高潮| 91玉足脚交白嫩脚丫在线播放| 欧美日本在线观看| 日本一区二区三区四区| 午夜激情综合网| 9久草视频在线视频精品| 日韩久久免费av| 亚洲精品国产一区二区精华液| 极品尤物av久久免费看| 欧美亚洲一区三区|