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)

GUILightpathFlowPopupMenu.m
%Popup Menu of lightpaths
set(handles.popupmenu4,'Enable','on');

lightpathMatrixString=cell(size(netState.lightpathTable,1)+1,1);
lightpathMatrixString(1)={['Lightpaths']};
for i=2:size(netState.lightpathTable,1)+1,
    lightpathMatrixString(i)={['lightpath ', num2str(netState.lightpathTable(i-1,1)), ...
        ':  [', num2str(netState.lightpathTable(i-1,2)), '-->', num2str(netState.lightpathTable(i-1,3)),']' ]};
end
set(handles.popupmenu4,'String', lightpathMatrixString);


%Popup Menu of flows
set(handles.popupmenu5,'Enable','on');

flowsMatrixString=cell(size(netState.flowTable,1)+1,1);
flowsMatrixString(1)={['Flows']};
for i=2:size(netState.flowTable,1)+1,
    flowsMatrixString(i)={['flow ', num2str(netState.flowTable(i-1,1)), ...
        ':  [', num2str(netState.flowTable(i-1,2)), '-->', num2str(netState.flowTable(i-1,3)),']' ]};
end
set(handles.popupmenu5,'String', flowsMatrixString);

Contact us