Commits

David Lin committed c4df655

Remove Debug Msg in ShortestPath

Comments (0)

Files changed (2)

     e.setTime(2);
     sp.addEdge(e);
     
-    Package pak = new NormalPackage(10);
+    Package pak = new Meat(10);
     Location from = locations.get("A"), to = locations.get("F");
     List<Edge> result = sp.compute(from, to, pak);
     

src/ShortestPath.java

         v = e.getFrom();
       }
     }catch(NullPointerException e){
-      e.printStackTrace();
+      //e.printStackTrace();
       return new LinkedList<Edge>();
     }