搜索资源列表
数据结构与算法(C实现)演示篇
- 数据结构与算法(C#实现)系列---演示篇,我们可以在这里找到很多实例-data structures and algorithms (C#) series --- demonstration chapter, we can find a lot of examples here!
greedy
- (1).问题描述:集装箱的装箱问题 给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装箱的空间利用率最高? (2).程序设计要求: a. 设计一个贪心算法 b. 任给一个输入实例,能输出集装箱的空间利用率 c. 能用图形演示装箱的过程 演示: 输入要测试的文件名,如c17.txt,程序将给出结果,并用图形演示。
dp
- (1).问题描述:旅行商问题 某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要 选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程( 或旅费)最小。 (2).程序设计要求: a. 设计一个动态规划算法 b. 任给一个输入实例,能输出最短路程及其路线 c. 能用图形演示旅行商的推销路线 输入要测试的文件名,如TSP6.txt,程序将利用动态规划求解该问题,给出最佳线 路,并用图形演示。
yht2008.2.24
- 算法设计,经典程序算法,主要用C++语言实现,许多实例的解答配有源代码
数据结构的C++描述
- 目 录 译者序 前言 第一部分 预备知识 第1章 C++程序设计 1 1.1 引言 1 1.2 函数与参数 2 1.2.1 传值参数 2 1.2.2 模板函数 3 1.2.3 引用参数 3 1.2.4 常量引用参数 4 1.2.5 返回值 4 1.2.6 递归函数 5 1.3 动态存储分配
C
- 本文档容括了C(C++)所有算法,分为数值算法、图论算法、背包算法、排序算法、高精度算法、树的遍历、进制转换、全排列和组合生成、查找算法、贪心、回溯法框架、DFS框架、BFS框架、数据结构相关算法。并有实例源码-This document, including the capacity C (C ) for all algorithms, divided into numerical algorithms, graph theory, algorithm, knapsack algorit
diguisuanfa
- 递归算法的实验报告,内有递归算法的伪代码及C语言实现,以及部分实例~-Experimental report recursive algorithm, recursive algorithm, there are pseudo-code and C language, as well as some examples ~
CcppAlgorithms
- C 和 C++算法实例,个经典算法代码。-C and C++ Algorithm. Good code for data structure.
Prim
- 普利姆算法的C++实例演示。用于求无向网的最小代价生成树-Pliem algorithm C++ instance of the presentation. Undirected network for minimum cost Spanning Tree ... ... ... ...
Csuanfashili
- C算法的一些经典实例,对工作笔试面试很有帮助!-C algorithm for some of the classic examples of the work written examination and interview help!
C_classical_data_structure_algorithms
- C经典数据结构算法,有很多的实例,是学习数据结构很好的资料,包含源代码。-C classical data structure algorithms, there are many examples of good data structure for learning the information, including source code.
MaoPao
- 冒泡排序算法的C语言实现。简单的冒泡排序算法实例(Dos下运行)。-Bubble Sort Algorithm C language. Simple bubble sort algorithm instance (Dos run).
C--lianbiao
- C语言链表 中和实例程序 对经典算法提高很有帮助-C language linked list and examples of program is helpful to improve the classical algorithm
ant-VRP
- C++实现的VRP算法,作为实例非常不错的-C++ implementation of the VRP algorithm, as a very good example
cPP
- 数据结构算法与应用,在简要回顾了基本的C++ 程序设计概念的基础上,全面系统地介绍了队列、堆栈、树、图等基本数据结构,以及贪婪算法、分而治之算法、分枝定界算法等多种算法设计方法,为数据结构与算法的继续学习和研究奠定了一个坚实的基础。更为可贵的是,本书不仅仅介绍了理论知识,还提供了50多个应用实例及600多道练习题。-Data structures algorithms and applications, in a brief review of basic C++ programming con
2010211307-2-24
- 假设稀疏矩阵A和B均以三元组表作为存储结构,试写出矩阵相加(相乘—选做)的算法,另设三元组表C存放结果矩阵。 矩阵相加测试实例: 0 7 0 8 0 2 0 1 0 0 A= 4 0 0 0 5 B= 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 0 6 0 0 -6 0 处理过程提示: 输入稀疏矩阵A和B 检测A和B能否相加 矩阵相加运算 打印运算结果-Sparse matrix A and B are in
CPP-sources
- 该资源包含C++实例(汉诺塔问题、贪心算法问题、八皇后问题)的源程序实现.-The resources include C++ source codes(Hanoi problem, the greedy algorithm, 8 queens problem).
greedy
- 活动安排,简单的贪心算法实例,适合C语言初学者使用-Events, a simple greedy algorithm instance
code
- 钱能编著《C++算法分析》第二版课内实例代码。全套集全-Classroom example code
队列实现归并排序
- 使用C++语言实现队列归并排序的实例 采用分制法一种有效排序算法(An example of queue merging and sorting using C++ language using an efficient sorting algorithm)