文件名称:广义表的表头和表尾
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:3.25kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
广义表是线性表的推广。广义表是n个元素的有限序列,元素可以是原子或一个广义表,记为LS。
若元素是广义表称它为LS的子表。若广义表非空,则第一个元素称表头,其余元素称表尾。
表的深度是指表展开后所含括号的层数。
把与树对应的广义表称为纯表,它限制了表中成分的共享和递归;
允许结点共享的表称为再入表;
允许递归的表称为递归表;
相互关系:线性表∈纯表∈再入表∈递归表;
广义表的特殊运算:1)取表头head(LS);2)取表尾tail(LS) -generalized linear scale promotion. Generalized Table n elements is limited sequence elements can be atom or a generalized form, credited for LS. If the element is generalized table call the LS-table. If generalized non-empty table, the first one, said first table, and the remaining elements form Mei said. Table refers to the depth table contained in brackets after the start of the floors. Put the tree with the corresponding table called generalized pure form, which limits the list of ingredients sharing and recursive; To allow nodes to share the table as reentry table; Allow the table called recursive recursive table; Interactions : Table pure linear table reentry Table Recursive table; Generalized to the special operations table : 1) the first table head (LS); 2) the tail end table (L
若元素是广义表称它为LS的子表。若广义表非空,则第一个元素称表头,其余元素称表尾。
表的深度是指表展开后所含括号的层数。
把与树对应的广义表称为纯表,它限制了表中成分的共享和递归;
允许结点共享的表称为再入表;
允许递归的表称为递归表;
相互关系:线性表∈纯表∈再入表∈递归表;
广义表的特殊运算:1)取表头head(LS);2)取表尾tail(LS) -generalized linear scale promotion. Generalized Table n elements is limited sequence elements can be atom or a generalized form, credited for LS. If the element is generalized table call the LS-table. If generalized non-empty table, the first one, said first table, and the remaining elements form Mei said. Table refers to the depth table contained in brackets after the start of the floors. Put the tree with the corresponding table called generalized pure form, which limits the list of ingredients sharing and recursive; To allow nodes to share the table as reentry table; Allow the table called recursive recursive table; Interactions : Table pure linear table reentry Table Recursive table; Generalized to the special operations table : 1) the first table head (LS); 2) the tail end table (L
(系统自动生成,下载前可以参看下载内容)
下载文件列表
广义表的表头和表尾.CPP
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.