No BSD License  

Highlights from
MatPlanWDM v0.5

image thumbnail

MatPlanWDM v0.5

by

 

29 Jan 2007 (Updated )

Educational network planning tool for the RWA problem in WDM networks (MILP and heuristic based)

dynResultsTextReport.m
% designResultsTextReport
% 
%>> Usage: [textReport] = dynResultsTextReport (dynStatistics)
%
%>> Abstract: This function writes a results text report of a virtual
%   topology design (or lightpath network planning) process for a given
%   traffic demand matrix, a given physical topology and a given planning
%   algorithm.
%
%>> Arguments:
% o  In: 
%   dynStatistics: is a structure containing the temporal average of the 
%    statistics calculated. 
%
% o Out:
%  . textReport: Column Cell of Strings whichs the text report consists of
%  
%

function [textReport] = dynResultsTextReport (dynStatistics)

textReport={
    [' '],
    ['---------------------------------------------------------'],
    ['RESULTS'],
    ['---------------------------------------------------------'],
    ['Carried Flows: ', num2str(dynStatistics.carriedFlows)],
    ['Lost Flows: ', num2str(dynStatistics.lostFlows)],
    ['Blocking Probability: ', num2str(dynStatistics.blockingProbability)],
    ['Percent of Blocked Traffic: ', num2str(dynStatistics.percentOfBlockedTraffic)],
    ['Average Used Transmitters Per Node: ',num2str(dynStatistics.NrUsedTransmittersPerNode)],
    ['Average Used Receivers Per Node: ',num2str(dynStatistics.NrUsedReceiversPerNode)],
    ['Average Used Wavelengths Per Fiber Link: ',num2str(dynStatistics.NrUsedWavelengthsPerFiber)],
    ['Average Used Physical Hops a Lightpath: ',num2str(dynStatistics.NrUsedPhysHops)],
    ['Average Link Traffic: ',num2str(dynStatistics.linkTraffic)],
    ['Average Total offered traffic to the network: ',num2str(dynStatistics.offeredTraffic)],
    ['Average Total carried traffic by the physical links: ',num2str(dynStatistics.carriedPhysTraffic)],
    ['Average Total carried traffic by the lightpaths: ',num2str(dynStatistics.carriedVirtTraffic)],
    ['Average Number of Physical Hops in the network: ',num2str(dynStatistics.averPhysicalHops)],
    ['Average Number of Virtual Hops in the network: ',num2str(dynStatistics.averVirtualHops)],
    ['Average Single Hop Traffic: ',num2str(dynStatistics.singleHopTraffic)],
    ['Average Network Congestion: ',num2str(dynStatistics.networkCongestion)],
    ['Average Total Number of Used Wavelength Channels in the Network: ',num2str(dynStatistics.totalNrOfUsedWavelengths)],
    ['Average Maximum Link Load in terms of Number of Used Wavelength Channels in any Fiber Link: ',num2str(dynStatistics.maximumLinkLoadinNrLightpaths)],
    ['Average Message Propagation Delay: ',num2str(dynStatistics.messagePropagationDelay)],
    ['Average Used Converters: ',num2str(dynStatistics.totalNrOfUsedConverters)],
    ['Average Used Converters Per Node: ',num2str(dynStatistics.NrUsedConvertersPerNode)],
    ['Average Used Converters Per Lightpath: ',num2str(dynStatistics.averNrUsedConverPerLP)],
    ['Maximum Used Transmitters Per Node: ',num2str(dynStatistics.maxNrUsedTransmittersPerNode)],
    ['Minimum Used Transmitters Per Node: ',num2str(dynStatistics.minNrUsedTransmittersPerNode)],
    ['Maximum Used Receivers Per Node: ',num2str(dynStatistics.maxNrUsedReceiversPerNode)],
    ['Minimum Used Receivers Per Node: ',num2str(dynStatistics.minNrUsedReceiversPerNode)],
    ['Maximum Used Wavelengths Per Fiber Link: ',num2str(dynStatistics.maxNrUsedWavelengthsPerFiber)],
    ['Minimum Used Wavelengths Per Fiber Link: ',num2str(dynStatistics.minNrUsedWavelengthsPerFiber)],
    ['Maximum Average Used Physical Hops a Lightpath: ',num2str(dynStatistics.maxAverNrUsedPhysHops)],
    ['Minimum Average Used Physical Hops a Lightpath: ',num2str(dynStatistics.minAverNrUsedPhysHops)],
    ['Maximum Link Traffic: ',num2str(dynStatistics.maxlinkTraffic)],
    ['Minimum Link Traffic: ',num2str(dynStatistics.minlinkTraffic)],
    ['Maximum Total offered traffic to the network: ',num2str(dynStatistics.maxofferedTraffic)],
    ['Minimum Total offered traffic to the network: ',num2str(dynStatistics.minofferedTraffic)],
    ['Maximum Total carried traffic by the physical links: ',num2str(dynStatistics.maxcarriedPhysTraffic)],
    ['Minimum Total carried traffic by the physical links: ',num2str(dynStatistics.mincarriedPhysTraffic)],
    ['Maximum Total carried traffic by the lightpaths: ',num2str(dynStatistics.maxcarriedVirtTraffic)],
    ['Minimum Total carried traffic by the lightpaths: ',num2str(dynStatistics.mincarriedVirtTraffic)],
    ['Maximum Average Number of Physical Hops in the network: ',num2str(dynStatistics.maxaverPhysicalHops)],
    ['Minimum Average Number of Physical Hops in the network: ',num2str(dynStatistics.minaverPhysicalHops)],
    ['Maximum Average Number of Virtual Hops in the network: ',num2str(dynStatistics.maxaverVirtualHops)],
    ['Minimum Average Number of Virtual Hops in the network: ',num2str(dynStatistics.minaverVirtualHops)],
    ['Maximum Single Hop Traffic: ',num2str(dynStatistics.maxsingleHopTraffic)],
    ['Minimum Single Hop Traffic: ',num2str(dynStatistics.minsingleHopTraffic)],
    ['Maximum Network Congestion: ',num2str(dynStatistics.maxnetworkCongestion)],
    ['Minimum Network Congestion: ',num2str(dynStatistics.minnetworkCongestion)],
    ['Maximum Total Number of Used Wavelength Channels in the Network: ',num2str(dynStatistics.maxtotalNrOfUsedWavelengths)],
    ['Minimum Total Number of Used Wavelength Channels in the Network: ',num2str(dynStatistics.mintotalNrOfUsedWavelengths)],
    ['Maximum Maximum Link Load in terms of Number of Used Wavelength Channels in any Fiber Link: ',num2str(dynStatistics.maxmaximumLinkLoadinNrLightpaths)],
    ['Minimum Maximum Link Load in terms of Number of Used Wavelength Channels in any Fiber Link: ',num2str(dynStatistics.minmaximumLinkLoadinNrLightpaths)],
    ['Maximum Message Propagation Delay: ',num2str(dynStatistics.maxmessagePropagationDelay)],
    ['Minimum Message Propagation Delay: ',num2str(dynStatistics.minmessagePropagationDelay)],
    ['Maximum Used Converters: ',num2str(dynStatistics.maxtotalNrOfUsedConverters)],
    ['Minimum Used Converters: ',num2str(dynStatistics.mintotalNrOfUsedConverters)],
    ['Maximum Used Converters Per Node: ',num2str(dynStatistics.maxNrUsedConvertersPerNode)],
    ['Minimum Used Converters Per Node: ',num2str(dynStatistics.minNrUsedConvertersPerNode)],   
    ['Elapsed Time: ',num2str(dynStatistics.elapsedTime)],
    ['##################################################'],     
    };

Contact us