搜索资源列表
circlecutting
- 集装箱的装箱问题 给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装箱的空间利用率最高? 本程序要求用贪心算法解决: 贪心算法总是作出在当前看来是最好的选择。也就是说,不从整体最优上加以考虑,它所做出的仅是在某种意义上的局部最优解。 -problem given a container, its long-L, width W and H for high, the existing bat
myknapsack
- a) 0-1背包问题采用的是动态规划法,该算法思想简介如下: 有些问题常常没有办法把它们分成较小数目的子问题,在这种情况下,可以试着把问题分成必要多的子问题,每个子问题又可以分成数目不确定的必要多的子子问题,这样就会产生大量的子问题。如果分得的子问题界限不清,互相交叉,则在大量的子问题中会存在一些完全相同的子问题,因而在解这类问题时,将可能重复多次解同一个子问题。这种重复当然是不必要的,避免的方法可以在解决一个子问题后把它的解(包括其子子问题的解)保留下来,若遇到求解与之相同的子问题的时候,
search_GA
- 这是利用遗传算法搜索函数最优解的程序,采用C++编写。-This is the use of genetic algorithm search function optimal solution procedures C prepared.
Hanoi
- 经典问题汉诺塔的递归解法(C++版),欢迎大家下载!-classic problem HANOR recursive solution (C version), all are welcome to download!
1005acm
- Problem Set is the place where you can find large amount of problems from different programming contests. Online Judge System allows you to test your solution for every problem.-Problem Set is the place where you can find large amount of problems fro
1006acm
- Problem Set is the place where you can find large amount of problems from different programming contests. Online Judge System allows you to test your solution for every problem.-Problem Set is the place where you can find large amount of problems fro
用邻接矩阵解决四色问题
- C语言写的,用邻接矩阵解决四色问题,输入国家的个数和相邻情况,输出每个国家的颜色代号。-Adjacency matrix solution with four-color problem, enter the number and neighboring countries the situation, the output color codes for each country.
NCoinsProblem
- n枚硬币问题,采用分治法中的三分算法,很好的解决了n个硬币的问题-n coins problem, using divide and conquer algorithm in the third, a good solution to the problem of n coins
Rose-matrix
- 玫瑰矩阵(螺旋阵) Microsoft Visual Studio Solution File, Format Version 11.00 # Visual Studio 2010 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "玫瑰矩阵(螺旋阵)", "玫瑰矩阵(螺旋阵)\玫瑰矩阵(螺旋阵).vcxproj", "{3C22BB42-1396-4191-9240-913C08A246ED}" EndProject-Mic
2009620150022
- 解多元线性回归方程组,工业控制算法.可移植到MFC程序中.-Solution of multiple linear regression equations, industrial control algorithm. Can be transplanted to MFC program.
GAyh
- 基于遗传算法的求函数最优解,人工智能,实验,遗传算法-Based on genetic algorithm for function of the optimal solution, artificial intelligence, experimental, genetic algorithm
TwoSolutionOfHoureTour
- 马周游问题的两种解法 对于小规模的作回溯,大规模的进行A算法-Two horses travel problem solution for the small-scale retrospective, the conduct of large-scale algorithm A
Gomory
- 求解整数规划的问题可以解决一般的整数规划模型的解而且效率比较高!在matlab下调试通过-Solving integer programming problems can be solved in the general solution of integer programming model and more efficient! Adopted under the debugger in matlab
arPtrs
- Learn visual c++ 6.0 now! solution source code for arPtrs (arrays and pointers).
solution
- program for the black jack solution
stone
- 使用典型的动态规划的思想解石子问题,不过没有添加注释-The use of a typical dynamic programming solution of pebbles thinking problems, but did not add a comment
tan
- 这是一个用经典遗传算法求解函数最优解(在一定的范围里)的程序,包括了遗传算法的经典步骤。-This is a classical genetic algorithm function, the optimal solution (in a certain range of years) of procedures, including the classic genetic algorithm steps.
hannoi
- n阶汉诺塔解法,控制台输入n,结果以文件输出-n-order Tower of Hanoi solution, the console input n, results in the output file
backpack
- 对背包问题进行的求解,能够处理体积相同,但是不同物品的问题-The solution on the knapsack problem that can handle the same volume, but the problem of different items
Solution
- solution obtained c++ code for pmedcap