【24h】

A Construction Algorithm for Tree Structure

机译:树结构的构造算法

获取原文
获取原文并翻译 | 示例

摘要

This paper studies and analyses the character of the tree structure, and then presents an algorithm which is concise and convinent for the construction of tree structure. It is especially fit for the application system using database. The special storege organization needn ' t to be established in the database using this algorithm . By SQL statement, the data dispersed in different store-age organization can be dynamically combined into the data set including two fields : father node field and child node field. Then the algorithm can process those data and display the tree structure rapidly. At last, we design a control called TFDTreeView which inherits from TTreeView control using this algorithm . TFDTreeView control provide a interface function , through which we can construct the tree structure convinently. On some occasions, this method will be good for the application system . And , by building the control , we can reuse it in many system development.
机译:本文研究并分析了树形结构的特点,提出了一种简洁明了的树形结构构建算法。它特别适合使用数据库的应用程序系统。不需要使用该算法在数据库中建立特殊的存储组织。通过SQL语句,可以将分散在不同存储年龄组织中的数据动态地组合到包含两个字段的数据集中:父节点字段和子节点字段。然后该算法可以处理这些数据并快速显示树结构。最后,我们设计了一个名为TFDTreeView的控件,该控件使用该算法从TTreeView控件继承。 TFDTreeView控件提供了一个接口函数,通过它我们可以方便地构造树结构。在某些情况下,此方法对于应用程序系统将是有益的。并且,通过构建控件,我们可以在许多系统开发中重用它。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号