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)

GUIResultsInformation.m
%Updating edits from Results Information
set(handles.edit9,'String',num2str(simTime));
set(handles.edit14,'String',num2str(dynStatistics.carriedFlows+dynStatistics.lostFlows));
set(handles.edit15,'String',num2str(dynStatistics.carriedFlows));
set(handles.edit16,'String',num2str(dynStatistics.lostFlows));

if(simulationState==2)
    type='Arrival';
    if(eventType==1)
        type='Termination';
    end
    
    if(isempty(flowProperties.pairIngressEgress)==0)
        pair=[flowProperties.pairIngressEgress(1) 0 flowProperties.pairIngressEgress(2)];
        pair(2)=NaN;
        pair=int2str(pair);
        pair(find(pair=='N'))='>';
        pair(find(pair=='a'))='-';

        set(handles.edit19,'String',pair);
    
    end
    
    set(handles.edit24,'String',num2str(type));
    
    if(isempty(flowProperties.flowSerialNumber)==0)
        set(handles.edit18,'String',num2str(flowProperties.flowSerialNumber ));
    end
    
    if(isempty(flowProperties.flowAverageRate)==0)
        set(handles.edit20,'String',num2str(flowProperties.flowAverageRate));
    end
     
    if(isempty(flowProperties.flowPriority)==0)
        set(handles.edit22,'String',num2str(flowProperties.flowPriority));
    end
    
    if(isempty(flowProperties.flowDuration)==0)
        set(handles.edit21,'String',num2str(flowProperties.flowDuration));
    end
    
end

Contact us