A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
mapping.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add of grid modifications.
[mapping.git]
/
src
/
and
/
Mapping
/
Algo.java
diff --git
a/src/and/Mapping/Algo.java
b/src/and/Mapping/Algo.java
index
5761b67
..
e85d04f
100644
(file)
--- a/
src/and/Mapping/Algo.java
+++ b/
src/and/Mapping/Algo.java
@@
-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 !! **/