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)

netStateTextReport.m
% netStateTextReport
% 
%>> Usage: [textReport] = netStateTextReport (netState)
%
%>> 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: 
%   netState: is a structure containing the virtual topology design.
%
% o Out:
%  . textReport: Column Cell of Strings whichs the text report consists of
%  
%

function [textReport] = netStateTextReport (netState)

textReport={
    [' '],
    ['---------------------------------------------------------'],
    ['NET STATE'],
    ['---------------------------------------------------------'],
    ['Lightpath Table: '], 
    [num2str(netState.lightpathTable)],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Lightpath Routing Matrix: '], 
    [num2str(netState.lightpathRoutingMatrix)],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Flow Table: '], 
    [num2str(netState.flowTable)],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Flow Routing Matrix: '], 
    [num2str(netState.flowRoutingMatrix)],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Number of Available Transmitters Per Node: '],
    [num2str(netState.numberOfAvailableTxs')],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Number of Available Receivers Per Node: '],
    [num2str(netState.numberOfAvailableRxs')],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Number of Available Converters Per Node: '],
    [num2str(netState.numberOfAvailableTWCs')],
    ['##################################################'],     
    };

Contact us