CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 数值算法/人工智能 数据结构常用算法 搜索资源 - function.h

搜索资源列表

  1. stack

    0下载:
  2. 不带头结点的链式堆栈类,1、 定义并实现不带头结点的链式堆栈类,除构造和析构函数外,成员函数还有入栈、出栈、取栈顶元素、判断堆栈是否非空,头文件为“nohead_LinStack.h”。-node does not take the lead in the category of chain stack, 1, and the definition does not take the lead in realizing the chain nodes stack category, In add
  3. 所属分类:数据结构常用算法

    • 发布日期:2008-10-13
    • 文件大小:11456
    • 提供者:庄文
  1. Hash

    0下载:
  2. 试构造一个算法,从键盘输入一组关键字,按哈希函数H(key) = key MOD 13和链地址法处理冲突构来造哈希表,能对关键字进行查找并显示。 如(19,14,23,1,68,20,84,27,55,11,10,79,33). -Try to construct a method, a set of keywords from the keyboard, press the hash function H (key) = key MOD 13 and the address of th
  3. 所属分类:Data structs

    • 发布日期:2017-04-03
    • 文件大小:2214
    • 提供者:王玉珏
  1. datastr

    0下载:
  2. C/C++常用的数据结构类 包括: array.h: 安全数组,可自动增长大小(随机访问,但扩充时效率低) linkedlist.h: 普通链表(可随机访问,但访问效率低) dclinkedlist: 双向循环链表(不可随机访问,但插入、遍历的效率都比普通链表高) hashtable.h: 哈希表(使用键值标识元素,键值一样的元素即认为相等,需重载 == 运算符并由用户定义哈希函数) binstree.h: 二叉搜索树(需重载 == 和 < 运算符) avltr
  3. 所属分类:Data structs

    • 发布日期:2017-04-01
    • 文件大小:16765
    • 提供者:sam
  1. hash

    0下载:
  2. 查找: 建立一个哈希查找表,哈希函数采用: H(key)= key P(其中P=13),若发生冲突后,用链地址法解决冲突。-Search: the creation of a hash lookup table, the use of hash function: H (key) = key P (of which P = 13), if the occurrence of post-conflict, and conflict resolution chain address law.
  3. 所属分类:Data structs

    • 发布日期:2017-04-03
    • 文件大小:70753
    • 提供者:奈奈
  1. matrixdriver

    0下载:
  2. now, how can i call kmeans function for h , s,v separately, what parameters to be passed. here h is 512*512 matrix.and how can i construct the clustered/segmented image from the kmeans result. need sample code in matlab its urgent. Please h
  3. 所属分类:Data structs

    • 发布日期:2017-04-09
    • 文件大小:1912
    • 提供者:jntu
  1. clock

    0下载:
  2. 1. 首先建立一个基本对话的exe工程,并命名为time; 2. 在BOOL CTimeDlg::OnInitDialog()函数内建立一个计时器,SetTimer(1,1000,NULL) 3. 再用classwizard建立消息响应函数void CTimeDlg::OnTimer(UINT nIDEvent),在里面输入代码如下:Invalidate() 4. 再用classwizard建立消息响应函数void CTimeDlg::OnDestroy(),在里面输入代码如下:
  3. 所属分类:Data structs

    • 发布日期:2017-04-09
    • 文件大小:1911991
    • 提供者:tmacq3
  1. ds_6

    1下载:
  2. 1.定义哈希表数据结构。 2.除留余数法做为哈希函数、 H(key) = key P 用线性探测再散列解决冲突方法,编写函数,实现哈希造表的过程,并输出哈希表。 3.编写函数,求查找成功时的平均查找长度(ASL)。-1. Define hash table data structure. 2. In addition to leaving the remainder as the hash function method, H (key) = key P re-hashing
  3. 所属分类:Data structs

    • 发布日期:2017-03-30
    • 文件大小:636
    • 提供者:Yvonne
  1. DS_ADT

    0下载:
  2. 用到Queue和Stack這兩個資料結構 ,已經寫好放在同個資料夾底下 , 有兩個檔案 : ADT.h 和 ADT.cpp , 同時還提供了一個洗牌的函式 1. 連結Header Files - 首先我們要同時使用多個檔案來跑程式的話 , 就需要建立一個專案檔。   VS.net 2005 因為一定要建專案才能跑 , 所以只要在標頭檔(Header Files)按   右鍵 , 把這兩個檔案加進來就可以了。在主程式要記得 #include “ADT.h” , 才可以使用
  3. 所属分类:Data structs

    • 发布日期:2017-04-03
    • 文件大小:2567
    • 提供者:zelda
  1. ha

    0下载:
  2. 假设哈希表长为m,哈希函为H(x),用链地址法处理冲突,试编写输入一组关键字并建造哈希表的算法。-Suppose the hash table length m, the hash function as H (x), treatment with a chain address the conflict and try to enter a keyword and the preparation of the construction of hash table algorithm.
  3. 所属分类:Data structs

    • 发布日期:2017-03-29
    • 文件大小:565
    • 提供者:林小芬
  1. d

    0下载:
  2. 设定哈希函数 H(key) = key MOD 11 ( 表长=11 ),输入一组关键字序列,根据线性探测再散列解决冲突的方法建立哈希表的存储结构,显示哈希表,任意输入关键字,判断是否在哈希表中。-Set the hash function H (key) = key MOD 11 (table length = 11), enter a keyword sequence, then hash based on the linear probing method of conflict reso
  3. 所属分类:Data structs

    • 发布日期:2017-03-30
    • 文件大小:1096
    • 提供者:申超波
  1. buddysystem

    0下载:
  2. 伙伴系统(buddy system)算法实现。两个文件 buddysystem.c,buddysystem.h,主要实现了两个主功能函数1.Buddy System 内存块分配算法,函数AllocBuddySpace;2.Buddy System 空闲块回收算法,函数FreeBuddy。-Buddy system (buddy system) algorithm. Two files buddysystem.c, buddysystem.h, mainly to achieve two ma
  3. 所属分类:Data structs

    • 发布日期:2017-04-01
    • 文件大小:2231
    • 提供者:peterwong
  1. Chap4_BinaryTree

    0下载:
  2. 二叉树类代码。其中包括逻辑结构、存储结构和各种增删查找的功能。需要用的时候只需#include "BinaryTree.h"即可-Binary tree class code. Including logical structure, storage structure and function of a variety of additions and deletions are looking for. When needed just# include " BinaryTree.h
  3. 所属分类:Data structs

    • 发布日期:2017-04-04
    • 文件大小:33296
    • 提供者:朱迪
  1. reverse_hashing

    0下载:
  2. 定义hash函数H=x N,假设用线性搜索来解决collision。算法实现的是根据hash table来重建输入序列。-reconstruct the input sequence according to the given hash table. The hashing function :H(x)=x N,and using linear probing to solve collisions.
  3. 所属分类:Data structs

    • 发布日期:2017-04-06
    • 文件大小:113765
    • 提供者:郭函数
  1. 6

    0下载:
  2. 1.定义哈希表数据结构。 2.除留余数法做为哈希函数、 H(key) = key P 用线性探测再散列解决冲突方法,编写函数,实现哈希造表的过程,并输出哈希表。 3.编写函数,求查找成功时的平均查找长度(ASL)。-1. Define the hash table data structure. 2. In addition to leaving the remainder as the hash function method, H (key) = key P re-ha
  3. 所属分类:Data structs

    • 发布日期:2017-04-07
    • 文件大小:719
    • 提供者:finejade
  1. BubbleSort

    0下载:
  2. 利用C语言进行编写,实现了冒泡排序功能,课正常执行-Written using C language, implements the Bubble Sort function, normal execution class
  3. 所属分类:Data structs

    • 发布日期:2017-03-29
    • 文件大小:151842
    • 提供者:jassy
  1. AStar

    0下载:
  2. A*(A-Star)算法是一种静态路网中求解最短路最有效的方法。公式表示为: f(n)=g(n)+h(n),其中f(n) 是从初始点经由节点n到目标点的估价函数,g(n) 是在状态空间中从初始节点到n节点的实际代价,h(n)是从n到目标节点最佳路径的估计代价。 -A* (A-Star) is a static network algorithm for solving the shortest most effective way. Formula is expressed as: f (n)
  3. 所属分类:Data structs

    • 发布日期:2017-05-18
    • 文件大小:4839618
    • 提供者:王健
  1. 45

    0下载:
  2. N名学生的成绩已在主函数中放入一个带头节点的链表结构中,h指向链表的头节点。请编写函数fun,它的功能是:求出平均分,由函数值返回。 例如,若学生的成绩是:85,76,69,85,91,72,64,87,则平均分应当是:78.625. 注意:部分源程序在文件PROG1.C中。 请勿改动主函数main和其它函数中的任何内容,仅在函数fun的花括号中填入你编写的若干语句。 -N student achievement has been the main function into a
  3. 所属分类:Data structs

    • 发布日期:2017-04-11
    • 文件大小:1308
    • 提供者:储谢东
  1. yy6

    0下载:
  2. 1.定义哈希表数据结构。 2.除留余数法做为哈希函数、 H(key) = key P 用线性探测再散列解决冲突方法,编写函数,实现哈希造表的过程,并输出哈希表。 3.编写函数,求查找成功时的平均查找长度(ASL)。 -1. Define the hash table data structure. 2. In addition to leaving the remainder as the hash function method, H (key) = key P re-h
  3. 所属分类:Data structs

    • 发布日期:2017-04-06
    • 文件大小:157713
    • 提供者:武朝阳
  1. KMP

    0下载:
  2. KMP 改进的字符串匹配算法,由D.E.Knuth与V.R.Pratt和J.H.Morris同时发现,因此人们称它为克努特——莫里斯——普拉特操作(简称KMP算法)。KMP算法的关键是根据给定的模式串W1,m,定义一个next函数。next函数包含了模式串本身局部匹配的信息。-Improved KMP string matching algorithm, by DEKnuth with VRPratt and JHMorris also found, so people call it Knut
  3. 所属分类:Data structs

    • 发布日期:2017-03-27
    • 文件大小:553
    • 提供者:chaolan
  1. haxibiao

    0下载:
  2. //使用哈希函数:H(k)=3*k MOD length,并采用开放定址法处理冲突。试对输入的关键字序列构造哈希表,哈希表长度为length, //求等概率情况下查找成功的平均查找长度,并设计构造哈希表的完整的算法。 -//Use the hash function: H (k) = 3* k MOD length, and open addressing treatment conflicts. The test input keyword sequence constructed h
  3. 所属分类:Data structs

    • 发布日期:2017-03-27
    • 文件大小:4338
    • 提供者:高斌杰
« 12 »
搜珍网 www.dssz.com