Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Separate the javadoc directory of the project sources.
[mapping.git] / src / and / Mapping / DefaultMapping.java
index 1b21ea6..2f096b8 100644 (file)
@@ -85,6 +85,8 @@ public class DefaultMapping extends Algo
                        if( _ag.size() > 0 )
                        {
                                ret = _ag.get( 0 ) ;
+                               
+                               
                        } else {
                                System.err.println( "Not enought available nodes in gnodes to replace one !" ) ;
                                return null ;
@@ -101,6 +103,7 @@ public class DefaultMapping extends Algo
        @Override
        public GNode getOtherGNode( ArrayList<GNode> _ag ) 
        {
+               /** Returning the first node in the list **/
                if( _ag.size() > 0 )
                {
                        return _ag.get( 1 ) ;