搜索资源列表
cpphs
- Haskell,纯正的函数式程序设计语言。特别是利用很简单的叙述就可以完成[链表]、[矩阵]等数据结构。压缩包里有10几个例程 -Haskell, single-function programming language. In particular the use of very simple descr iption can be completed [List], [Matrix] data structure. 10 compression bag several routines
longNum
- 利用循环链表表示大整数,链表的头结点值为-1,其余结点依次存放数据,各结点最多存放四位整数。在利用上述数据结构完成大整数的表示后,实现两个大数的加法,减法运算(两个链表表示操作数)
三元组
- C语言数据结构作业三元组序列表,特点是非零元在表中按行序有序储存,因此便于进行依行顺序处理的矩阵运算,然而若需按行号存取某一行的非零元,则需从头开始进行查找-C language data structures operating sequence in Table 3, which is characterized by non-zero yuan in the table in an orderly sequence by storage firms, according to facili
Josephus
- Josephus 问题描述 数据结构为链表的插入与查询-Josephus Problem Descr iption
ExperimentsOfParallelAlgorithms
- 并行计算实验程序,包括多线程模拟并行、并行计算的数据结构、并行合并算法和链表、堆栈等的操作,等等。-Experimental procedures for parallel computing, including multi-threaded parallel simulation, parallel computing data structures, parallel algorithms and list the merger, the operation of the stack an
1
- 1、 某软件公司大约有30名员工,每名员工有姓名、工号、职务等属性,每年都有员工离职和入职。 把所有员工按照顺序存储结构建立一个线性表,建立离职和入职函数,当有员工离职或入职时,修改线性表,并且打印最新的员工名单。 -1, a software company, there are about 30 employees, each employees name, job number, position and other property each year, employee tur
cvsfjlgr
- 长整数数据结构四则运算运用双链表进行数据存储-Long integer data structure operation using four pairs of linked list for data storage
kmeans
- 这是用C++编写的数据挖掘的聚类算法。算法中使用了链表结构做为存储数据的容器。-It is written in C++, data mining clustering algorithm. Algorithm is used to store data as a linked list structure of the container.
Sparse-matrix-transpose
- 绍了对稀疏矩阵进行压缩存储的几种存储方式,重点分析了稀疏矩阵的三元组压缩存储的不同存储结构,提出利 用数组首下标元素存储稀疏矩阵总行数、总列数和非零元素总个数三个信息的改进的三元组顺序表存储定义方式。同时给出 了用c语言编写的基于该定义上设计矩阵转置的几种算法。通过对各算法进行时间复杂度分析,总结出了几种算法的优 缺点。-Introduce a compressed sparse matrix storage of several storage
hah
- 1. 栈结构通常采用的两种存储结构是(A)。 A、顺序存储结构和链表存储结构 B、散列和索引方式 C、链表存储结构和数组 D、线性链表结构和非线性存储结构 -1. Stack structure of the two commonly used storage structure is (A). A, list the order of storage structure and storage structure B, hashing and indexing C
VB
- 设计并实现以下算法:给出用单链表存储多项式的结构,利用后接法生成多项式的单链表结构,实现两个多项式相加的运算,并就地逆置相加后的多项式链式。-Designed and implemented the following algorithm: given the structure of a singly linked list storage polynomial, use the connection to generate a polynomial single-chain structur
hanoi
- 汉若塔问题使用数据结构循环单链表实现-Han if the tower is circular single linked list data structure. . . .
2
- 掌握二叉树的链式和顺序存储结构,利用队列对二叉树进行运算。 二、实验内容: 1) 编写函数creatbt,其功能是将一维数组方式存储的二 叉树转化为链式存储的二叉树,返回root指针。 2) 编写函数freebt,其功能是释放二叉树链表节点的存储 空间。函数原型为:void freebt (TNODE * root) 3) 编写函数实现前序、中序和后序遍历; -Master chain and sequential storage structure of the binar
exp5
- 学生管理系统采用线性链表结构完成,链表直接使用C++标准 模板库STL中的list来完成。关于排序,直接调用list 容器的sort方法完成-Student management system using a linear chain structure complete list directly using C++ Standard Template Library STL in the list to complete. About sort, directly call the sort
exp10
- 图的实现由Graph类完成。类中,图数据结构采用邻接 表实现。邻接链表中的节点用一个数据对表示,第一个域 用来保存和连接第i个节点边的另一端的节点编号,第二个 域用来保存该边的权值。另外用一个辅助数组来存储各节点 的评分值。-Figure achieved by the Graph class is completed. Class, graph data structure using adjacency Table implementation. Adjacen
poloy
- 用线性表实现一元多项式的多种运算,对初学数据结构的人佷有帮助。-Use linear table for one yuan polynomial of a variety of operations, for beginners of data structure is very helpful.
Hash_MFC
- 哈希表的实现,mfc可视化编程实现,学习数据结构-Hash table implementation, mfc visual programming, learning data structures
zz2
- (1)顺序存储结构的实现。 列如,已知: f(x)=8x^6+5x^5-10x^4+32x^2-x+10,g(x)=7x^5+10x^4-20x^3-10x^2+x, 求和结果:f(x)+g(x)=8x^6+12x^5-20x^3+22x^2+10。 顺序表数据类型定义如下: #define MAXLEN 100 typedef struct { int data[MAXLEN] int last }SeqList (2)链式存储结构
顺序查找代码
- 顺序查找适合于存储结构为顺序存储或链接存储的线性表。 基本思想:顺序查找也称为线形查找,属于无序查找算法。从数据结构线形表的一端开始,顺序扫描,依次将扫描到的结点关键字与给定值k相比较,若相等则表示查找成功;若扫描结束仍没有找到关键字等于k的结点,表示查找失败。
Random-Forests-Matlab-master (2)
- 要说随机森林,必须先讲决策树。决策树是一种基本的分类器,一般是将特征分为两类(决策树也可以用来回归,不过本文中暂且不表)。构建好的决策树呈树形结构,可以认为是if-then规则的集合,主要优点是模型具有可读性,分类速度快。(In machine learning, a random forest is a classifier that contains multiple decision trees, and its output category is determined by the m