搜索资源列表
expression.rar
- 本程序在turboc 2.0中运行 输入表达式,并计算出表达式的值 采用二叉树存储方法,计算速度比较快
Caculator
- 有二叉树计算表达式的值-a binary tree calculate the value of the expression
实验7 二叉树 北京师范大学数学科学院
- 自创的算法,输入表达式,建立二叉树的程序,然后输出前缀中缀后缀表示法,利用的对表达式的分割与递归实现输入,同时这也是一个完整的波兰式转换程序,相当稳健-own algorithm, the importation of expression, the establishment of the binary tree and then output the suffix prefix which is made up of the method, using the right expressio
重言式
- 用二叉树实现逻辑表达式的基本运算,包括逻辑与,或,非,还可以判别表达式是重言式,还是矛盾式.-binary tree using logical expressions of basic operations, including logic and, or, not, we can judge expression is tautology, or contradiction.
十进制四则运算器
- 题目内容:在以二叉树表示算术表达式的基础上,设计一个十进制的四则运算的计算器。主要功能:实现整数浮点数的四则运算。-topic : expressed in a binary tree arithmetic expressions on the basis of the design of a four decimal computing calculator. The main functions : to achieve integral float the four operations.
ExpressionBinaryTree
- 表达式二叉树的实现。输入任意一个前序中序或后序表达式,可生成对应的表达式二叉树并树状打印,之后用户可以选择以前序中序或后序将表达式再次输出。-expression of the realization of a binary tree. An arbitrary input before the order or sequence after sequence expressions, which will generate the corresponding binary tree and t
gtrtgdfg
- 遍历是二叉树经常要遇到的一种操作.可以运用到二叉树结点计数,线索化二叉树,求二叉树的深度,表达式求值等算法中.在遍历的过程中,对结点的访问具有普遍的含义,可以是输出各结点的数据域信息,也可以是对结点作其他处理.另外,通过一次完整的遍历,可使二叉树中结点信息由非线性排列变为某种意义上的线性排列.也就是说,遍历操作使非线性结构线性化. -traverse binary tree is frequently encountered in a operation. Binary Tree ca
Delphi_1016
- 《Delphi算法与数据结构》源码 Delphi开发人员Julian Bucknall从实用角度为广大程序员提供了有关使用算法和数据结构的一个详尽的介绍。Bucknall先从算法性能的讨论开始,涵盖了诸如数组、链表和二叉树等内容。这本书强调了查找算法(如顺序和二分查找),另外也重点介绍了排序算法(包括冒泡排序、插入排序、希尔排序、快速排序和堆排序),此外还提供了有关的优化技术。不仅如此,作者还介绍了散列和散列表、优先队列、状态机和正则表达式以及诸如哈夫曼和LZ77等数据压缩技术。 随附光
EX5_7
- 表达式类型的实现 1. 算术表达式的合法输入数据包括变量(A~Z,a~z)、常量(0-9)和二元运算符(+,-,*,/,^(乘幂))。程序对数据输入格式不作要求,用户需自己保证语法正确,详见用户手册说明。 2. 演示程序以人机对话的方式执行,即在计算机上显示提示信息后,由用户在键盘上输入对应的数据或命令,程序将执行相应的操作并显示下一步信息。 3. 程序执行的命令包括: 1) 根据用户输入的前缀表达式自动添加括号并建立其自然书写形式的表达式; 2)提示用户给各变量赋值;
基于二叉树求算术表达式求值的课程设计
- 这是本人做的关于基于二叉树求算术表达式求值的课程设计,供大家一起学习。表达式求解问题 设计一个程序实现基于二叉树表示的算术表达式的操作。 1、 需求分析 1. 算术表达式的合法输入数据包括变量(A~Z,a~z)、常量(0-9)和二元运算符(+,-,*,/,^(乘幂))。程序对数据输入格式不作要求,用户需自己保证语法正确,详见用户手册说明。 2. 演示程序以人机对话的方式执行,即在计算机上显示提示信息后,由用户在键盘上输入对应的数据或命令,程序将执行相应的操作并显示下一步信息。 3. 程
code
- 1、猴子选大王 2、约瑟夫环 3、迷宫求解 4、回文游戏 5、地图四染色问题 6、八皇后问题 7、原四则表达式求值 8、k阶斐波那契序列 9、遍历二叉树 10、编写DFS算法的非递归函数。 编写BFS算法。 11、简单选择排序, 折半插入排序, 冒泡排序, 快速排序, 堆排序 12、顺序查找,折半查找-err
tree
- 包括树的构造,树和二叉树的转换,树的各种遍历,以及用二叉树计算算术表达式,构造、计算中序表达式,中序表达式转前序表达式等~! -Including the tree structure, trees and tree transformation, tree traversal of the various, and the tree calculated using the arithmetic expression, construction, calculation sequence ex
cstree
- 输出二叉树表达式,不过无法去掉,需要改进以下-bitree
tree
- 算术表达式与二叉树之间存在着对应关系,编写把以前缀形式输入的合法算术表达式转换为中缀表达式,再转换为后缀表达式,并求表达式的值-Arithmetic expressions with binary tree there is a correlation between the preparation of the form to enter the legitimate prefix arithmetic expression conversion infix expression, and t
SmartCacul
- 自己上大学时开发的有声科学计算器。 使用一个泛型二叉树深度优先进行表达式解析。 界面支持编辑表达式,声音是自己录的,不要害怕(-:< -The development of their own college, sound scientific calculator. Using a generic binary tree for the expression analysis. Interface supports editing expressions, his voice
main
- 数据结构二叉树表达式运算,括号表示法输出-Binary tree data structure expression operations, brackets notation output
利用二叉树求值
- 运用二叉树求表达式值 根据表达式 构建二叉树 建立波兰式 求出值。(Using the two tree to calculate the expression value, construct two fork tree according to the expression, and establish the Poland type value.)
新建压缩(zipped)文件夹
- 一个表达式和一棵二叉树之间,存在着自然的对应关系。写一个程序,实现 基于二叉树表示的算术表达式 Expression 的操作。(There is a natural correspondence between an expression and a two forked tree. Write a program to implement The operation of the arithmetic expression Expression based on the two f
表达式类型的实现2
- 一个表达式和一棵二叉树之间,存在着自然的对应关系。写一个程序,实现 基于二叉树表示的算术表达式 Expression 的操作。
test1
- 本程序利用二叉树实现了表达式的存储和计算的功能(Storage and calculation of expressions with two forked trees)