In short the idea is to merge phisical bundles into one secondary bundle that may already have offered traffic (Poisson distribution). Program calculates all necessary parameters for secondary bundle.
functions:
silnia() - calculates factorial of given integer value.
suma() - calculates summ of given integer to the power of 2 divided by factorial of iterating variable.
Erlang() - returns calculated error propability for given arguments.
Secondary_Bundle::find_parameters() - calculates parameters for secondary bundle.
Secondary_Bundle::find_V() - finds the nearest capacity that secondary bundle should have.
Secondary_Bundle::calc_D() - calculates dissemination coefficient for given arguments.
Secondary_Bundle::calc_R() - calculates drifting traffic coefficient from primary bundles based on given arguments.
Secondary_Bundle::disp_parameters() - displays secondary bundle already calculated parameters.
classes:
Primary_Bundle - phisical bundles
Secondary_Bundle - merged phisical bundles
Variables:
A - bitrate
V - capacity
D - dissemination coefficient
R - drifting (flowing down) traffic coefficient
R_sum, D_sum - temporary variables
A_sec - offered trafic (bitrate) for secondary bundle
s - primary bundles pointer table
sec_b - secondary bundle pointer