BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / communications / #3415同步于 2007/1/22
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Communications机器人发帖

[求助]急求高人帮助小弟一把!万分感谢!

yuwenke
2007/1/22镜像同步0 回复
我这学期一道期末题,始终不会做.请高手解答!谢谢 题目如下! 下列算法被广泛用在局域网交换机产品中,描述该算法并解释之 B Mode := Cut_Through; C while <next frame not in error> do; Reset_Flag := True; E <restart sample period timer>; Total_Frame_Count := 0; Error_Frame_count := 0; While (timer not expired) do Begin <check next frame>; Total_Frame_Count := Total_Frame_Count + 1 If (error detected) then Error_Frame_Count := Error_Frame_Count+1 End; D Error := Error_Frame_Count/Total_Frame_count; Trend := Error –Error_last; Error_Las := Error; If (Error < Thresh_Lo) then goto C; If (Error > Thresh_Hi) then Begin Reset_Flag := True; Goto A End; If (Reset_flag = True or Trend < Trend_Hi) then Begin Reset_Flag :=False; Goto E End; A Mode := Store_and_Forward; F <restart sample period timer>; Total_Frame_Count := 0; Error_Frame_Count := 0; While (timer not expired) do Begin <check next frame>; Total_Frame_Count := Total_Frame_Count +1; If (error detected) then Begin <discard frame>; Error_Frame_Count := Error_Frame_Count +1; End Else <forward frame> End; G Error := Error_Frame_Count / Total_Frame_Count ; Trend := Error – Error_Last; Error_Last := Error; If (Error < Thresh_Lo) then goto B; If (Error > Thresh_Hi) then goto F; If (Error < Thresh_Lo) then goto B; Goto F;
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。