Binary_Tree

所属分类:数据结构
开发工具:Visual C++
文件大小:3KB
下载次数:22
上传日期:2009-04-12 01:51:47
上 传 者hunterli
说明:  Binary_tree.cpp :执行文件生成所有二叉树 这样做的目的C + +程序是产生所有二叉树指定节点数目。 基本思想是衍生所有二叉树基于退化树。 该算法的动机是圆括号法则代表二叉树。 一组括号可通过字典秩序排列,由此也可以产生二叉树。但该算法代码中并没有简单地转换括号代表性 它一直在改变过去的节点从最新二叉树下一可能位置(在这里,我们假设右向是正确的退化树方向) 。 该文件还提到计算机内存时(读/写)和avarage参考值。 这个工程在Microsoft Visual Studio 2005环境。
(//Binary_tree.cpp : implementation file for generating all the binary tree //The purpose of this C++ Program is to generate all the binary trees given the node number. //The basic idea is to evolve all the binary trees from the degenerate tree. //The algorithm is motivated by the parenthesis representation of binary trees. //The parenthesis set can be organized through lexicographical order. But the algorithm //in the code has not simply converted from parenthesis representation instead //it has kept on shifting the last node from the latest binary tree to the next //possible left handside position(here we assume the degenerate tree is right handside). //This file has also computed the memory reference times(read/write) and avarage //reference times. // //This program works in microsoft visual studio 2005 environment.)

文件列表:
Binary_Tree (0, 2009-04-11)
Binary_Tree\Binary_tree.h (1709, 2009-04-11)
Binary_Tree\Binary_tree.cpp (7528, 2009-04-11)

近期下载者

相关文件


收藏者