-
ForK1
我们的目的是将一个分数拆分成若干个分子是1分母是正整数的分数之和的形式。例如2/3可以拆分成1/2+1/6的形式。这里不考虑顺序,比如1/6+1/2和1/2+1/6相同。
输入p, q, a, n, 其中p/q为分数,对这个分数进行拆分,要求拆分的分数个数不能多于n个,所有分母的乘积不能大于a。求有多少种拆分方法?
输入:最多200组数据。在每行中都有四个数分别表示p, q, a, n,之间以空格隔开,并且满足p,q<=800,a<=12000,n<=7,最后以四个0做为输入的结束。
输入示例:
2 3 120 3
2 3 300 3
0 0 0 0
输出示例:
4
7
(Our aim is to split a fraction into a number of elements is a denominator is a positive integer fraction of the sum of form. For example, 2/3 can be split into 1/2+1/6 form. Not considered here, the order, such as 1/6+1/2 and 1/2+1/6 of the same. Input p, q, a, n, where p/q as a fraction of this split scores require no more than the number of split points n-all the product of the denominator can not be larger than a. How many kinds of demand split method? Input: Up to 200 sets of data. In each line has four numbers indicate the p, q, a, n, separated by a space between, and meet the p, q < = 800, a < = 12000, n < = 7, the end, four 0 as the input end. Input Example: 2,312,032,330,030,000 sample output: 47)
- 2009-11-12 09:54:17下载
- 积分:1
-
SGALABbugfix
多目标遗传算法程序
to run Demo files, is to run SGALAB_demo_*.m
what s new:
1) Multiple-Objective GAs
VEGA
NSGA
NPGA
MOGA
2) More TSP mutation and Crossover methods
PMX
OX
CX
EAX
Boolmatrix
3) More selection methods
Truncation
tornament
stochastic
4) mutation methods
binary single point
int/real single point
5) encoding/decoding methods
binary
integer/real
messy
gray
DNA
permuation
to fix the plot bugs for 4001 , download this file and replace old files.
(Multi-objective genetic algorithm program to run Demo files, is to run SGALAB_demo_*. m what s new: 1) Multiple-Objective GAsVEGANSGANPGAMOGA2) More TSP mutation and Crossover methodsPMXOXCX EAXBoolmatrix3) More selection methodsTruncationtornamentstochastic4) mutation methodsbinary single pointint/real single point5) encoding/decoding methodsbinaryinteger/realmessygrayDNA permuationto fix the plot bugs for 4001, download this file and replace old files.)
- 2008-06-06 15:16:52下载
- 积分:1
-
GA_TSP
这是基于遗传算法的matlab编写的TSP问题程序,希望有所帮助。(This is based on genetic algorithm matlab program written TSP problem, hope help.)
- 2011-07-20 16:51:08下载
- 积分:1
-
fft_1
matlab实现快速傅里叶变换的原始程序,有助于理解蝶形运算(matlab realize the fast Fourier transform of the original program, help to understand the butterfly operation)
- 2013-01-21 20:54:42下载
- 积分:1
-
MATLAB-power-system-modeling--
用MATLAB对电力系统进行仿真。里面有全套的仿真模型。(Using MATLAB for power system simulation. There are a full range of simulation models.)
- 2013-11-22 17:14:36下载
- 积分:1
-
MATLAB
matlab的一些常见算法的小合集
大概有几十个(Some common algorithms matlab small collection of about dozens of)
- 2010-05-28 16:57:07下载
- 积分:1
-
gaot
传统遗传算法、改进遗传算法、在神经网络建模中应用(Traditional genetic algorithm, improved genetic algorithms, neural network modeling applications)
- 2014-02-19 15:19:08下载
- 积分:1
-
MATLABcode-2660
《MATLAB程序设计教程》源代码 ,很全,光盘拷贝的,希望对各位有帮助啊 ()
- 2007-08-25 13:25:00下载
- 积分:1
-
capcity
这些程序是可以用来进行信道估计的,个人觉得对于那些刚刚研究MIMO 的人是很有帮助的(These procedures can be used for channel estimation, the individual feels for those who just study is very helpful MIMO)
- 2010-11-23 15:48:55下载
- 积分:1
-
压缩感知 CSImaging
压缩感知目前广泛应用于雷达成像或得超分辨稀疏成像,该文件为压缩感知三维成像。(Compressed sensing has been widely applied in radar imaging or sparse super resolution imaging, the file is compressed perception three-dimensional imaging.
)
- 2021-03-16 16:19:22下载
- 积分:1