Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Changing connection ports and names for logs.
[jaceP2P.git] / src / jaceP2P / JaceSpawner.java
index 69eb8a3..7c64bed 100644 (file)
@@ -20,8 +20,8 @@ public class JaceSpawner {
        private Task tache = null;
        public static JaceSpawner Instance;
        private static String superNode_IP = null;
-       private int superNode_port = 1099;
-       private static int spawnerPort = 1099;
+       private int superNode_port = 1098;
+       private static int spawnerPort = 1098;
        protected static JaceSuperNodeInterface centralServer = null;
        private JaceSpawnerInterface spawnerRef = null;
        private int nbTasks;
@@ -792,7 +792,7 @@ public class JaceSpawner {
                                System.out.println("nb of spawners desconnections: " + nbsdc);
                                
                                // ** Tests ** //
-                               String path = "/home/lyon/smiquee/resultats/execTime_CG_"+algo+"_"+test ;
+                               String path = "/home/lyon/smiquee/resultats/execTime_"+algo+"_"+test ;
                                PrintWriter ecrivain = null ;
                                ecrivain = new PrintWriter( new OutputStreamWriter( new FileOutputStream( path ), "UTF8" ) ) ;
 
@@ -1090,11 +1090,11 @@ public class JaceSpawner {
                        System.out.println( "### DH = " + dh ) ;
                        
                        Utils.writeGraph( al.getGraph(), "/home/lyon/smiquee/resultats/", 
-                                       "graph_CG_"+algo+"_"+test+".xml" ) ;
+                                       "graph_"+algo+"_"+test+".xml" ) ;
                        Utils.writeGrid( al.getGrid(), "/home/lyon/smiquee/resultats/", 
-                                       "grid_CG_"+algo+"_"+test+".xml") ;
+                                       "grid_"+algo+"_"+test+".xml") ;
                        Utils.writeMapping( al.getMapping(), "/home/lyon/smiquee/resultats/",
-                                       "mapping_CG_"+algo+"_"+test+".xml" ) ;
+                                       "mapping_"+algo+"_"+test+".xml" ) ;
                } catch (RemoteException e1) {
                        System.err.println( "Problème avec Algo dans Spawner !" ) ;
                        e1.printStackTrace();