一、问题的提出: 某厂根据计划安排,拟将n台相同的设备分配给m个车间,各车间获得这种设备后,可以为国家提供盈利Ci j(i台设备提供给j号车间将得到的利润,1≤i≤n,1≤j≤m) 。问如何分配,才使国家得到最大的盈利L 二.算法的基本思想: 利用动态规划算法的思想,设将i台设备分配给j-1个车间,可以为国家得到最大利润Li (j-1)(1≤i≤n,1≤j≤m),那么将这i台设备分配给j个车间,第j个车间只能被分配到0~i台,所以我们只要算出当第j个车间分配到t(0<=t<=i)台时提供的最大利润Lt(j-1)+C(i-t)j,
标签:
上传时间: 2016-09-19
上传用户:希酱大魔王
采用3D Bresenham算法在两点间划一直线 % This program is ported to MATLAB from: % B.Pendleton. line3d - 3D Bresenham s (a 3D line drawing algorithm) % ftp://ftp.isc.org/pub/usenet/comp.sources.unix/volume26/line3d, 1992 % % Which is referenced by: % Fischer, J., A. del Rio (2004). A Fast Method for Applying Rigid % Transformations to Volume Data, WSCG2004 Conference. % http://wscg.zcu.cz/wscg2004/Papers_2004_Short/M19.pdf
标签: Bresenham Pendleton program MATLAB
上传时间: 2013-12-10
上传用户:sz_hjbf
利用easyARM7 2103与OCM4X8中文液晶实现画线,图形化时钟功能。 接线口:P0.5-CS,P0.6-STD,P0.7-SCLK 方式为串行
上传时间: 2016-10-05
上传用户:klin3139
Aspect-Oriented Software Developement Coverage includes Using AOSD to streamline complex systems development without sacrificing flexibility or scalability How AOSD builds on the object-oriented paradigmand how it s different State-of-the-art best practices for the AOSD development process Languages and foundations: separating concerns, filter technologies, improving modularity, integrating new features, and more Using key AOSD tools, including AspectJ, Hyper/J, JMangler, and Java Aspect Components Engineering aspect-oriented systems: UML, concern modeling and elaboration, dependency management, and aspect composition Developing more secure applications with AOSD techniques Applying aspect-oriented programming to database systems Building dynamic aspect-oriented infrastructure
标签: Aspect-Oriented Developement streamline Software
上传时间: 2013-12-01
上传用户:jennyzai
一个C++写的KdTree容器模板库,支持std容器,和自定义的存储方式,对插入、删除和查找作了优化
上传时间: 2014-01-03
上传用户:x4587
Visual C++提供了一个支持可视化编程的集成开发环境:Visual Studio(又名Developer Studio)。Developer Studio是一个通用的应用程序集成开发环境,它不仅支持Visual C++,还支持Visual Basic,Visual J++,Visual InterDev等Microsoft系列开发工具。Developer Studio包含了一个文本编辑器、资源编辑器、工程编译工具、一个增量连接器、源代码浏览器、集成调试工具,以及一套联机文档。使用Developer Studio,可以完成创建、调试、修改应用程序等的各种操作。
标签: Studio Developer Visual 集成开发环境
上传时间: 2016-10-16
上传用户:shizhanincc
采用NLJ随机搜索的方法辨识一个以状态方法表示的非线性系统。选其初值 a1(0) =50 , a2(0) =100 , a3(0) =100 , a4(0) =50 , a5(0) =10 , 选范围为 r(1)(i)=0.5 a(0)(i) , 取数据长度 L =40, t =0.005 , 性能指标 J= 。迭代计算结果得 a 的估计值 1=17.6043243, 1=17.5977, 2=72.9573, 3=51.3014, 4=22.9889, 5=5.99965, J = 0.000000916 。
上传时间: 2013-12-20
上传用户:weiwolkt
统计字符数组中字母,数字,符号的出现个数 char[] c = { 2 , c , $ , 4 , 7 , Z , j , ~ , p , c }
上传时间: 2016-10-21
上传用户:moshushi0009
本教程举例说明了如何使用 ADO 编程模型对数据源进行查询及更新。教程首先讲述了完成此项任务的必要步骤,然后分别通过 Microsoft Visual Basic、以 VC++ Extensions 为特征的 Microsoft Visual C++、Microsoft Visual Basic、Scripting Edition 和以 ADO for Windows Foundation Classes (ADO/WFC) 为特征的 Microsoft Visual J++ 进行更为具体的说明。
上传时间: 2016-10-22
上传用户:xymbian
基于VB的遗传算法软件实现 在程序中,FitnessValue (i) 为适应度值数组、avFit2nessValue (100) 为归一化适应度值数组、Population2 Chrom(i ,j) 为遗传个体的等位基因值、Popsize 为种群中的个体数,CHROMLENGTH为一母体对的等位基因 总数。
标签: avFit2nessValue FitnessValue Population2 Chrom
上传时间: 2014-01-09
上传用户:1966640071