polishing up mlp version of benchmark
[IRC.git] / Robust / src / Benchmarks / mlp / directto / mlp-java / Message.java
index d2958c07d2f5d35eb192dcde07996ce3c6c48039..9d98f6fbd26569bbc3a394bcdb183b2a02d6c564 100755 (executable)
@@ -22,39 +22,39 @@ public class Message {
   }
 
   public void executeMessage() {
-    //System.out.println("Executing message of type "+type);
+    System.out.println("Executing message of type "+type);
 
     //static messages
     if (type.compareTo("SET_MAP_SIZE")==0) {
-      //System.out.println("Setting the map size...");
+      System.out.println("Setting the map size...");
       d2.getStatic().setMapSize(parameters);
     }
     else if (type.compareTo("SET_ITERATION_STEP")==0) {
-      //System.out.println("Setting the iteration step...");
+      System.out.println("Setting the iteration step...");
       d2.getStatic().setIterationStep(parameters);             
     }
     else if (type.compareTo("SET_NO_OF_ITERATIONS")==0) {
-      //System.out.println("Setting the no. of iterations...");
+      System.out.println("Setting the no. of iterations...");
       d2.getStatic().setNumberOfIterations(parameters);                
     }
     else if (type.compareTo("SET_CYLINDER")==0) {
-      //System.out.println("Setting the cylinder of safety/unsafety...");
+      System.out.println("Setting the cylinder of safety/unsafety...");
       d2.getStatic().setCylinder(parameters);          
     }
     else if (type.compareTo("ADD_FIX")==0) {
-      //System.out.println("Adding a new fix...");
+      System.out.println("Adding a new fix...");
       d2.getFixList().addFix(parameters);
     }
     else if (type.compareTo("REMOVE_FIX")==0) {
-      //System.out.println("Removing a fix...");
+      System.out.println("Removing a fix...");
       d2.getFixList().removeFix(parameters);
     }
     else if (type.compareTo("ADD_AIRCRAFT")==0) {
-      //System.out.println("Adding an aircraft...");
+      System.out.println("Adding an aircraft...");
       d2.getAircraftList().addAircraft(parameters);
     }
     else if (type.compareTo("REMOVE_AIRCRAFT")==0) {
-      //System.out.println("Removing an aircraft...");
+      System.out.println("Removing an aircraft...");
       d2.getAircraftList().removeAircraft(parameters);
     }
 
@@ -63,23 +63,23 @@ public class Message {
       d2.getAlgorithm().setInitialTime(time);
 
     if (type.compareTo("ADD_FLIGHT_PLAN")==0) {
-      //System.out.println("Adding flight plan...");
+      System.out.println("Adding flight plan...");
       d2.getFlightList().addFlightPlan(time,parameters);               
     }
     else if (type.compareTo("REMOVE_FLIGHT_PLAN")==0) {
-      //System.out.println("Removing flight plan...");
+      System.out.println("Removing flight plan...");
       d2.getFlightList().removeFlightPlan(time,parameters);            
     }
     else if (type.compareTo("AMEND_FLIGHT_INFO")==0) {
-      //System.out.println("Amending flight info...");
+      System.out.println("Amending flight info...");
       d2.getFlightList().amendFlightInfo(time,parameters);
     }              
     else if (type.compareTo("AMEND_FLIGHT_PLAN")==0) {
-      //System.out.println("Amending flight plan...");
+      System.out.println("Amending flight plan...");
       d2.getFlightList().amendFlightPlan(time,parameters);            
     }
     else if (type.compareTo("SENDING_AIRCRAFT")==0) {
-      //System.out.println("Sending aircraft data...");
+      System.out.println("Sending aircraft data...");
       d2.getFlightList().sendingAircraft(time,parameters);
     }
   }