菜单
  

    4. If x > 1 and y > 1, Px,y:= max{Px,y-1,P x-1,y’ ,P x-1,y-1 +Wx,y}

    (1) is the basic case: If we only consider the first crane and the first job, we will assign this job to the crane if the job can be done by the crane. (2) and (3) are both special cases, i.e., when there is only one node in each part of the bipartite graph. As these are symmetrical, we need consider only (2). For crane c1and job jy, we have two choices: either, assign jyto c1, or, assign a job from {j1, . . . , jy−1}to c1. This is because at most one job can be assigned to this first crane. The throughput for the first choice is W1,y while the throughput for the second choice is P1,y−1 , which represents the maximum throughput if we assign a job among j1, j2, . . . , jy-1 to crane c1. To achieve the cumulative optimal, we choose the larger of these. (4) is the general case in the DP algorithm. For cxand job jy(x > 1, y > 1), we have three choices:

    Leave job jy unassigned . We are reduced to assigning cranes c1, c2, . . . , cx  to jobs j1, j2, . . . , jy-1. By induction, the optimal value is then Px,y-1;

    Leave crane cx unassigned . We are reduced to assigning cranes  c1, c2, . . . , cx-1 to jobs j1, j2, . . . , jy. By induction, the optimal value is then Px-1,y;

    Assign crane cxto job jy(or, leave both unassigned if they are not assignable to each other). In this case, the total throughput is the throughput from this assignment plus the throughput from assigning cranes c1, c2, . . . , cx-1 to jobs j1, j2, . . . , jy-1. Hence, the value is Px-1,y-1+Wx,y.

    Taking the maximum of these throughput values, the optimal solution is then the final partial optimal solution Pm,n obtained.

    3.2.2  A Proof of Optimal Substructure

    We provide an outline a proof that the problem defined in this section possesses optimal substructures necessary in using DP. An important property for Px,yis: Px,y≥Px’,y’,if x ≥ x’and y ≥ y’(*), which is easily verified since Px,y≥ Px,y-1 and Px,y≥ Px-1,y. We can now verify the four cases given above by induction:

    1. If x = 1 and y = 1, clearly P1,y = Wx,1 is the only solution and must be optimal

    2. If (x, y)∈R’x,y, then Px,y’≤Pak-1,bk-1+Wx,y. By (*), we know Px-1,y−1 ≥Pak-1,b-1 since x − 1 ≥ ak-1, y-1 ≥ bk-1. So Px,y’≤ Px-1,y-1+Wx,y. Because Px,y≥Px-1,y-1+ Wx,y, we get Px,y≥ Px,y’ , which contradicts our assumption Px,y’> Px,y. Hence, Px,y  is the optimal solution.

    We can conclude that Px,y  is the optimal solution for all (x, y), 1 ≤ x ≤ m, 1 ≤ y ≤ n,

    3.3  The Time Complexity of the Algorithm

    The computation for every partial solution Px,y  is in constant time, so the time complexity for this algorithm is O(mn).

    4  Scheduling with the Neighborhood Constraint

    4.1  The Problem

    In this problem, both the Non-crossing constraint and the Neighborhood constraint are considered. In addition to the Non-crossing constraint, we use the set S= {s1, s2, . . . , sm} to represent the Neighborhood constraint associated with the cranes. Here sx= k if crane cxperforms job jyand job jz(a ≤ z ≤ b, z= y) cannot be worked on by any other crane, where a = max{1, y − k}and b = min{y + k, m}. In other words, if crane cxperforms job jy, the job “interval” centered at y with length 2k + 1 is affected by crane cxwhen sx= k.

    We seek a solution set R = {(p, q)|1 ≤ p ≤ m, 1 ≤ q ≤ n, Wp,q> 0} satisfying:

    1. For all (p1, q1), (p2, q2) ∈ R, p1< p2if and only if q1< q2(Non-crossing constraint)

  1. 上一篇:残余应力状态的影响刀具寿命英文文献和中文翻译
  2. 下一篇:噪音工程齿轮模型英文文献和中文翻译
  1. 绿色建筑与室内空气质量英文献和中文翻译

  2. 内河运输船舶碰撞与搁浅...

  3. 产业集群与城市化英文文献和中文翻译

  4. 轴承的摩擦与润滑英文文献和中文翻译

  5. 承载力的立足点在斜坡带...

  6. 国际工程项目组织与管理英文文献和参考文献

  7. 计算机语言性能与分析英文文献和中文翻译

  8. 大众媒体对公共政策制定的影响

  9. 中考体育项目与体育教学合理结合的研究

  10. 酸性水汽提装置总汽提塔设计+CAD图纸

  11. 河岸冲刷和泥沙淤积的监测国内外研究现状

  12. 电站锅炉暖风器设计任务书

  13. 当代大学生慈善意识研究+文献综述

  14. 乳业同业并购式全产业链...

  15. 十二层带中心支撑钢结构...

  16. java+mysql车辆管理系统的设计+源代码

  17. 杂拟谷盗体内共生菌沃尔...

  

About

751论文网手机版...

主页:http://www.751com.cn

关闭返回