搜索资源列表
dijst
- 用MATLAB实现的dijikstra最短路径算法,在算法中运用了元包技术用以记录路径/以及蒙特卡诺算法-Using MATLAB implementation dijikstra shortest path algorithm, the algorithm used in the meta-package technology to record the path
shujujiegou
- 以广州旅游业为背景,设计一个变长记录文件存取类库。程序采用B+树作为索引系统,支持字节流嵌入方式和文件链接方式,以较友好的用户界面,加强程序容错性-Guangzhou tourism industry as the background, to design a variable-length record file access library. Program uses B+ tree as an indexing system to support byte-stream mode and
SearchSort
- 对系统随机生成的一组数据进行排序,查找,统计不同排序方法需要的比较次数和交换次数以及不同排序需要的时间,还有要记录查找时间-The system randomly generates a set of data to sort, search, statistical comparison of the different sorting methods require the number and frequency of exchange, as well as the time requi
Desktop
- 变长记录文件存取类库的设计和实现及应用。数据结构大作业的题目。-Variable-length record file access class library design and implementation and application. Data structure the subject of large operations.
MyOOCFwV1_0
- 使用C语言时,经常需要调用malloc()和free()函数来进行动态内存的分配和回收。有些时候,程序员可能会忘记回收分配的动态内存。为了解决这个问题,这里设计了一个代替malloc()和free()函数的数据结构(或者类)——ObjectManager。ObjectManager中提供了objmgr_malloc()和objmgr_free()以及objmgr_show_mem_info()函数。objmgr_malloc()函数负责按字节总数动态分配内存并且予以记录,objmgr_free(
ywm
- 数据结构专家教授严蔚敏先生现场答数据结构爱好者问记录,chm格式,使用方便,很有参考价值。-Data structure experts and professors to Mr. Yan Weimin live record A data structure that fans ask, chm format, easy to use, great reference value.
10-2
- A program to process your database. this program enables you to perform following actions on your database : adding new record to database using INSERT deleting records from database modifying records
sort
- 给定N个int类型(自定N的上限M,例如M=100000,N的取值不能少于10000)的整数,分别使用插入排序、快速排序、归并排序和堆排序方法进行升幂排序。 具体要求: 1 四种排序方法均能得到正确的排序结果。 2 分别统计四种排序中关键字比较的次数和记录交换的次数,并将统计结果显示出来。 -Int a given N-type (since the upper limit set N M, such as M = 100000, N the value of not less
10.42
- 10.42④ 序列的"中值记录"指的是:如果将此序列排序 后,它是第n/2个记录。试写一个求中值记录的算法。-10.42 ④ sequence " in the value of record" is: If this sequence of sequencing, it was the first n/2 records. Try to write a request in the value of records is proposed.
example11-13
- 建立每个学生信息的记录对学生信息按分数从高到低排序显示排序后的结果-Established a record of each student information on the student information from high to low Sort by score sort the result shows
shanliebiao
- 任务: 设计散列表实现电话号码查找系统。 设每个记录有下列数据项:电话号码、用户名、地址; 1,从键盘输入各记录,分别以电话号码和用户名为关键字建立散列表; 2,采用一定的方法解决冲突; 3,查找并显示给定电话号码的记录; 4,查找并显示给定用户名的记录。 -Task: Design Implementation phone number lookup hash table system. Set for each record the following data
Dijkstra
- Dijkstra算法思想:每次从V-S取出具有最短特殊路径长度的顶点u,将u添加到S中同时对数组dist作必要的修改,一旦s包含了所有v中顶点,dist就记录了从源到其他顶点之间的最短路径长度。-Dijkstra Algorithm idea: Every time out from the VS special path with the shortest length of vertex u, u will be added to the S in the same time, make t
Bubblesortofchainstore
- 冒泡排序的链式存储,冒泡排序法首先将第一个记录的关键字与第二个记录的关键字进行比较,若逆序则交换,然后比较第二个与第三个,以此类推,直至第n-1个与第n个记录的关键字进行比较。-Bubble sort of chain stores, bubble sort method will be the first record of the first and second records the keywords the keywords are compared, if the reverse w
sort
- 给出一个有向图,采用邻接表存储方式,增加一个记录顶点入度的数据域,编写算法输出一个拓扑序列。-A directed graph given by adjacency list is stored, a record increase in the degree of vertex data into the field, the preparation of a topological algorithm output sequence.
fenkuaichazhao
- 试编写利用折半查找确定记录所在块的分块查找算法。 提示:1. 读入各记录建立主表; 2. 按L个记录/块建立索引表; 3. 对给定关键字k进行查找; 测试实例:设主表关键字序列:{12 22 13 8 28 33 38 42 87 76 50 63 99 101 97 96},L=4 ,依次查找K=13, K=86,K=88 -Trial preparation records using binary search to determine where the bl
yudaoq
- 查找、排序的应用实验1) 顺序查找; 2) 分别使用直接插入排序、冒泡排序、快速排序对原纪录序列进行排序,并显示排序结果; 3) 对上述纪录列表排好序,然后对其进行折半查找; 4) 利用原纪录序列建立一颗二叉排序树,并在其上实现特定关键字值结点的查找; 5) 按照“除留余数法”哈希构造函数和线性探测再散列的冲突处理方法创建表长为m=11的哈希表; 6) 实现5)创建哈希表上的查找。 -Find, Sequencing Experiment 1) sequential se
CountKeyword
- 输入C语言保留字文本文件、C语言源程序文件,输出记录对应C语言源文件中各关键词出现次数的文本文件。 完成以下功能:读取C语言保留字文本文件,建立C语言保留字链表;建立逐行读取给定C语言源文件,分解出每个单词并与C语言关键词进行比较,记录各关键词出现的次数,将所有关键词出现的次数保存到给定文本文件;要考虑用命令行参数实现该任务。 要应用以下知识点:文件的读写;字符数组的操作;命令行参数的使用。 -Enter the C language reserved word text file,
danlianbiaocaozuo
- 利用单链表完成一个班级的所有学生信息的管理:能够增加、删除、查找、修改学生的记录。-Completed using a single list of all students in a class of information management: the ability to add, delete, search, modify the student' s record.
update-and-delete
- 用链表实现对数据的增查删改,可以把记录保存到文件数据库中-Achieved with the list of data deletion by check, the file can be saved to the database record
A
- 根据A*算法实现九宫格重新排序问题,并记录每步的排序结果-Jiugongge A* algorithm based on re-scheduling problem, and record the results of each step of the sort