基于多级标记编码理论的树形结构表示方法

基于多级标记编码理论的树形结构表示方法

ID:33537145

大小:160.37 KB

页数:10页

时间:2019-02-26

基于多级标记编码理论的树形结构表示方法_第1页
基于多级标记编码理论的树形结构表示方法_第2页
基于多级标记编码理论的树形结构表示方法_第3页
基于多级标记编码理论的树形结构表示方法_第4页
基于多级标记编码理论的树形结构表示方法_第5页
资源描述:

《基于多级标记编码理论的树形结构表示方法》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、http://www.paper.edu.cnAnImplementationMethodofTreeStructureBasedonMultilevelMarkingCodingTheoryWuShengyuanSchoolofComputerScienceandTechnologyShandongUniversityJinan,P.R.China250061Email:wsy@sdu.edu.cnAbstractBasedonmultilevelmarkingcodingtheory,thispaperpresentsanewtreeimple

2、mentationmethod,calledasmatrix-basedimplementationmethod,whichcanbeusedtoimplementbinarytree,generaltree,andanykindsoftrees.Comparingtotheexistentimplementationmethods,matrix-basedimplementationmethodissimpler,theoperationsoftreearesimplifiedandmoreefficient,andstoragespacecan

3、besavedKeywords:Treeimplementation;multilevelmarkingcodingtheory;matrix;multilevelmark.1IntroductionTreestructureisusuallyimplementedbypointers,calledaspointer-basedimplementation;sometreecanbeimplementedbyarray,suchascompletebinarytree.Sequentialtreeimplementationisanothertre

4、eimplementationmethod.Generaltreeimplementationcanbeasfollowing:parentpointerimplementation,implementationoflistofchildren,Left-Child/Right-Siblingimplementation;Dynamicnodeimplementation,andsoon.[1]Thispaperpresentsanewtreeimplementationmethod,calledasmatrix-basedimplementati

5、onmethod,whichcanbeusedtoimplementbinarytree,generaltree,andanykingsoftrees.Matrix-basedimplementationmethodismoreefficientandspacesavedcomparingtheimplementationmethodsused.Matrix-basedimplementationmethodisbasedonmultilevelmarktheory.[2-5]First,wediscussthederivationofthemet

6、hod;thendiscussmatrix-basedimplementationmethods;thelastpartisconclusion.2Derivationofmatrix-basedimplementationmethodTheideaofmatrix-basedimplementationmethodisgeneratedintheprocedureofmarkingasequencebymultilevelmark.Therefore,weshoulddiscusswhatmultilevelmarkis.[3]Theproced

7、uretodistinguishtheobjectsintoobjectgroupsinanobjectsequenceaccordingtosomeruleriscalledobjectgrouping.Binary0and1arecalledas0markand1markrespectively.Nextisoneofmultilevelmarkrules.Right1multilevelmarkrule:therightmostobjectinanobjectgroupmarkedwith1mark;theotherNobjectsinthe

8、objectgroupmarkedwith0mark;1Markiscalledasgrouprepresentative

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。