文件名称:the-two-binary-tree-coding
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-11-28
- 文件大小:
- 1.55mb
- 下载次数:
- 0次
- 提 供 者:
- wangd******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用以下方案为二叉树编码:
空树编码为0
单结点树编码为1
所有m个结点的二叉树编码小于(m+1)个结点的二叉树的编号
若任何m个结点的二叉树,当左右子树为L和R个时的二叉树编号为n,则下列情况下所有m个结点的二叉树,其编号大于n:
左子树的编号大于L
左子树的编号为L,右子树的编号大于R
要求给定一个序数,输出一棵二叉树
-Use the following scheme is binary coded: empty tree coded 0 for single-node tree coding for an all m-node binary coding is less than (m+1) nodes of the binary tree binary number, if any m-node, when about son tree for the L and R when the binary number is a n, then the following cases all m binary tree nodes, which number is greater than n: left subtree of the left subtree number greater than the number of L is L, the number of right subtree R requires more than a given sequence number, a binary output
空树编码为0
单结点树编码为1
所有m个结点的二叉树编码小于(m+1)个结点的二叉树的编号
若任何m个结点的二叉树,当左右子树为L和R个时的二叉树编号为n,则下列情况下所有m个结点的二叉树,其编号大于n:
左子树的编号大于L
左子树的编号为L,右子树的编号大于R
要求给定一个序数,输出一棵二叉树
-Use the following scheme is binary coded: empty tree coded 0 for single-node tree coding for an all m-node binary coding is less than (m+1) nodes of the binary tree binary number, if any m-node, when about son tree for the L and R when the binary number is a n, then the following cases all m binary tree nodes, which number is greater than n: left subtree of the left subtree number greater than the number of L is L, the number of right subtree R requires more than a given sequence number, a binary output
(系统自动生成,下载前可以参看下载内容)
下载文件列表
为二叉树编码\4、为二叉树编码.ppt
............\为二叉树编码源程序.c
............\北工大C语言课设为二叉树编码实验报告.doc
............\资料\0.c
............\....\1.png
............\....\10.c
............\....\11.c
............\....\2.png
............\....\3.png
............\....\4.c
............\....\4.png
............\....\6.c
............\....\7.c
............\....\8.c
............\....\9.c
............\....\abc0.c
............\....\abc1.cpp
............\....\abc2.c
............\....\abc3.c
............\....\abc4.c
............\....\abc4.dsp
............\....\abc4.dsw
............\....\ABC4.EXE
............\....\abc4.ncb
............\....\ABC4.OBJ
............\....\abc4.opt
............\....\abc4.plg
............\....\chji.c
............\....\chji3.c
............\....\chji4.c
............\....\chuji0.c
............\....\chuji2.c
............\....\Debug\abc4.exe
............\....\.....\abc4.ilk
............\....\.....\abc4.obj
............\....\.....\abc4.pch
............\....\.....\abc4.pdb
............\....\.....\vc60.idb
............\....\.....\vc60.pdb
............\....\ertq3.cpp
............\....\ertq5.cpp
............\....\sdg.cpp
............\....\sdg2.cpp
............\....\zhuhanshu.c
............\....\复件 ertq5.c
............\FF\wangdanyang
............\资料\Debug
............\FF
............\资料
为二叉树编码