link_sim_no_conv.m

来自「Blocking CoThe aim of this toolbox is to」· M 代码 · 共 22 行

M
22
字号
function varargout=link_sim_no_conv(varargin)
%LINK_SIM_CONV Simulate blocking in wavelength routed tandem network.
%   [BLOCKING,USAGE]=LINK_SIM_CONV(C,L,LOAD,NB_GEN,METHOD) simulates
%   blocking in  tandem network, where C is the number of channels, L is
%   the number of links between source and destination, LOAD is the load in
%   Erlangs generated on every link, NB_GEN is the number of simulation
%   iterations and METHOD is type of wavelength assignment: 1 - First-Fit,
%   2 - Random [1]. 
%
%   BLOCKING is the vector of simulated results, where BLOCKING(i) is the
%   value of simulated blocking propability between first node and i node.
%   USAGE is the vector, which tells how many times had channel on
%   specified node been used. In other words USAGE{i}(j) tells how many
%   times had channel j on node i been used.
%
%   The bigger the NB_GEN the more accurate results will be. A good number
%   is i.e. 10000.
%
%   See also LINK_SIM_CONV.
%
%   References:
%       [1] Milan Kovacevi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?