搜索资源列表
lisanshiyan
- 大二学年离散数学实验,运用c语言编写对离散数学这门课中关于树、图等的运算的程序-Discrete mathematics sophomore year experiment, using c language for this course on discrete mathematics trees, graphs, etc. Operational procedures
planttree
- 一条街的一边有几座房子。因为环保原因居民想要在路边种些树,路边的地区被分割成块,并被编号成1..N,每个部分为一个单位尺寸大小并最多可种一棵树,每个居民想在门前种些树并指定了三个号码B,E,T,这三个数表示该居民想在B和E之间最少种T棵树。当 然,B≤E,居民必须记住在指定区不能种多于区域地块数的树,所以T≤E-B+l。居民们想 种树的各自区域可以交叉。你的任务是求出能满足所有要求的最少的树的数量。 -One side of the street there are several
AVLTree
- AVL 树是平衡二叉搜索树,所以首先 必须满足搜索树,即l_child值<parent值<=r_child值。这个在前面已经实现了。插入和删除不停的递归就可以。-Two AVL tree is balanced binary search trees, so we must first meet the search tree, l_child value and <parent value of <=r_child value. The in front has bee
BinaryTree
- 完整二叉树类的实现(包含测试文件)功能涵盖建树、删除左右子树、归并两棵树、二叉树的前序、中序、后序及层次遍历-Complete binary tree class implementation (including test files) function covers achievements, left sub-tree delete, merge two trees, binary tree preorder, inorder, and postorder traversal level
DSM
- this are data structure program which leads to you greater use of array pointers and trees
shujujiegou
- 数据结构中一些基本功能的实现,主要是链表和树的基本操作的实现-Data structure to achieve some basic functions, is to achieve the basic operation of linked lists and trees. .
StuInfoSys
- 一个较完整的数据结构程序,包括线性、树和图的算法。-A more complete data structure of the program, including linear algorithms, trees and graphs.
Chap06
- 数据结构中的树相关的算法和源代码,包括AVL树、BST树和优先队列等,自己用VC6.0编写的。-Tree data structure algorithms and related source code, including AVL tree, BST trees and priority queues, etc., own VC6.0 prepared.
CPPdata-structure
- C++数据结构源码,包括链表,树,图等各种基本数据结构的实现,适合练习-C++ source data structure, including the realization of the basic data structure linked list, trees, graphs and other suitable exercises
Data-Structure-and-algorithms-CPP
- c++实现数据结构的所有代码。包括线性表,树,图,排序,hash等。线性表实现堆栈,队列及约瑟夫环等多个应用,树实现哈夫曼树编码及译码,AVL树,线索化二叉树,森林和二叉树的相互转化等等,图实现图的几种建立方法,拓扑排序,最短路径,最大连通子图,双连通分量,最小生成树,关键路径算法等等,排序实现归并排序,快速排序,堆排序,shell排序,冒泡排序,选择排序,插入排序等,并对性能进行分析。hash实现闭散列表,开散列表,带溢出表的内散列表等,并使用5种hash函数。帮助同学们系统的学习数据结构及算
Ch03
- 决策树,实例:matlab实现使用决策树顶预测隐形眼镜类型。-Splitting datasets one feature at a time: decision trees
Roaming-System
- opengl和c++编写的教室场景漫游,教室外面有树木等,走不出教室。-opengl and c++ writing classroom scene roaming, there are trees outside the classroom, get out of the classroom.
resouce
- 实现医院挂号系统及查询;链表及二叉树的构建及使用;用putchar自建输入输出;全排列;奇数魔方.希望站长采纳,谢谢!-Realization hospital registration system and inquiries Construction and use of linked lists and binary trees putchar self with input and output whole arrangement odd-Cube owners hope to
Algorithm-analysis
- 算法分析中经典例子,例如有Huffman编码、排列树、图等的详细代码。-The classic example of algorithm analysis, for example, Huffman coding, arranged trees, graphs and other details of the code.
TreeOP-and-graph
- 树和图相关的操作代码,是利用树和图的数据结构进行相关开发的基础代码。-Trees and graphs related to the operation code is the use of tree and graph data structures related to the development of the underlying code.
L_system
- 利用Matlab软件工具,对简单的植被形态进行模拟,模拟结果生动逼真。首先,迭代产生一系列字符串;其次,根据将L系统与图形联系起来,采用龟形的概念赋予每个字符特定的图形含义;最后,读取字符并画图,根据读取到的字符通过Matlab实现相应的操作。-According to L system and iterated algorithm, shape of trees were simulated with matlab functions and programs and the fractal
BinarySearchTree
- 二叉查找树,C++语言编写的二叉查找树,挺好的东西-Binary search trees, written in c++ language bintree, quite good
LL
- 利用LL分析方法实现的语法分析器。语法分析器(Parser)通常是作为编译器或解释器的组件出现的,它的作用是进行语法检查、并构建由输入的单词组成的数据结构(一般是语法分析树、抽象语法树等层次化的数据结构)。语法分析器通常使用一个独立的词法分析器从输入字符流中分离出一个个的“单词”,并将单词流作为其输入。-LL-implemented method of analysis utilizing the parser. Parser (Parser) is often used as a compil
LR
- 利用LR分析方法实现的语法分析器。语法分析器(Parser)通常是作为编译器或解释器的组件出现的,它的作用是进行语法检查、并构建由输入的单词组成的数据结构(一般是语法分析树、抽象语法树等层次化的数据结构)。语法分析器通常使用一个独立的词法分析器从输入字符流中分离出一个个的“单词”,并将单词流作为其输入。-LR-implemented method of analysis utilizing the parser. Parser (Parser) is often used as a compil
2
- 有一个长度为整数L(1<=L<=10000)的马路,可以想象成数轴上长度为L的一个线段,起点是坐标原点,在每个整数坐标点有一棵树,即在0,1,2,...,L共L+1个位置上有L+1棵树。 现在要移走一些树,移走的树的区间用一对数字表示,如 100 200表示移走从100到200之间(包括端点)所有的树。 可能有M(1<=M<=100)个区间,区间之间可能有重叠。现在要求移走所有区间的树之后剩下的树的个数。 输入: 两个整数L(1<=L<