Professional Documents
Culture Documents
1
1
1
i_nn); } if(flag==21) network.calculateCapforWP(1); if(flag==22) { distMat.setDistMat(); network.calculateCapforWP(2); } if(flag==23){ network.calculateCapforWP2(3);} if(flag==24){ releaseCapacityILP();} if(flag==25){ Vector allPCycles=releasedCapHopCountLtd(19); System.out.println("The hopcount limit is ");} if(flag==26){ releaseCapacityMDCPC();} if(flag==4) { capMat.printCap(); capMat.resetCapMat(); } if(flag==5) { releaseCapacityILP(); } if(flag==9) distMat.printDistanceMat(); if(flag==10){capMat.printConnMat();}
if(flag==7) { ComputedPCycles computedPCyclesMA1=computePCycle(); computedPCyclesMA1.getNetNoPCycleandCap(flag); a.addElement(new Integer (0)); a.addElement(new Integer (1)); network.calculateCapforPP(flag); capMat.setCritLinks(a); capMat.printCritLinks(); ComputedPCycles computedPCyclesMACS=computePCycleCrtLn(a ); ComputedPCycles computedPCyclesMARC=computePCycle(); //RC=Remaining capacity computedPCyclesMACS.addtoComputedPCycles(computedPCyclesMARC ); computedPCyclesMACS.getNetNoPCycleandCap(flag); }