搜索资源列表
josephus.1
- 描述:设编号为1,2,…,n(n>0)个人按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出一个报数上限值m,从第一个人开始顺时针方向自1起顺序报数,报到m时停止报数,抱m的人出列,从他在顺时针方向上的下一个人起重新自1起顺序报数;如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,并给出出列人的编号序列。 .算法思想: Jeseph函数是实现问题要求的主要函数,其算法思想是:从1至m对带头结点的单循环链表循环计数,到m时,输出该结点的编号值,,再从
jifen124
- 龙格---库塔方法是求解微分方程比较常用的方法,在理解数学上是怎么一回事后,编制这个程是相当容易的,就是个迭代的过程.步长的选取也是很有讲究的,过小的步长反而会导致误差累积过大. 相关的理论请参考相关的数值算法的书籍,我这里只给出关键的函数及主程序段,其余相关的细节就不再一一罗列了.-Runge - Kutta method to solve the differential equation is more commonly used method, in understanding h
简易计算程序
- 一个简单的计算器程序,从键盘输入"3+5"这样的表达式,程序读入数据和运算符,调用Calculate函数,根据运算符进行+,-,*,/四则运算。要求能反复执行这一过程,直到用户输入#符号作为运算符
Functionofgeneticalgorithmoptimizationprocedure.ra
- 用遗传算法解一个函数优化问题的程序,目标函数和约束条件可以改动!-Genetic Algorithm for a function optimization problem with the objective function and constraints can be changed!
cSharpMath
- 用CSharp写的数学运算源码,内含大量数学计算的函数方法以及各种数学算法。-Written by CSharp mathematical source, including a large number of mathematical calculations function method and a variety of mathematical algorithms.
c
- 罚函数方法是求解约束(极小)优化问题的一类较好的算法。其基本思想:根据约束的特点构造某种惩罚函数,并把惩罚函数添加到目标函数上去,从而得到一个增广目标函数,使约束优化问题的求解转化为一系列无约束极小优化问题的求解。-Penalty function method for solving constrained (minimum) optimization problem of a class of better algorithms. The basic idea: In accordance
munituihuo
- 模拟退火算法解决TSP问题,用固体退火模拟组合优化问题,将内能E模拟为目标函数值f,温度T演化成控制参数t,即得到解组合优化问题的模拟退火算法:由初始解i和控制参数初值t开始,对当前解重复“产生新解→计算目标函数差→接受或舍弃”的迭代,并逐步衰减t值,算法终止时的当前解即为所得近似最优解-Simulated annealing algorithm to solve the TSP problem, combined with solid-annealing simulation optimiza
newton
- 带有图像演示的牛顿迭代求解高次函数解,算法为单独的一个类,用户通过主函数传递一个函数方程即可调用-Newton algorithm with graphic demostration
san-lie-biao
- 散列表实现个人信息 散列表---实现个人信息管理 一、 数据结构 个人信息:至少五个域 散列表:以姓名为关键字,平均查找长度不超过2.5,确定表大小,设计散列函数,冲突处理方法(建议采用拉链法)。 文件:个人信息以文件形式保存 二、 基本算法 插入个人信息 删除个人信息 按关键字查找个人信息 按非关键字查找个人信息 统计两种查找过程的平均查找长度 三、 功能要求 读文件数据建立散列表 保存散列表到文件 散列表遍历 修改个人信息
New-Revised-K-means
- New revised K-means聚类算法,为matlab函数,需要调用才能使用-New revised K-means clustering algorithm for matlab function, you need to call in order to use
MeanShift-segmentation
- 基于meanshift算法的图像分割,非opencv库函数,自己实现算法!-Based on the meanshift algorithm of image segmentation 。
xiaoboc
- 小波c语言描述了一维小波离散变化和卷积的C语言函数,是一种基本算法-Wavelet c language to describe the one-dimensional discrete wavelet changes and C language function convolution is a basic algorithm
hebingzifuchuan
- 输入两个已经按从小到大顺序排列好的字符串,编写一个合并两个字符串的函数,使合并后的字符串,仍然是从小到 大排列。 输入: 两个已经排好顺序(升序)的两个字符串 输出: 一个合并在一起的有序(升序)的字符串 要求: 设计一个效率尽量高的算法,对每个字符串只扫描一遍就可以了。 如果采用先进行串连接,然后再进行排序的算法,则效率太低了。 -Enter both have small to large order, good strings to
yuqun
- 求函数最大值,可用于一元和二元函数,采用鱼群算法计算-Maximum demand function can be used for unary and binary functions, using fish algorithm
l
- 这是一个基于c的车牌定位的算法,算法中调用一些matlab库函数。-This is a license plate location algorithm, based on the c algorithm in some matlab library function call.
chongzai1
- 这个是C++算法重载函数,重载的是加法和减法操作-This is C++ algorithm overloaded functions, overloading the addition and subtraction operations
111
- 基于SVM与人工神经网络的车牌识别算法,使用了OpenCV的图像处理函数,在VS2013 + OpenCV 2.4.9平台上实现-SVM algorithm based on license plate recognition and artificial neural network, using OpenCV image processing function, implemented on VS2013+ OpenCV 2.4.9 platform
examples
- 用于测试遗传算法算法效率的一系列算例,首先读入问题库和优化函数,然后利用算例的数据进行测试。-A series of examples for testing the efficiency of the algorithm genetic algorithm, first read the question bank and optimization functions, then use the data to test examples.
RegionGrow
- 区域生长算法函数,用于边缘提取,很好的效果-Region growing algorithm functions for edge detection, good results
平衡小车库函数版源码(互补滤波)
- 实现两轮自行衡小车的功能,滤波器使用的是互补滤波算法,可以很快实现小车的两轮平衡行走(The function of the two wheeled bicycle is realized. The filter uses the complementary filtering algorithm, which can quickly realize the two wheeled balance walking of the car.)