搜索资源列表
AutomaticImageSegmentationAlgorithmThreshold
- 摘 要 该文提出了一种新的图像阈值分割算法。该算法通过求取最大模糊熵准则下,灰度均值直方图的最佳模糊划分 参数来确定两个模糊集 和 ,图像分割阈值即选取为两个模糊集的交点。该算法用 的模糊熵定义适应度函数, . / 01234 采用改进的遗传算法寻求最佳模糊参数。该文对遗传算法的改进包括,给出了缩短染色体码长的编码方法和性能良好的 改进的单点交叉算子和均匀变异算子。实验结果表明,该算法的分割效果与二维模糊熵算法接近,而计算时间还没有用 到二维模糊熵算法的一半。
A
- (a)编写程序完成如下功能:输入7个float类型的实数分别求最大值和最小值,并保留3位小数输出最大值和最小值。-(A) the preparation of procedures for the completion of the following functions: the importation of seven types of real float for maximum and minimum values, respectively, and three decimal pla
ga_work1
- 利用改进的遗传算法求取函数的最大值,进行优化设计,在MATLAB下可以运行使用。-Using improved genetic algorithm to strike a function of the maximum optimized design, the use of MATLAB can be run under.
BiTree
- 输入一个字符串,并建成一棵二叉树,满足左子树的字符都要小于根结点的字符,右字树的字符都要大于根结点的字符,每个结点值有字符和字符的出现次数,并用三种遍历方法打印,比较是否与自己想象的相一致。再求树的深度、叶子结点数、最大结点值。-Enter a string, and the completion of a binary tree, to meet the characters in the left subtree must be less than the root node of the
wxck
- 本文提出特征参数统计值的概念,即对连续的多段信 特征参数后,所求取的多组参数中各参数的最大值、最小值及二 以此作为输入参数,利用基于BP神经网络和决策理论的模式识 星统一载波测控体制中典型的调制方式进行了识别,包括2FSK )、4FSK、BPSK、QPSK、MSK、PM、CW-In this paper, the concept of characteristic parameters of statistics, that the letter of the continuou
qrqrqq
- 遗传算法求目标函数的最大值,同时对遗传算法进行了优化求解-Genetic algorithms to find the maximum value of the objective function, genetic algorithm optimization solution. . .
zuidazhi
- 题目:输入一个整形数组,数组里有正数也有负数。数组中连续的一个或多个整数组成一个子数组,每个 子数组都有一个和。求所有子数组的和的最大值。要求时间复杂度为O(n)。 -Title: Enter a plastic array, the array positive also negative. Continuous one or more integer array is composed of a sub-array, and each has a sub-array and. Fin
disanzhang
- 1.产生100个0.0~100.0的随机数,求其最小值、 最大值、平均值,并将数据在Graph中显示。 2.产生0.0~100.0的随机数序列,求其最小值、 最大值、平均值。并将随机数序列和平均值序列显 示在Chart波形图中,直到人为停止。 3.程序开始运行后,要求用户输入一个口令,口 令正确时,滑件显示件显示一个0~100的随机数, 否则程序立即停止。 4.编写一个程序测试自己在前面板输入一下字符 串所用的时间: A virtual instrument
Desktop
- 求一个输入数组的最大值,并返回其值。配合C的dsp实现-Seeking a maximum input array and returns its value. With C dsp implementation
yichaunsuanfa
- 代码保证尽可能少,实际上也不必查错。对一特定的应用修正此代码,用户只需改变常数的定义并且定义“评价函数”即可。注意代码的设计是求最大值,其中的目标函数只能取正值;且函数值和个体的适应值之间没有区别。该系统使用比率选择、精华模型、单点杂交和均匀变异。-Code to ensure that as little as possible, and in fact do not have to troubleshoot. This code of a specific application corre
test_java
- 1、 求一维数组的最大值和最小值 2、 用一维数组输出杨辉三角 3、 找出一个二维数组的鞍点 4、 找出两个字符串中所有共同的字符 5、 输出金额的中文大写形式 6、 实现一个复数类 7、 实现一个银行账户类 8、 编写程序实现判断及识别标识符的功能 9、 实现一个计算器 10、 编程实现一个用户登录窗口,其中用户名要求为10位的数字,且第一个数字不能为0. -1, find the one-dimensional array of maximum and
Address-method
- 采集了三组、每组四个数据,用行指针法和地址法编程实现:(1)实验数据输入和输出;(2)求每组数据的平均值并输出;(3)求每列数据的最大值并报告位置。-Collected three groups, each group of four data, using row pointer and address programming: (1) experimental data input and output (2) the average value for each group of dat
MAX
- 用函数实现排序找最大值求方差.用C语言编写的-Achieve the sort function to find the maximum value with the variance. Using C language
GA-Elitst
- 基于精英策略的简单遗传算法代码.这是一个非常简单的遗传算法源代码,是由Denis Cormier (North Carolina State University)开发的,Sita S.Raghavan (University of North Carolina at Charlotte)修正。代码保证尽可能少,实际上也不必查错。对一特定的应用修正此代码,用户只需改变常数的定义并且定义“评价函数”即可。注意代码 的设计是求最大值,其中的目标函数只能取正值;且函数值和个体的适应值之间没有区别。该系
d_rule-(2)
- 贪心练习题,对输入的m、n值,构造相应的初始集合P,对P每应用一次d规则,就累加其相应的分值,求能得到最大累加分值的d规则序列,输出最后所得的最大分值。-Greedy Exercises
visual_c
- 在主函数中将一文件中的20个分数导入,利用子函数实现: A、排序 B、找最大值和最小值 C、求平均值 D、求不及格的个数 - In a file in the main function of 20 scores imported by Functions achieve: A, Sort
GAODI
- 求两个班各个同学的平均成绩,并计算最大最小值-Two classes averaged scores of individual students, and calculate the maximum and minimum
1
- flirly 精通数学,经常研究数学问题。对于质数这种问题更是无敌。 对于N个不同的质数P1,P2.....Pn,用这些质数作为项(允许重复),任意组成一个数列,使这个数列的任一连续项的乘积不是完全平方数。 求出这种数列的项数的最大值,flirly想知道这个值的大小,由于结果可能很大,只需要输出对一个给定正整数m取模后的结果即可。你知道这个 结果吗? -Standard input will contain multiple data sets. Each data set c
decomposition
- 设n为一自然数,n可以分解成若干个不同的自然数的和,编写程序,求各种分解方法中各加数乘积的最大值。-Set n is a natural number, n can be decomposed into several different natural Numbers, and write programs, and various kinds of decomposition method of the maximum value of the product of the addend.
最大数
- 求数组中的最大值,并将其输出到控制台,这是一种简单而有效的方法(It is a simple and effective way to find the maximum of the array and output it to the console.)
