Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correction of bugs and new functionalities.
[mapping.git] / src / and / Mapping / Simple.java
index e320082..8bf957a 100644 (file)
@@ -112,6 +112,9 @@ public class Simple extends Algo
                } else {
                        System.err.println( "\n\n!!! Unable to map application !\n\n" ) ;
                }
+               
+               /** Update in cluster the status of nodes **/
+               updateGrid() ;
        }
 
 
@@ -119,12 +122,17 @@ public class Simple extends Algo
        public GNode replaceNode(GNode replaced, ArrayList<GNode> _ag ) 
        {
                // TODO
+               
+               /** Update in cluster the status of nodes **/
+               updateGrid() ;
+               
+               
                return null ;
        }
 
 
        @Override
-       public GNode getOtherGNode() {
+       public GNode getOtherGNode( ArrayList<GNode> _ag ) {
                // TODO Auto-generated method stub
                return null;
        }