xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

資源簡介

鏈路調(diào)度matlab程序(適合初學(xué)者)鏈路調(diào)度matlab程序(適合初學(xué)者)

資源截圖

代碼片段和文件信息

%to?update?the?imlicit?cost?of?each?link
%s?is?the?stepsize?for?updating?the?implicit?cost
function?q=costupdate(Tcountn)
%n?is?user_numand?T?is?the?timeslotcount?is?the?cycle?times
global?routing
global?cost
global?rate
global?schedule_set
global?user
global?link
global?stepsize
global?capacity

for?i=1:1:length(link)
????m=0;
????for?j=1:1:n
????????user(j)=poisson(jcountT);
???????m=m+routing(ji)*user(j)*rate(j)/capacity(i)*T;
????end
???????if?schedule_set(i)==1
????????m=m-T;
???????end
????????q(i)=cost(i)+stepsize*m;
????????if?q(i)<0
????????????q(i)=0;
????????end
end
???

評(píng)論

共有 條評(píng)論