machallocphase.m
来自「這一個排程的程式」· M 代码 · 共 20 行
M
20 行
%(c) by Jing Feng Deng (jiing) at 2002
function ExjobStageProcTime =machAllocPhase()
global jobStageProcTime
jobStageProcTime=[ 6 3 1 3 5
3 2 1 3 2
4 5 6 3 4 ]
global numOfMachAtStage
%numOfMachAtStage=[2 1 2];
global numOfMPS
disp('======== The Machine Allocation Phase Begins ========')
ExjobStageProcTime=zeros(sum(numOfMachAtStage),size(jobStageProcTime,2));
dealedJobs=0;
%LPS heuristic rule is appied
for ixStage=1:length(numOfMachAtStage) %
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?