搜索资源列表
template_tree
- C++ 模板方法实现树结构成员添加和去除 关键字 template tr-C template method tree structure to add and remove members of the keyword template tr
语法分析之左递归实验
- 此为编译原理实验报告 学习消除文法左递规算法,了解消除文法左递规在语法分析中的作用 内含 设计算法 目的 源码 等等.... 算法:消除左递归算法为: (1)把文法G的所有非终结符按任一种顺序排列成P1,P2,…Pn 按此顺序执行 (2)FOR i:=1 TO n DO BEGIN FOR j:=1 DO 把形如Pi→Pjγ的规则改写成 Pi→δ1γ δ2γ … δkγ。其中Pj→δ1 δ2 … δk是关于Pj的所有规则; 消除关于Pi规则的直接左递归性 END (3)化简由(2)所得的文法。即
airport
- 模拟airport,添加航班,去除航班,算出最短路径 -Simulated airport, add flights to remove flights to calculate the shortest path, etc.
QuickSort
- 快排,快速排序算法,里面包含例子,并且有原始版本,有改进: 去除尾递归,有去除尾递归, 改进2):将较短的区间使用递归去排序. 较长的区间用循环去排序.-Fast discharge, fast sorting algorithm, which contains examples, and there is the original version, there are improvements: removal of tail recursion, there is removal of
4
- 采用链队设计一个算法,反应病人看病、排队看医生的情况,在病人排队过程当中,主要重复两件事情: –(1)病人到达诊室,将病历本交给护士,排到等待队列中候诊; –(2)护士从等待队列中去除下一位病人的病历,该病人进入诊室就诊。 要求模拟病人等待就诊这一过程。程序采用菜单方式,下面将其选项及功能进行说明: –1,排队,输入派对病人的病历号,加入到病人排队队列中; –2,就诊,病人排队队列中最前面的病人就诊,并将其从队列中删除; –3,查看排队,从对首到
string
- C++设计字符串类1) 能够用 “+” 来处理两个字符串的相加;2) 具有在一个字符串中搜索一个字符的功能;3) 具有在一个字符串中搜索另一个字符串的功能;4) 实现去除字符串最前面和最后的空格的功能;5) 编写一个main()函数,测试你的字符串类的各种功能。-C++ design string class 1) can use " +" to deal with the addition of two strings 2) has a function to search
kuohaopipei
- 基于Visual C++的括号匹配程序,去除多余的括号-Parentheses matching based on Visual c++ program, remove redundant parentheses
PHD
- PHD滤波,含速度与加速度的方向,去除系统噪声协方差矩阵-PHD filtering, including speed and acceleration of the direction of removing system noise covariance matrix