搜索资源列表
visit
- 用贪心算法做的全国31个城市之间的旅行商问题源代码,可执行程序都在附件压缩包内。里面的data.txt city.txt分别为数据表和城市名,要和可执行程序放在同一个目录内才可执行-greedy algorithm to do with the country's 31 cities between the TSP source code, the executable in Annex compressed packet. Inside data.txt city.txt of dat
huffmancode111
- huffman完整源代码C语言实现,有本人超级详细解释(看不懂你去跳楼吧) 算法设计: 1、对给定的n个权值{W1,W2,W3,...,Wi,...,Wn}构成n棵二叉树的初始集合F={T1,T2,T3,...,Ti,...,Tn},其中每棵二叉树Ti中只有一个权值为Wi的根结点,它的左右子树均为空。(为方便在计算机上实现算法,一般还要求以Ti的权值Wi的升序排列。) 2、在F中选取两棵根结点权值最小的树作为新构造的二叉树的左右子树,新二叉树的根结点的权值为其左右子树的根结点的权值之
DS_DESIGN
- 这是我的数据结构课程设计源代码,请务必按提示输入数据,该程序的功能是用链表实现多项式的四则运算。-This is my data structure course design source code, you must follow the directions to input data, the program's function is used to achieve Chain of four polynomial operations.
DataStrucure
- 这是我上数据结构和算法课程是老师的课件 所有算法都用c++实现拉 .比用伪代码描叙要 好得多-on data structures and algorithms is the teacher's curriculum courseware all algorithms are used to achieve c Rafah. Pseudo code than depicts much better
哈夫曼算法源程序
- 哈夫曼算法的源程序,根据清华大学数据结构一书中的算法编写-Huffman algorithm source code, according to a data structure of Qinghua University's book algorithm
hanoi.rar
- 看了数据结构那本书的源代码,又学了点MFC的知识,顺便就把可视化程序做出来了,不过功能少了点,请大家多多指教!,Read the data structure of the book' s source code, but also learn a little knowledge of MFC, the way they do out of visual programming, but the functional少了点, exhibitions please!
yuesefu
- 约瑟夫环的c++语言解决代码,visualc++6.0编译成功-Josephus' s c++ language with code, visualc++6.0 build success
queen
- 拉斯维加斯(Las Vegas)算法来解皇后控制问题的解题报告和源代码。问题描述:在一个n×n个方格组成的棋盘上的任一方格中放置一个皇后,该皇后可以控制他所在的行,列以及对角线上的所有方格。对于给定的自然数n,在n×n个方格组成的棋盘上最少要放置多少个皇后才能控制棋盘上的所有方格,且放置的皇后互不攻击? 设计一个拉斯维加斯算法, 对于给定的自然数n (1≤n≤100)计算在n×n个方格组成的棋盘上最少要放置多少个皇后才能控制棋盘上的所有方格,且放置的皇后互不攻击。 -Las Vegas
Memerypool
- 这是长安大学的数据结构教学程序之一,是关于内存池思想使用的一个C++学习代码,用于了解内存池的应用思想。-This is the data structure of Chang' an University teaching program is one of the memory pool ideas on the use of a C++ to learn the code for the application of ideas about memory pool.
Nqueen
- 一个简单的N皇后可视化原代码,完成皇后解决方案的图形界面-A simple visualization of N-Queen' s source code to complete the Queen' s graphical interface solutions
list
- 数据结构之:链表的添加和删除,C++初学者的源代码-Data structure: list of add and delete, C++ beginner' s source code
dijkstra
- 银行家算法 1. 实验目的: 用高级语言编写和调试一个利用银行家算法避免死锁的程序,以加深对分配资源时如何避免死锁的理解。 2. 实验内容: 编写一个模拟程序,完成避免死锁的模拟,要求采用dijkstra的银行家算法。 实验具体包括:首先确定可利用资源向量的数据结构、最大需求矩阵,分配矩阵,需求矩阵,然后完成银行家算法、安全性算法等程序代码 最后编写模拟过程的主函数,上机实验并取得结果数据。 -Banker' s Algorithm 1. Experimental
yuandaima
- 一般背包问题的贪心算法 Dijkstra算法求解单源最短路径问题 N皇后问题 Prim算法 Kruskal算法代码-The general knapsack problem greedy algorithm Dijkstra' s algorithm for single-source shortest path algorithm N Queen' s problem Kruskal Algorithm Prim code
yinghanjia
- 这是操作系统的银行家算法,实验源代码,共同分享吧-This is the operating system of the banker' s algorithm, the experimental source code and share it
C12
- 10个重要的算法C语言实现源代码:拉格朗日,牛顿插值,高斯,龙贝格 -10 important algorithm C language source code: Lagrange, Newton' s interpolation, Gauss, 10 important Romberg algorithm C language source code: Lagrange, Newton' s interpolation, Gauss, Long Berg
yhj
- 实现操作系统中的经典问题银行家算法,主要的核心代码-The realization of the classic problem of the operating system banker' s algorithm, the main core of the code
zuiduanlujing
- 数据结构中的迪杰斯特拉最短路径算法的代码,大作业之一-Data structure of Dijkstra' s shortest path algorithm code, the one
score
- 学生成绩信息管理系统的源代码及运算结果和分析-Student performance information management system' s source code and the calculation results and analysis
Algorithm-source-code
- 西北工业大学算法设计实验答案程序的源代码-Northwestern Polytechnical University, algorithm design experiments answer the program' s source code
39
- 给定程序中,函数fun的功能是:将N×N矩阵中元素的值按列右移1个位置,右边被移出矩阵的元素绕回左边。例如,N=3,有下列矩阵 1 2 3 4 5 6 7 8 9 计算结果为 3 1 2 6 4 5 9 7 8 请在程序的下划线处填入正确的内容并把下划线删除,使程序得出正确的结果。 注意:源程序存放在考生文件夹下的BLANK1.C中。 不得增行或删行,也不得更改程序的结构! -A given program, function fun f
