文件名称:广义表的表头和表尾
介绍说明--下载内容均来自于网络,请自行研究使用
广义表是线性表的推广。广义表是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