Lecture 12

# Bgoal while absdiffb tolerance diffc 1 cmid

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ffered_load, estimated_trunk) if { b_test > b_goal } then b_low = b_test c_low = estimated_trunk while { b_test > b_goal } do estimated_trunk += 20 b_test = erlangb(offered_load, estimated_trunk) b_high = b_test c_high = estimated_trunk endwhile else b_high = b_test c_high = estimated_trunk while { b_test < b_goal } do estimated_trunk -= 20 b_test = erlangb(offered_load, estimated_trunk) b_low = b_test c_low = estimated_trunk endwhile endif diff_b = b_low - b_goal while { abs(diff_b) > tolerance && diff_c <> 1 } c_mid = (int) (( c_low + c_high )/2.0 ) b_test = erlangb(offered_load, c_mid) diff_b = b_test - b_goal diff_c = c_high - c_low if { diff_b > 0.0 } then c_low = c_mid b_low = b_test else c_high = c_mid b_high = b_test endif endwhile do if {diff_b < 0.0 } then no_trunks = c_mid else no_trunks = c_mid+1 endif CS 522, v 0.94, d.medhi, W’99 23 Jagerman [5] presents a much elegant method where the number of channels is assumed to take non-integral values. 18. M/G/1: single non...
View Full Document

## This document was uploaded on 03/19/2014 for the course CS 6030 at Western Michigan.

Ask a homework question - tutors are online