该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
//System.out.println("linkCostMap" + "" + linkCostMap);
//System.out.println("nodes" + "" + currentNetPlan.getNodes());
//System.out.println("alllinks" + "" + alllinks);
//System.out.println("k" + "" + k.getInt());
//System.out.println("IngressNode" + demand.getIngressNode() + "EgressNode" + demand.getEgressNode());
//System.out.println("availableModulationFormats" + availableModulationFormats);
//System.out.println("k" + "" + k.getInt());
listoflinksofpaths = GraphUtils.getKLooplessShortestPaths(currentNetPlan.getNodes(), alllinks, demand.getIngressNode(), demand.getEgressNode(), linkCostMap, k.getInt(), Double.MAX_VALUE, Integer.MAX_VALUE , Double.MAX_VALUE, Double.MAX_VALUE, Double.MAX_VALUE, Double.MAX_VALUE);
//System.out.println("listoflinksofpaths" + "" + listoflinksofpaths);
调用前后所有的输出信息都输出了,下面是调用的函数
public static List> getKLooplessShortestPaths(List nodes , List links, Node originNode , Node destinationNode , Map linkCostMap , int K , double maxLengthInKm, int maxNumHops, double maxPropDelayInMs , double maxRouteCost , double maxRouteCostFactorRespectToShortestPath , double maxRouteCostRespectToShortestPath)
具体的没有写,但是为了测试,我在调用函数内加了一条输出信息,System.out.println("this part has been executed");
但是在输出结果中也没有该信息输出。
那么调用的函数是不是没有被执行,为什么呢?