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)

plainText_netStateReport.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] = plainText_netStateReport (netState)

textReport={
    [' '],
    ['---------------------------------------------------------'],
    ['NET STATE'],
    ['---------------------------------------------------------'],
    ['Lightpath Table (serialNumber,ingress,egress): '], 
    ['---------------------------------------------------------'],
    [num2str(netState.lightpathTable)],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Lightpath Routing Matrix: '], 
    ['---------------------------------------------------------'],
    [num2str(netState.lightpathRoutingMatrix)],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Flow Table (serialNumber,ingress,egress,rate,setupTime,duration): '], 
    ['---------------------------------------------------------'],
    [num2str(netState.flowTable)],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Flow Routing Matrix: '], 
    ['---------------------------------------------------------'],
    [num2str(netState.flowRoutingMatrix)],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Number of Occupied Transmitters Per Node: '],
    ['---------------------------------------------------------'],
    [num2str(netState.numberOfOccupiedTxs')],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Number of Occupied Receivers Per Node: '],
    ['---------------------------------------------------------'],
    [num2str(netState.numberOfOccupiedRxs')],
    ['---------------------------------------------------------'],
    ['---------------------------------------------------------'],
    ['Number of Occupied Converters Per Node: '],
    ['---------------------------------------------------------'],
    [num2str(netState.numberOfOccupiedTWCs')],
    ['##################################################'],     
    };

Contact us