Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add of grid modifications.
[mapping.git] / src / and / Mapping / Algo.java
index 5761b67..e85d04f 100644 (file)
@@ -74,6 +74,26 @@ public abstract class Algo implements Serializable
        {
                return mp ;
        }       
+       
+       
+       /**
+        * Return the grid used in the algorithm.
+        * @return The Grid
+        */
+       public Grid getGrid()
+       {
+               return gl ;
+       }
+       
+       
+       /**
+        * Return the graph used in the algorithm.
+        * @return The Graph
+        */
+       public Graph getGraph()
+       {
+               return gr ;
+       }
 }
 
 /** La programmation est un art, respectons ceux qui la pratiquent !! **/