command.help
来自「此文件包含了在linux下实现tpr-tree索引的源代码」· HELP 代码 · 共 95 行
HELP
95 行
List of testbed commands (short variants in parenthesis):create (c) - Creates an empty index Syntax: create index_name tprtree|rtree|opttree drop (r) - Drops an open index open (o) - Opens an existing index Syntax: open index_nameclose (l) - Closes an open indexinsert (i) - Inserts an entry into the open index Syntax: insert (x, y, vx, vy), integer_key delete (d) - Deletes an entry from the open index Syntax: delete =(x, y, vx, vy), integer_key select (s) - Searches the index and outputs all qualifying entries Syntax: select &(x1, y1, x2, y2, t1, t2 [, vx, vy])quit (q) - Quits the testbedtime (t) - Changes the current time or prints it (if without a parameter) advance - Advances time by the specified amountbuffer - Sets the size of simulated cache bufferpage - Sets the size of a tree node (disk page)stats on - Turns on accumulation of I/O statisticsstats out - Prints I/O statistics into the output fileimport - Imports another command file outfile - Sets the name of the output fileoutput - Outputs a string to the output fileproperties - Computes and outputs a number of interesting index properties to the output file print - Turns the outputting of results on and off Syntax: print on|offdebug - Turns debug search option on and off Syntax: debug on|offload - Bulk loads the index using a specified load filealpha - Sets directly the alpha ratio for bulkloadinghorizon - Sets the value of time horizon (horizon = _UI_ + _QW_) Syntax: horizon _UI_ _QW_ horizon auto _QWfactor_ The first version also sets the alpha ratio for bulk loading The second version turns on automatic tracking of _UI_ algorithm - Sets the bulkloading algorithm into one of: normal (just current positions of points, STR bulk loading), normalhilbert (the same, but Hilbert bulk loading) ratio (the default mode, uses alpha ratio), dual (as ratio, but just uses standard STR, without alpha ratio), and a number of others (see sgram.cpp). This setting must be set before an index is opened. split - Controls the node splitting algorithm Syntax: split old|nooverlap This setting must be set before an index is opened. choosesubtree - Controls the Choose Subtree algorithm Syntax: choosesubtree area|overlap This setting must be set before an index is opened. union - Controls the bounding-rectangle computation algorithm Syntax: union insct|insreft insct means update-time BRs insreft means load-time BRs This setting must be set before an index is opened. info nodes - Outputs the summary information about each node of the tree into nodes.infinfo flows - Sets on/off the accumulation of numbers of splits, removetops, and node deallocations. Outputs these numbers to insert.inf Syntax: info flows on|off|outinfo insert - Sets on/off the outputting of insertion related information. The outputting is done to insert.inf Syntax: info insert on|offinfo split - Sets on/off the outputting of the detailed information about node splits. The outputting is done to splits.inf Syntax: info split on|offinfo search - Sets on/off the outputting of the detailed information about the performed queries. The outputting is done to search.inf Syntax: info search on|offvisualize - very simple visualization in (x,t)-space, generates xfig files Syntax: visualize [_level_] tree [int] - visualizes the nodes of the top _level_ levels of the tree [_level_] node [int] - visualizes a random node in level _level_ [_level_] path [int] - visualizes a random path from the root, _level_ levels deep [_level_] level[int] - visualizes colorfully _level_ level visaulize off - turns off periodic visualization if it was going on If _level_ is not specified or specified as 0, the whole depth is visualized (for tree and path), or the random leaf node is visualized (for node), or the leaf level is visualized (for level). Otherwise, positive _level_ means top levels, counting from the root (root being 1), negative level means levels counting from leaves (-1 denoting the leaf level). Visualization is performed of the same object if it exists every int time units starting from CT + int. If int is not provided, one-shot visualization is performed at the current time. Bounding rectangles are shown as they are stored in a tree, not as computed at the time of the visualization.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?