-
广义表的反序
逆置广义表的递归模型如下:
F(LS) = null 若 LS 为空
F(LS) = LS ...
广义表的反序
逆置广义表的递归模型如下:
F(LS) = null 若 LS 为空
F(LS) = LS 若 LS 为原子,且 tail(LS) 为空
F(LS) = append( F(tail(LS)), head(LS) ) 若 LS->tag=0 ,且 LS->tp!=null
F(LS) = append( F(tail(LS), F(head(LS)) ) 若 LS->tag=1
其中 append(a,b) 的功能是将广义表 a 和 b 作为元素的广义表连接起来。-Generalized table set against the broad anti-order recursive model of the table is as follows: F (LS) = null if the LS is empty F (LS) = LS if LS for the atoms, and the tail (LS) is empty F (LS) = append (F (tail (LS)), head (LS)) if the LS-> tag = 0, and the LS-> tp! = null F (LS) = append (F (tail (LS), F (head (LS))) If the LS-> tag = 1 where append (a, b) function is a generalized form, and b as elements of generalized tables connected.
- 2022-03-01 20:55:59下载
- 积分:1
-
通过现有的人口数据结构特点,对其进行拟合分析后进行长短期的预测...
通过现有的人口数据结构特点,对其进行拟合分析后进行长短期的预测-Population data through the existing structural features, their post-fitting analysis of the short and long-term prediction
- 2022-01-21 00:56:17下载
- 积分:1
-
公文管理系统源码,内附数据库,可运行,可调式
公文管理系统源码,内附数据库,可运行,可调式-Source document management system, containing a database, run, adjustable
- 2023-01-27 05:50:03下载
- 积分:1
-
停车场管理系统2(数据结构实习报告)
停车场管理系统2(数据结构实习报告)-car park management system 2 (data structure internship report)
- 2022-03-02 13:02:58下载
- 积分:1
-
一个对字串进行RAS方式加密的代码。 用于加密用户密码等敏感资料。 可以通过JSP页面进行调用...
一个对字串进行RAS方式加密的代码。 用于加密用户密码等敏感资料。 可以通过JSP页面进行调用-one pair of strings way for RAS encryption code. To encrypt user passwords and other sensitive information. JSP pages can be called for
- 2022-02-04 01:18:34下载
- 积分:1
-
数据预测算法,主要是一元n次方程的回归预测实现。* 预测分析...
数据预测算法,主要是一元n次方程的回归预测实现。* 预测分析--本算法只适用于有明显线性趋势的数据 * 默认为一元二次曲线方程法 * * 本程序主要涉及有两个算法 * 1.用最小二乘原理找到线性方程组的系数和常数。 * 2.解线性方程组 * 本程序在解线性方程组中,由于考虑到收敛性问题未采用迭代法,而是采用Gauss-Jordan消去法来解决。-data prediction algorithm is mainly one yuan n equation forecast to achieve reunification.* Forecast and Analysis-- This algorithm applies only to clear linear trend data* default as a quadratic curve equation method** The procedure involves two main algorithm* 1. Using the principle of least squares linear equations to find the constants and coefficients.* 2. The solution of linear equations* The procedure for solving linear equations, due to convergence problems using iterative method, instead of using the Gauss-Jordan elimination method to solve.
- 2023-06-09 07:00:02下载
- 积分:1
-
仿windows优化大师界面(源码)123456
仿windows优化大师界面(源码)123456-imitation windows optimization master interface (OSS) 123456
- 2022-05-29 20:00:33下载
- 积分:1
-
bank account management system visual code foxpro
建设银行帐户管理系统 visual foxpro代码 -bank account management system visual code foxpro
- 2022-03-12 01:52:37下载
- 积分:1
-
字典序问题:在数据加密和数据压缩中常需要对特殊的字符串进行数字编号。给定的字母表 A 由 26
个小写英文字母组成 A={a,b,…,z}。该字母表产生的升...
字典序问题:在数据加密和数据压缩中常需要对特殊的字符串进行数字编号。给定的字母表 A 由 26
个小写英文字母组成 A={a,b,…,z}。该字母表产生的升序字符串是指字符串中字母按照从左
到右出现的次序与字母在字母表中出现的次序相同,且每个字符最多出现1 次。例如,
a,b,ab,bc,xyz等字符串都是升序字符串。现在对字母表A 产生的升序字符串按照字典序排列
并编号如下。-Lexicographic problem
- 2022-05-21 01:54:25下载
- 积分:1
-
一个数据结构的大作业
一个数据结构的大作业-a data structure of operation
- 2022-06-03 13:18:04下载
- 积分:1