搜索资源列表
happy
- 编译原理词法分析器的功能是利用函数之间的递归调用模拟语法树自上而下的构造过程。 改造文法:消除二义性、消除左递归、提取左因子,判断是否为LL(1)文法 -Compiler theory lexical analyzer function is to use recursive function calls between the simulation process of constructing the syntax tree from the top down. Transforma
bianli
- 图的深度及广度遍历 首先创建一个无向图,顶点用一个一维数组存储,弧用一个二维数组存储,不相邻顶点之间设置无限大。深度遍历时设置顶点的布尔函数,访问过的顶点布尔值为true,递归调用DFS函数。广度遍历时,结合队列的存储方式,进行遍历。-Figure traverse the depth and breadth of First create a non-directed graph, vertex with a one-dimensional array to store the arc w
cc
- 利用递归函数调用方式,将所输入的5个字符,以相反顺序打印出来。-Recursive function calls, five characters entered, printed out in reverse order
Algorithm-design
- 算法设计中重点的几个函数算法,含有递归、堆栈、背包等-Several function algorithm algorithm design focus, containing recursion, stack, backpacks, etc.
0
- 编写递归函数,求n个元素集合的所有子集。不妨令集合元素为小写字母,原集合为{‘a’, ‘b’, …, ‘a’ + n - 1}。-Write a recursive function, all subsets of a set of elements for n
Ackerman
- Ackerman函数的递归语非递归的实现-Non-recursive implementation of a recursive language Ackerman function
Low-Complexity-
- 本文提出了一种低复杂度的变遗忘因子机制用于递归最小二乘恒模约束算法中来抑制干扰。改进的方法通过恒模代价函数的时间平均来调节遗忘因子,从而更快地跟踪干扰并抑制,该文章计算量低,收敛速度快。-This paper presents a low complexity variable forgetting factor recursive mechanism for lscm constraint method to suppress interference. Improved methods be