tstree.h

来自「多重搜索树算法」· C头文件 代码 · 共 17 行

H
17
字号
#ifndef _TS_TREE_H_
#define _TS_TREE_H_
typedef struct tsTreeNode *TSTptr;

/*
 * The value stored at the node is splitchar, 
 * and the three pointers represent the three children. 
 * The root of the tree is declared to be TSTptr root. 
 * We will represent every character in each string, 
 * including the null character that terminates it.
 */
typedef struct tsTreeNode {
   char splitchar; 
   TSTptr lokid, eqkid, hikid; 
} TSTnode;

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?